Top "Android-linearlayout" questions

LinearLayout is one of the basic layouts in Android.

Android Linear Layout Weight Programmatically

I want to add three linear layouts to an activity programatically each of same width. the problem is i am …

android android-linearlayout android-layout-weight
why android:layout_gravity="right" not working here in android xml

my xml code for list view's row is <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.…

android android-layout android-linearlayout gravity layout-gravity
selected item on custom listview with contextual action bar

I recently started using android actionbars and contextual action bars (CAB). I have just one activity which is a ListActivity. …

android android-layout android-listview android-linearlayout
Android empty Linear layout contents

H have multiple TextViews inside an LinearLayout. Now I want to delete this text view in java. The views are …

android android-linearlayout
Android Toolbar moves up when keyboard appears

I'm creating a chat based UI screen where I have toolbar and recyclerview for chat messages, and reply msg layout. …

android android-linearlayout android-toolbar android-recyclerview android-appcompat
First view above / overlapping second in LinearLayout

Is it possible to show the first view in a LinearLayout overlapping the second? I would like to layout my …

android android-linearlayout overlap view-hierarchy
How to set a different theme to a Layout

I've set a default theme for the whole app. It's defined in styles.xml as follows: <style name="DefaultTheme" …

android user-interface styles themes android-linearlayout
Animation of height of LinearLayout container with ValueAnimator

I have a LinearLayout that I use as a container for some buttons and textview's that I would like to …

android animation android-linearlayout
how to align an element to right in horizontal LinearLayout?

I have a LinearLayout that contains a lot of TextViews and ImageButtons, I want to align some of these elements …

android android-layout android-linearlayout android-orientation layout-gravity
How to make whole activity scrollable according to the data inside it

I have tried LinearLayout inside which I put several textview. I completely use weights for each and every view. Problem …

android android-layout android-linearlayout android-tablelayout vertical-scrolling