diff options
Diffstat (limited to 'main/res')
| -rw-r--r-- | main/res/layout/simple_dir_chooser.xml | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/main/res/layout/simple_dir_chooser.xml b/main/res/layout/simple_dir_chooser.xml index 637a2e1..ece29c7 100644 --- a/main/res/layout/simple_dir_chooser.xml +++ b/main/res/layout/simple_dir_chooser.xml @@ -1,14 +1,14 @@ <?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="?background_color" android:orientation="vertical" > <LinearLayout + android:id="@+id/headerLayout" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:layout_weight="2" android:orientation="vertical" > <RelativeLayout style="@style/separator_horizontal_layout" > @@ -33,16 +33,11 @@ android:singleLine="true" /> </LinearLayout> - <ListView - android:id="@android:id/list" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:layout_weight="100" /> - <LinearLayout + android:id="@+id/buttonLayout" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:layout_weight="1" + android:layout_alignParentBottom="true" android:orientation="horizontal" android:paddingTop="10dip" > @@ -63,4 +58,11 @@ android:text="@android:string/cancel" /> </LinearLayout> -</LinearLayout>
\ No newline at end of file + <ListView + android:id="@android:id/list" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_above="@id/buttonLayout" + android:layout_below="@+id/headerLayout" /> + +</RelativeLayout>
\ No newline at end of file |
