summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-10-14 10:52:00 +0400
committerAndrew Dolgov <[email protected]>2012-10-14 10:52:00 +0400
commitacf5bb61b1d71ad582619384d4c3326970645efd (patch)
tree49df47e99d4407e67cee914b768bb92e348019e6 /res
parentd81003594c647261967951cb874dfb540c1e50bc (diff)
implement sharing, page numbers, and other stuff
Diffstat (limited to 'res')
-rw-r--r--res/layout/fragment_comic.xml16
-rw-r--r--res/menu/activity_view_comic.xml5
-rw-r--r--res/values/strings.xml2
-rw-r--r--res/xml/preferences.xml6
4 files changed, 25 insertions, 4 deletions
diff --git a/res/layout/fragment_comic.xml b/res/layout/fragment_comic.xml
index 1bc0b35..7cac0d4 100644
--- a/res/layout/fragment_comic.xml
+++ b/res/layout/fragment_comic.xml
@@ -3,11 +3,19 @@
android:id="@+id/FrameLayout3"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
-
+
<org.fox.ttcomics.TouchImageView
android:id="@+id/comic_image"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- />
-
+ android:layout_height="match_parent" />
+
+ <TextView
+ android:id="@+id/comic_page"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom|right"
+ android:layout_margin="4dp"
+ android:alpha="0.25"
+ android:text="25" />
+
</FrameLayout> \ No newline at end of file
diff --git a/res/menu/activity_view_comic.xml b/res/menu/activity_view_comic.xml
index de8e7ae..07bc560 100644
--- a/res/menu/activity_view_comic.xml
+++ b/res/menu/activity_view_comic.xml
@@ -7,5 +7,10 @@
<item android:id="@+id/menu_go_location"
android:title="@string/menu_go_location"
android:showAsAction="never" />
+
+ <item android:id="@+id/menu_share"
+ android:title="@string/menu_share"
+ android:icon="@android:drawable/ic_menu_share"
+ android:showAsAction="ifRoom" />
</menu>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index d544724..719c277 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -26,4 +26,6 @@
<string name="dialog_location_location">Location…</string>
<string name="dialog_location_end">End</string>
<string name="tab_unfinished">Unfinished</string>
+ <string name="menu_share">Share</string>
+ <string name="prefs_use_full_screen">Fullscreen mode</string>
</resources> \ No newline at end of file
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index fa8a8f5..5211394 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -19,5 +19,11 @@
android:defaultValue="false"
android:key="dim_status_bar"
android:title="@string/prefs_dim_status_bar" />
+
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="use_full_screen"
+ android:title="@string/prefs_use_full_screen" />
+
</PreferenceCategory>
</PreferenceScreen> \ No newline at end of file