Top "Android-linearlayout" questions

LinearLayout is one of the basic layouts in Android.

Android ScrollView fillViewport not working

I have a simple layout with a name on the top, and a button which I want to be at …

android android-layout android-linearlayout android-scrollview android-relativelayout
Scale background image to wrap content of layout

I have a layout that contains some text fields and has a background image that's displayed at the top of …

android background android-linearlayout android-relativelayout android-framelayout
layout_gravity in LinearLayout

This is my layout: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/LinearLayout1" android:…

android android-layout android-linearlayout layout-gravity
Setting a maximum width on a ViewGroup

How do I set the maximum width of a ViewGroup? I am using a Theme.Dialog activity, however, this does …

android view width android-linearlayout
How to add bottom view to a Coordinator Layout with view pager?

I want to add a bottom view to a Coordinator layout with view pager in it , Bottom View will be …

android android-layout android-linearlayout android-coordinatorlayout
LinearLayout dividers are not showing

I am working on an android project and I have a LinearLayout which contains 2 horizontal buttons using borderless button style. …

android android-linearlayout
Android: how to make it no space between 2 button in a horizontal linearlayout

I just found I cannot remove the space between 2 buttons even if I set the layout_marginRight and layout_marginLeft …

android button android-linearlayout space
Android: How to measure total height of ListView

I need to measure total height of the ListView but it seems I'm constantly getting wrong values. I'm using this …

android listview android-listview height android-linearlayout
How to disable/enable all children on LinearLayout in Android

Is there way by programming that all the children of a certain layout? For example i have this layout with …

java android android-layout android-linearlayout
Android Fragment does not respect match_parent as height

Sorry for the huge code dump, but I'm truly lost. MyActivity.java onCreate: super.onCreate(savedInstanceState); setContentView(R.layout.activity_…

android center android-linearlayout fragment android-framelayout