Top "Android-linearlayout" questions

LinearLayout is one of the basic layouts in Android.

onInterceptTouchEvent, onTouchEvent only see ACTION_DOWN

I have a top level ViewGroup, which I call SliderView, in which I want to detect swiping. This is mostly …

android scrollview android-linearlayout touch-event motionevent
Adjust GridView to all Screen Sizes

Im trying to implement a GridView as part of a image gallery. I followed the following example from the Android …

android android-layout android-linearlayout android-gridview screen-size
Effect of setting parent view visiblity on its children

This question arises from having to show/hide different views dynamicly. View's have 3 visibility settings - visible, invisible, and gone. …

android android-layout android-linearlayout android-view
How to set view weights?

I'm trying to get the views inside a LinearLayout to fill the width. I have tried setting it by using …

android android-linearlayout android-layout-weight
How to draw triangle shape and add it into relative or linear layout android

I am developing small android application in which I m using my custom linear layout class. In that class i …

android android-linearlayout ondraw
Android LinearLayout fill-the-middle

I have a vertical, set height (300px) LinearLayout (LL) with 3 nested LLs. 1 and 3rd are set with android:layout_height="…

android android-linearlayout
Custom Widget using LinearLayout not getting onDraw()

I'm creating a custom widget by extending LinearLayout: public class MyWidget extends LinearLayout { private static Paint PAINT = new Paint(Paint.…

android android-widget android-linearlayout ondraw
android: gravity center_horizontal linearlayot doesn't work

my code <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:…

android android-linearlayout layout-gravity
Android ScrollView gets cut off at the bottom

I am trying to programmatically add form fields picked from an HTML file to a LinearLayout. I have a next …

android android-fragments android-linearlayout android-scrollview
Android: can't remove vertical gap between images in LinearLayout

I have a simple LinearLayout in Android with two images vertically: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:…

android imageview android-linearlayout