summaryrefslogtreecommitdiff
path: root/android/res/layout
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2012-12-13 14:35:28 +0000
committerRobin Watts <robin.watts@artifex.com>2012-12-18 20:30:34 +0000
commita09b90874d23cc781ae120590ac99ef0d61c8045 (patch)
tree7c9d2c19e5d3f62c13d31fd56f7fc09948d44836 /android/res/layout
parent56e922cc6655398689202c23fecb5cfafbe3a905 (diff)
downloadmupdf-a09b90874d23cc781ae120590ac99ef0d61c8045.tar.xz
Android: add directory navigation to the file picker
Diffstat (limited to 'android/res/layout')
-rw-r--r--android/res/layout/picker_entry.xml32
1 files changed, 24 insertions, 8 deletions
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