Top "Android-linearlayout" questions

LinearLayout is one of the basic layouts in Android.

Adding LinearLayout programmatically in Android doesn't work

The hierarchy is like this: RelativeLayout LinearLayout (vertical) FrameLayout (weight 5) ImageView View (weight 1) The View is just a dummy view …

android android-layout android-linearlayout
How can I show ellipses on my TextView if it is greater than the 1 line?

I have the following Layout which does not work: <LinearLayout android:orientation="horizontal" android:layout_width="match_parent" android:…

java android android-linearlayout textview
LinearLayout vs RelativeLayout

What are the advantages of RelativeLayout over LinearLayout in android ? For a particular design which one would you prefer and …

android android-layout android-linearlayout android-relativelayout
Transparent LinearLayout on Android

I have the folowing layout: I want to make transparent the transparent_layout but i can't do it. Already tried …

android android-linearlayout transparent
Software keyboard resizes background image on Android

Whenever the software keyboard appears, it resizes the background image. Refer to the screenshot below: As you can see, the …

android view android-linearlayout
Getting child elements from LinearLayout

Is there a way to obtain a child element of a LinearLayout? My code returns a view (linearlayout), but I …

java android android-linearlayout
Add only top and bottom border on LinearLayout

I would like to add only a bottom and a top border on my Linearlayout. I have tried to do …

android android-linearlayout android-shape
How to center a textview inside a linearlayout

I have the following layout i'd like to make the textview appear in the center and middle of the view. …

android view android-linearlayout
onClick not triggered on LinearLayout with child

I've got a custom LinearLayout with a smaller TextView child. I'd like to be able to click the area not …

android onclick android-linearlayout
Remove all items inside linearlayout

I create a linearlayout that refes to an xml item. Inside this linearlayout i put some textview dynamically, so without …

android android-linearlayout