A layout defines the visual structure for a user interface, such as the UI for an activity, fragment or app widget.
How can I set the value for the attribute layout_weight for button in android dynamically from java code ?
android android-layout android-layout-weightI tried to use marginBottom on the listView to make space between listView Item, but still the items are attached …
android android-layout android-listviewI'm trying to put together a shopping list app, based on input fields, ArrayList, and ListView. The app will be …
android android-layout android-fragments android-listviewI'm trying to generate a custom dialog in Android. I create my Dialog like this: dialog = new Dialog(this); dialog.…
android android-layout dialogIs there really no XML attribute counterpart to setAlpha(int)? If not, what alternatives are there?
android xml android-layout android-imageview alphaI am having trouble with a scrolling ListView inside a ScrollView. I have an Activity which has some EditTexts in …
android listview android-layout scrollviewIs it possible to add a drop shadow to a custom shape in Android? After looking through the documentation, I …
android android-layoutIf you look at the attached image. I need my button to be right aligned but for some reason it's …
android android-layoutI'm trying to center an ImageView inside a LinearLayout horizontally and vertically, but I just can't do it. The main …
android android-layout android-linearlayoutI have a few elements in a RelativeView with the align bottom attribute set, when the soft keyboard comes up …
android user-interface android-layout android-keypad