Top "Android-linearlayout" questions

LinearLayout is one of the basic layouts in Android.

How to add a fragment to a programmatically generated layout?

I have the following code working which generates fragments, but only if I am adding them to a linear layout …

android android-fragments android-linearlayout
How to add border around linear layout except at the bottom?

How to add border around linear layout except at the bottom ? LinearLayout needs to have border at left, top and …

android android-linearlayout
Get all child views inside LinearLayout at once

I have a LinearLayout, which contains several child TextViews. How can I get child views of that LinerLayout using a …

android android-linearlayout
How to split the screen with two equal LinearLayouts?

Wanna to split a screen for my app with two LinearLayouts. What parameters should I use to make exact splitting …

android android-linearlayout
Layout orientation in code

I have this code in my application: LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(WRAP_CONTENT, WRAP_CONTENT); and I just …

android orientation android-linearlayout
How to make a linearLayout partially transparent in android?

I have a RelativeLayout containing 2 LinearLayouts one of them is partially covering the other. I want to make the part …

android android-linearlayout
how to set onClick method with linearLayout?

I am creating an application and posted a question yesterday how to start activity by click any where on row. …

android android-linearlayout
Change linear layout top margin programmatically android

i have two linear layouts in one frame layout. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" …

android android-layout android-linearlayout
Creating LinearLayout Programmatically/Dynamically with Multiple Views

I have a hierarchy that is like this: LinearLayout(horizontal) ImageView LinearLayout(vertical) TextView TextView TextView TextView I want to …

java android android-layout android-linearlayout