diff options
author | Paul Gardiner <paulg.artifex@glidos.net> | 2012-12-13 14:35:28 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-12-18 20:30:34 +0000 |
commit | a09b90874d23cc781ae120590ac99ef0d61c8045 (patch) | |
tree | 7c9d2c19e5d3f62c13d31fd56f7fc09948d44836 /android/res | |
parent | 56e922cc6655398689202c23fecb5cfafbe3a905 (diff) | |
download | mupdf-a09b90874d23cc781ae120590ac99ef0d61c8045.tar.xz |
Android: add directory navigation to the file picker
Diffstat (limited to 'android/res')
-rw-r--r-- | android/res/drawable-ldpi/ic_dir.png | bin | 0 -> 157 bytes | |||
-rw-r--r-- | android/res/drawable-ldpi/ic_doc.png | bin | 0 -> 167 bytes | |||
-rw-r--r-- | android/res/drawable-ldpi/ic_updir.png | bin | 0 -> 268 bytes | |||
-rw-r--r-- | android/res/drawable-mdpi/ic_arrow_up.png | bin | 0 -> 297 bytes | |||
-rw-r--r-- | android/res/drawable-mdpi/ic_dir.png | bin | 0 -> 165 bytes | |||
-rw-r--r-- | android/res/drawable-mdpi/ic_doc.png | bin | 0 -> 181 bytes | |||
-rw-r--r-- | android/res/layout/picker_entry.xml | 32 |
7 files changed, 24 insertions, 8 deletions
diff --git a/android/res/drawable-ldpi/ic_dir.png b/android/res/drawable-ldpi/ic_dir.png Binary files differnew file mode 100644 index 00000000..2236f2f8 --- /dev/null +++ b/android/res/drawable-ldpi/ic_dir.png diff --git a/android/res/drawable-ldpi/ic_doc.png b/android/res/drawable-ldpi/ic_doc.png Binary files differnew file mode 100644 index 00000000..75f29a07 --- /dev/null +++ b/android/res/drawable-ldpi/ic_doc.png diff --git a/android/res/drawable-ldpi/ic_updir.png b/android/res/drawable-ldpi/ic_updir.png Binary files differnew file mode 100644 index 00000000..b923e429 --- /dev/null +++ b/android/res/drawable-ldpi/ic_updir.png diff --git a/android/res/drawable-mdpi/ic_arrow_up.png b/android/res/drawable-mdpi/ic_arrow_up.png Binary files differnew file mode 100644 index 00000000..de2726ce --- /dev/null +++ b/android/res/drawable-mdpi/ic_arrow_up.png diff --git a/android/res/drawable-mdpi/ic_dir.png b/android/res/drawable-mdpi/ic_dir.png Binary files differnew file mode 100644 index 00000000..e15200c5 --- /dev/null +++ b/android/res/drawable-mdpi/ic_dir.png diff --git a/android/res/drawable-mdpi/ic_doc.png b/android/res/drawable-mdpi/ic_doc.png Binary files differnew file mode 100644 index 00000000..0d6e9def --- /dev/null +++ b/android/res/drawable-mdpi/ic_doc.png diff --git a/android/res/layout/picker_entry.xml b/android/res/layout/picker_entry.xml index 1b7038e6..e4d53a59 100644 --- a/android/res/layout/picker_entry.xml +++ b/android/res/layout/picker_entry.xml @@ -1,10 +1,26 @@ <?xml version="1.0" encoding="utf-8"?> -<TextView xmlns:android="http://schemas.android.com/apk/res/android" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="match_parent" - android:paddingTop="8dp" - android:paddingBottom="8dp" - android:paddingLeft="12dp" - android:paddingRight="12dp" - android:textAppearance="?android:attr/textAppearanceLarge" > -</TextView> + android:layout_height="wrap_content" + android:paddingLeft="8dp" > + + <ImageView + android:id="@+id/icon" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_alignParentLeft="true" + android:contentDescription="@string/link_control" /> + + <TextView + android:id="@+id/name" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_toRightOf="@+id/icon" + android:paddingBottom="8dp" + android:paddingLeft="12dp" + android:paddingRight="12dp" + android:paddingTop="8dp" + android:textAppearance="?android:attr/textAppearanceLarge" /> + +</RelativeLayout>
\ No newline at end of file |