diff options
author | Paul Gardiner <paul@glidos.net> | 2012-03-07 16:35:30 +0000 |
---|---|---|
committer | Paul Gardiner <paul@glidos.net> | 2012-03-15 11:37:50 +0000 |
commit | e98837c7b917f0801b446792ab642e669c371395 (patch) | |
tree | 0db909df2b70649a567e7b58fbe4e966782eff06 /android/res | |
parent | b5faea0723a43d0ae4953da6edffcb52b46ba315 (diff) | |
download | mupdf-e98837c7b917f0801b446792ab642e669c371395.tar.xz |
Android app: highlighting and inhibiting of links
Diffstat (limited to 'android/res')
-rw-r--r-- | android/res/drawable-ldpi/ic_hl_link.png | bin | 0 -> 793 bytes | |||
-rw-r--r-- | android/res/drawable-ldpi/ic_link.png | bin | 0 -> 406 bytes | |||
-rw-r--r-- | android/res/drawable-ldpi/ic_nolink.png | bin | 0 -> 644 bytes | |||
-rw-r--r-- | android/res/drawable-mdpi/ic_hl_link.png | bin | 0 -> 906 bytes | |||
-rw-r--r-- | android/res/drawable-mdpi/ic_link.png | bin | 0 -> 379 bytes | |||
-rw-r--r-- | android/res/drawable-mdpi/ic_nolink.png | bin | 0 -> 811 bytes | |||
-rw-r--r-- | android/res/layout/buttons.xml | 11 | ||||
-rw-r--r-- | android/res/values/strings.xml | 1 |
8 files changed, 11 insertions, 1 deletions
diff --git a/android/res/drawable-ldpi/ic_hl_link.png b/android/res/drawable-ldpi/ic_hl_link.png Binary files differnew file mode 100644 index 00000000..b5fd1888 --- /dev/null +++ b/android/res/drawable-ldpi/ic_hl_link.png diff --git a/android/res/drawable-ldpi/ic_link.png b/android/res/drawable-ldpi/ic_link.png Binary files differnew file mode 100644 index 00000000..dad48af3 --- /dev/null +++ b/android/res/drawable-ldpi/ic_link.png diff --git a/android/res/drawable-ldpi/ic_nolink.png b/android/res/drawable-ldpi/ic_nolink.png Binary files differnew file mode 100644 index 00000000..6a821f42 --- /dev/null +++ b/android/res/drawable-ldpi/ic_nolink.png diff --git a/android/res/drawable-mdpi/ic_hl_link.png b/android/res/drawable-mdpi/ic_hl_link.png Binary files differnew file mode 100644 index 00000000..99f26dbb --- /dev/null +++ b/android/res/drawable-mdpi/ic_hl_link.png diff --git a/android/res/drawable-mdpi/ic_link.png b/android/res/drawable-mdpi/ic_link.png Binary files differnew file mode 100644 index 00000000..3de21a5a --- /dev/null +++ b/android/res/drawable-mdpi/ic_link.png diff --git a/android/res/drawable-mdpi/ic_nolink.png b/android/res/drawable-mdpi/ic_nolink.png Binary files differnew file mode 100644 index 00000000..2b12b9fa --- /dev/null +++ b/android/res/drawable-mdpi/ic_nolink.png diff --git a/android/res/layout/buttons.xml b/android/res/layout/buttons.xml index e18ebbb2..94e2593e 100644 --- a/android/res/layout/buttons.xml +++ b/android/res/layout/buttons.xml @@ -38,13 +38,22 @@ android:contentDescription="@string/search_document" android:src="@drawable/ic_list" /> + <ImageButton + android:id="@+id/linkButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_toLeftOf="@+id/outlineButton" + android:contentDescription="@string/link_control" + android:src="@drawable/ic_link" /> + <TextView android:id="@+id/docNameText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/outlineButton" + android:layout_toLeftOf="@+id/linkButton" android:paddingLeft="15dp" android:singleLine="true" android:textAppearance="?android:attr/textAppearanceMedium" /> diff --git a/android/res/values/strings.xml b/android/res/values/strings.xml index 872b07b4..25a75b08 100644 --- a/android/res/values/strings.xml +++ b/android/res/values/strings.xml @@ -13,4 +13,5 @@ <string name="enter_password">Enter Password</string> <string name="text_not_found">Text not found</string> <string name="searching_">Searching...</string> + <string name="link_control">Link highlighting and enabling</string> </resources> |