Saturday, March 8, 2014

New to android, trouble and see why this layout will complain!


xml code:
 
xmlns: tools = "http://schemas.android.com/tools"
android: layout_width = "match_parent"
android: layout_height = "match_parent"
android: paddingBottom = "@ dimen / activity_vertical_margin"
android: paddingLeft = "@ dimen / activity_horizontal_margin"
android: paddingRight = "@ dimen / activity_horizontal_margin"
android: paddingTop = "@ dimen / activity_vertical_margin"
tools: context = ". MainActivity">
android: layout_width = "wrap_content"
android: layout_height = "wrap_content">
android: orientation = "vertical"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent">
android: layout_width = "fill_parent"
android: layout_height = "wrap_content">

android: id = "@ android: id / tabcontent"
android: layout_width = "wrap_content"
android: layout_height = "wrap_content">
<-! Fetched page ->
android: layout_height = "fill_parent"
android: orientation = "vertical">
android: layout_height = "wrap_content"
android: orientation = "horizontal">
android: layout_width = "wrap_content"
android: layout_height = "wrap_content" />
android: layout_height = "wrap_content"
android: id = "@ + id / txtIncomeTime"
android: inputType = "number"
/>
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Your check is not demin or string is not defined. Other nothing wrong.
Reply:
How good you are given an error message? So long
Reply:
[Img = http://img.bbs.csdn.net/upload/201310/16/1381890340_113038.jpg]
[/ Img]
reference to the second floor Lvmodel reply:
error message gives you much good? So long

Reply:
reference to the second floor Lvmodel reply:
error message gives you much good? So long

Exception raised during rendering: Could not create tab content because could not find view with id -1, that is probably useless tab right, but I checked a long time did not find ah
Reply:
cited a floor tantahe reply:
your check is not demin or string is not defined. Other nothing wrong.

Is not the way
Reply:
I tried to run ah
Reply:
Turn off the simulator, restart under

Reply:
Do not need to be replaced tabhost outermost relativelayout
Reply:
The landlord, tried to beat out your code does not have a problem, try to reopen the program to turn off the tool.
Reply:
Layout errors will eclipse the current row has prompted it, then find the code carefully examined under near

No comments:

Post a Comment