summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-10-15 12:33:34 +0400
committerAndrew Dolgov <[email protected]>2012-10-15 12:33:34 +0400
commit65be0b20c458ad7c740cbf54ffb74b3f0c13c6c3 (patch)
tree92235fb323270aae1134b0f33e2c27b52172488d /res
parent742eb6ebf36d6bfe9a1b51432a1b455efcc8a0d9 (diff)
fix various page index related bugs, add location dialog in compat mode
Diffstat (limited to 'res')
-rw-r--r--res/layout/dialog_location_compat.xml20
-rw-r--r--res/values/strings.xml1
2 files changed, 21 insertions, 0 deletions
diff --git a/res/layout/dialog_location_compat.xml b/res/layout/dialog_location_compat.xml
new file mode 100644
index 0000000..3e2467e
--- /dev/null
+++ b/res/layout/dialog_location_compat.xml
@@ -0,0 +1,20 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/linearLayout1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <SeekBar
+ android:id="@+id/number_seeker"
+ android:layout_weight="1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
+
+ <TextView
+ android:id="@+id/page_number"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:text="1 of 365" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 4917c26..adadd3a 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -34,4 +34,5 @@
<string name="error_loading_image">Error loading image</string>
<string name="error_could_not_read_folder_contents_">Could not read folder contents.</string>
<string name="picker_choose">Choose %1$s</string>
+ <string name="dialog_location_page_number">%1$d of %2$d</string>
</resources> \ No newline at end of file