android-linearlayout
Why TextView is missing?
I\'am setting the text to TextView and EditText programmatically. but those widgets are not visible. If i take android:layout_marginTop=\"100dp\" for Textview, then i\'am able to see those widgets. Wh[详细]
2023-04-02 14:42 分类:问答Difficulty with ScrollView and LinearLayout
I\'m trying to make an Android layout: 3 components inside a vertical LinearLayout.The center component is a ScrollView that contains a TextView.When the TextView contains a significant amount of text[详细]
2023-04-02 12:19 分类:问答Dynamically create and remove Linear Layouts and List Views
So here\'s the deal. My app\'s layout is set up with a View Flipper. The View Flipper contains seve开发者_开发技巧n Linear Layout children (views). Each Linear layout then contains a List View. Each[详细]
2023-04-02 10:14 分类:问答How do adjust the background property of top layout
I have a linearLayout as the main layout in my android x开发者_如何学运维ml file. The background is set to \"@drawable/window_background_red\". Inside the activity (at run time) I want to set this to[详细]
2023-04-01 22:44 分类:问答Creating LinearLayout in Java - Elements are not shown
I am trying to create a LinearLayout with TextViews in Java, because the number of elements is dynamically specified so using XML won\'t work out for me.[详细]
2023-04-01 12:01 分类:问答How to get rid of space between Views in LinearLayout
I have a HorizontalScrollView which contains a horizontal LinearLayout. Now I am adding equally big ImageViews to the LinearLayout so that i can scroll between the ImageViews. The ImageViews should la[详细]
2023-03-31 12:55 分类:问答Using a nested LinearLayout
SOLVED: The layout_height parameter was set to Match_parent in the buttonbar definition. Changed to wrap_content.[详细]
2023-03-31 10:55 分类:问答Android gallery of LinearLayouts
I\'m using Gallery widget to create gallery of LinearLayouts, each of them containing a button. The problem is that while scrolling or clicking LinearLayout that button gets \"pressed\" state. How do[详细]
2023-03-31 06:07 分类:问答At what point are all Viewgroup children created and ready to set some initial properties?
I am working on a custom ViewGroup that extends LinearLayout but only accepts children of a particular subclass. At the first possible moment I have the opportunity, I want to set some properties on t[详细]
2023-03-31 01:02 分类:问答LinearLayout with nested RelativeLayout, order problem
I\'ve got a problem with 2 dynamically created Layouts, the outer one being a LinearLayout which contains a relativeLayout and a Button (just for testing, will me more buttons soon).[详细]
2023-03-30 22:35 分类:问答