Android Layout problems - displaying xml on screen?

I tried with your code and I found the error in logcat is java.lang. RuntimeException: Binary XML file line #2: You must supply a layout_width attribute. I think the mistake is this..Try once it may solve your problem.

You must give layout widh and height attributes to the table layout.

Replace R.layout. Main with R.layout. In setContentView.

If you inspect the value of all in the debugger it should be null because findViewById() looks in the current content view for a view with that id, and your current content view is R.layout.main. If you need to build a view in your Activity from an xml resource use a LayoutInflater to build a view from a layout resource.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions