xml code:
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->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"
/>
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: text = "@ string / selectDate" />
android: layout_height = "wrap_content"
android: orientation = "horizontal">android: layout_height = "wrap_content"
android: text = "@ string / count" />android: layout_width = "150dp"
android: layout_height = "wrap_content"
android: inputType = "number"
/>
android: layout_height = "wrap_content"
android: orientation = "horizontal">android: layout_height = "wrap_content"
android: text = "@ string / incometype" />android: layout_width = "150dp"
android: layout_height = "wrap_content"
/>
android: layout_height = "wrap_content"
android: orientation = "horizontal"
android: gravity = "center_vertical">android: layout_height = "wrap_content"
android: text = "@ string / type" />android: layout_height = "wrap_content"
android: orientation = "horizontal">android: id = "@ + id / rdbIncomeCash"
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: text = "@ string / cash" />android: id = "@ + id / rdbIncomeCard"
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: text = "@ string / card" />
android: layout_height = "wrap_content"
android: orientation = "horizontal"
android: gravity = "center_vertical">android: layout_height = "wrap_content"
android: text = "@ string / comment" />android: layout_height = "wrap_content"
android: inputType = "text" />
android: layout_height = "wrap_content"
android: orientation = "horizontal"
android: gravity = "center"
>
android: id = "@ + id / btnIncomeOk"
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: text = "@ string / ok" />
android: id = "@ + id / btnIncomeCancel"
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: text = "@ string / cancel" />
<-! Expenditures page ->android: layout_height = "fill_parent"> android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: text = "expenditure" />
<-! Statistics page ->android: layout_height = "fill_parent"> android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: text = "statistics" />
<-! Settings page ->android: layout_height = "fill_parent"> android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: text = "Settings" />
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]
Reply:
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:
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