Top "Android-linearlayout" questions

LinearLayout is one of the basic layouts in Android.

Linear Layout and weight in Android

I always read about this funny weight value in the Android documentations. Now I want to try it for the …

android android-linearlayout android-layout-weight
Put buttons at bottom of screen with LinearLayout?

I have the following code, how do I make it so that the 3 buttons are at the bottom? <TextView …

android xml android-layout button android-linearlayout
How do you make a LinearLayout scrollable?

I have lot of items on the screen and I need to use the scrollbar so the user can scroll …

android android-linearlayout
How to add a TextView to LinearLayout in Android

I am trying to add TextViews to my xml-defined layout in code. I have a xml-sheet, where a lot of …

java android xml textview android-linearlayout
Android LinearLayout : Add border with shadow around a LinearLayout

I would like to create the same border of this LinearLayout as the example : In this example, we can see …

android border android-linearlayout
Android: How to Programmatically set the size of a Layout

As part of an Android App I am building a button set. The buttons are part of a nested set …

android layout resize android-linearlayout
Android LinearLayout Gradient Background

I am having trouble applying a gradient background to a LinearLayout. This should be relatively simple from what I have …

android android-layout android-linearlayout gradient
Fit Image in ImageButton in Android

I have 6 ImageButton in my activity, I set images through my code in them ( not using xml). I want them …

android image android-linearlayout scale imagebutton
What are the differences between LinearLayout, RelativeLayout, and AbsoluteLayout?

I am confused about the difference between LinearLayout, RelativeLayout, and AbsoluteLayout. Could someone please tell me the exact differences between …

android android-layout android-linearlayout android-relativelayout android-framelayout
is it possible to evenly distribute buttons across the width of an android linearlayout

I have a linear layout (oriented horizontally) that contains 3 buttons. I want the 3 buttons to have a fixed width and …

android android-linearlayout