when i run this layout on android it does not show me buttons
it was showing me buttons when the listview items were there when it become more than three then it do not show me buttons
and also i want to show one button to left and one to right please help me out
Using xml Syntax Highlighting
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:padding="10dip">
- <ImageView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:src="@drawable/logo"
- android:layout_gravity="center_vertical"/>
- <LinearLayout
- android:layout_height="wrap_content"
- android:layout_width="fill_parent"
- android:orientation="vertical">
- <ListView android:id="@+id/android:list"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"/>
- </LinearLayout>
- <LinearLayout
- android:layout_height="wrap_content"
- android:layout_width="fill_parent"
- android:orientation="horizontal">
- <Button android:id="@+id/select"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:text="@string/select"
- android:gravity="left"/>
- <Button android:id="@+id/exit"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:text="@string/exit"
- android:gravity="right"/>
- </LinearLayout>
- </LinearLayout>
Parsed in 0.005 seconds, using GeSHi 1.0.8.4

