Top "Android-linearlayout" questions

LinearLayout is one of the basic layouts in Android.

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 …

android get indexing android-linearlayout
layout_gravity not working in horizontal linear layout

I have been trying to use layout_gravity in a horizontal linear layout. But it doesn't seem to work. I …

android android-linearlayout
How to get an Android widget's size after layout is calculated?

I have a layout which specifies sizes of widgets in relative dimension, for example: <LinearLayout ... layout_height="fill_parent"&…

android layout handler android-linearlayout postdelayed
LinearLayout put child at the right side

I m trying to have a textview and a button in linear layout with horizontal orientation. The textview should appear …

android layout android-linearlayout android-relativelayout layout-gravity
How can I position a layout right above the android on-screen keyboard?

See the attached photo. Twitter does it well. They have a layout, which I will call a toolbar for lack …

java android keyboard android-linearlayout
Why do I get white space on top and on the bottom of my ImageView in my RelativeLayout?

I am using a relativelayout to overlay to images. On all screen sizes so far that I have tested (from 2.7 …

android android-linearlayout android-relativelayout
How to make zoomable scrollview?

In my android application I need to create activities zoom able. I found useful code for zooming linear layout here . …

android android-layout android-activity android-linearlayout android-scrollview
How to set both gravity and layout gravity of a LinearLayout programatically

I am risking writing a duplicate question, but as I was researching the answer to another SO question, I realized …

android android-linearlayout gravity layout-gravity
android - overdraw layout allows touch through LinearLayout

in the following UI I have this below drabable overlaying the entire screen. The LinearLayout is transparent and allows controls …

android controls touch overlay android-linearlayout
How to set Width and Height of FrameLayout dynamically android?

I am trying to set the width and height of 2 frame layouts which are the containers for 2 fragments, both being …

android android-fragments android-linearlayout classcastexception android-framelayout