android-linearlayout
On Android how do I display a background image through a elements on the window, including a ListView?
I have android 2.1 project with a ListView in a LinearLayout.The LinearLayout has a background set to an image:[详细]
2023-03-20 00:51 分类:问答ScrollView hides bottom Linear Layout
I have开发者_如何学C the following XML layout in my android application, using ScrollView: <?xml version=\"1.0\" encoding=\"utf-8\"?>[详细]
2023-03-19 09:13 分类:问答Linear Layout for a calculator app
I am having a problem on the last row of my linear layout. I want the 0 to be the same size as all the other numbers, and then the other 4 buttons in that row to be like below (this is using Absolute[详细]
2023-03-19 08:01 分类:问答How to return the index of child in Layout?
I have the following situation - HorizontalScrollView (HSV), inside HSV - LinearLayout and inside it number of buttons - the code is here:[详细]
2023-03-18 00:33 分类:问答LinearLayout layout_weight
I have a ListView that is populated with rows. These rows come from an XML file that looks like: <?xml version=\"1.0\" encoding=\"utf-8\"?>[详细]
2023-03-17 23:51 分类:问答How to refresh the linear layout programmatically
My application has one LinearLayout that LinearLayout consists of the 3 Linearlayouts and that each linear l开发者_Python百科ayout has one Relativelayout and one linear layout(initially the visibility[详细]
2023-03-17 21:56 分类:问答Force a relative size for a button?
I have two buttons in a relative layout, both have android:layout_weight=\"50\". So as long as no button\'s text is greater than half the screen weight, both buttons have the same size. But when one b[详细]
2023-03-16 19:58 分类:问答Custom Views only showing up once
I\'ve made a very simple customView, a gray re开发者_开发知识库ctangle with an arbitrary amount of red markings inside the rectangle marked by percentages.[详细]
2023-03-16 15:53 分类:问答Layout Help, Disappearing LinearLayouts
I\'m trying to design a simple layout with 2 buttons in a horizontal linear layout centered at the bottom of the page (so layout_gravity=\"bottom\").And I also need a vertical linear layout that\'s ce[详细]
2023-03-16 03:35 分类:问答layout_weight to give one item exactly as much space as it needs, and all remaining to the other item
I\'m trying to render an EditText password field followed by a Checkbox whose text is \"show?\". Both are in a horizontally-oriented LinearLayout.[详细]
2023-03-15 15:20 分类:问答