In Android by setting a layout_weight for the Views inside the LinearLayout, the parent layout divides the available space between its children according to their weights.
I always read about this funny weight value in the Android documentations. Now I want to try it for the …
android android-linearlayout android-layout-weightI'm trying to dynamically create TableRow objects and add them to a TableLayout. The TableRow objects has 2 items, a TextView …
android layout textview android-layout-weightHow can I set the value for the attribute layout_weight for button in android dynamically from java code ?
android android-layout android-layout-weightI want to know: What is android:weightSum and layout weight, and how do they work?
android android-layout android-layout-weightI just implemented a ListView inside a LinearLayout, but I need to define the height of the LinearLayout (it has …
android android-layout size android-linearlayout android-layout-weightI have used this code to display 2 list view one on top of the other. <LinearLayout xmlns:android="http://…
android listview android-layout-weightI want to add three linear layouts to an activity programatically each of same width. the problem is i am …
android android-linearlayout android-layout-weightI'm trying to divide my layout to 3 equal rows, trying to use LinearLayout and weights, but it doesn't work, it …
android android-linearlayout android-layout-weightI'm trying to implement a 40/60 percent split in my TableLayout but I'm having no luck. When testing the code on …
android android-layout android-tablelayout tablerow android-layout-weightI'm trying to build a GirdLayout programmatically with 2 columns and I want these columns to have equal width set at …
android android-gridlayout android-layout-weight