diff options
| author | Bananeweizen <Bananeweizen@gmx.de> | 2013-10-05 07:51:42 +0200 |
|---|---|---|
| committer | Bananeweizen <Bananeweizen@gmx.de> | 2013-10-05 07:51:42 +0200 |
| commit | 55dc849c4c5839468c762ee2c7b7c1ee5a89d648 (patch) | |
| tree | db03ea87d9b6af1811fda695bb59780817121026 /main/res | |
| parent | 193d531a2b1c6f0aec440f8c1c1290f16490d431 (diff) | |
| download | cgeo-55dc849c4c5839468c762ee2c7b7c1ee5a89d648.zip cgeo-55dc849c4c5839468c762ee2c7b7c1ee5a89d648.tar.gz cgeo-55dc849c4c5839468c762ee2c7b7c1ee5a89d648.tar.bz2 | |
lint: fix layout warning
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 |
