diff options
Diffstat (limited to 'platform/android/viewer/res/drawable')
-rw-r--r-- | platform/android/viewer/res/drawable/busy.xml | 10 | ||||
-rw-r--r-- | platform/android/viewer/res/drawable/button.xml | 23 | ||||
-rw-r--r-- | platform/android/viewer/res/drawable/darkdenim3.png | bin | 0 -> 22532 bytes | |||
-rw-r--r-- | platform/android/viewer/res/drawable/page_num.xml | 9 | ||||
-rw-r--r-- | platform/android/viewer/res/drawable/search.xml | 37 | ||||
-rw-r--r-- | platform/android/viewer/res/drawable/seek_progress.xml | 6 | ||||
-rw-r--r-- | platform/android/viewer/res/drawable/seek_thumb.xml | 7 | ||||
-rw-r--r-- | platform/android/viewer/res/drawable/tiled_background.xml | 4 |
8 files changed, 96 insertions, 0 deletions
diff --git a/platform/android/viewer/res/drawable/busy.xml b/platform/android/viewer/res/drawable/busy.xml new file mode 100644 index 00000000..f7f42a44 --- /dev/null +++ b/platform/android/viewer/res/drawable/busy.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <corners android:radius="12dp" /> + <padding android:left="16dp" + android:right="16dp" + android:top="16dp" + android:bottom="16dp" /> + <solid android:color="@color/busy_indicator" /> +</shape> diff --git a/platform/android/viewer/res/drawable/button.xml b/platform/android/viewer/res/drawable/button.xml new file mode 100644 index 00000000..0a9bcd51 --- /dev/null +++ b/platform/android/viewer/res/drawable/button.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true"> + <shape> + <solid android:color="@color/button_pressed" /> + <padding android:left="8dp" android:top="8dp" android:right="8dp" android:bottom="8dp" /> + </shape> + </item> + <item android:state_focused="true"> + <shape> + <solid android:color="@color/button_normal" /> + <stroke android:width="4dp" android:color="@color/button_pressed" /> + <padding android:left="8dp" android:top="8dp" android:right="8dp" android:bottom="8dp" /> + </shape> + </item> + <item> + <shape> + <solid android:color="@color/button_normal" /> + <padding android:left="8dp" android:top="8dp" android:right="8dp" android:bottom="8dp" /> + </shape> + </item> +</selector> diff --git a/platform/android/viewer/res/drawable/darkdenim3.png b/platform/android/viewer/res/drawable/darkdenim3.png Binary files differnew file mode 100644 index 00000000..be532f6d --- /dev/null +++ b/platform/android/viewer/res/drawable/darkdenim3.png diff --git a/platform/android/viewer/res/drawable/page_num.xml b/platform/android/viewer/res/drawable/page_num.xml new file mode 100644 index 00000000..8d50df85 --- /dev/null +++ b/platform/android/viewer/res/drawable/page_num.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <padding android:left="8dp" + android:right="8dp" + android:top="1dp" + android:bottom="2dp" /> + <solid android:color="@color/page_indicator" /> +</shape> diff --git a/platform/android/viewer/res/drawable/search.xml b/platform/android/viewer/res/drawable/search.xml new file mode 100644 index 00000000..4fc58830 --- /dev/null +++ b/platform/android/viewer/res/drawable/search.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true"> + <shape android:shape="rectangle"> + <solid android:color="@color/text_pressed" /> + <stroke android:width="4dp" android:color="@color/text_border_pressed" /> + <padding + android:left="12dp" + android:right="12dp" + android:top="8dp" + android:bottom="8dp" /> + </shape> + </item> + <item android:state_focused="true"> + <shape> + <solid android:color="@color/text_normal" /> + <stroke android:width="4dp" android:color="@color/text_border_focused" /> + <padding + android:left="12dp" + android:right="12dp" + android:top="8dp" + android:bottom="8dp" /> + </shape> + </item> + <item> + <shape> + <solid android:color="@color/text_normal" /> + <stroke android:width="4dp" android:color="@color/text_border_normal" /> + <padding + android:left="12dp" + android:right="12dp" + android:top="8dp" + android:bottom="8dp" /> + </shape> + </item> +</selector> diff --git a/platform/android/viewer/res/drawable/seek_progress.xml b/platform/android/viewer/res/drawable/seek_progress.xml new file mode 100644 index 00000000..328139c2 --- /dev/null +++ b/platform/android/viewer/res/drawable/seek_progress.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> + +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="line" > + <stroke android:width="6dp" android:color="@color/seek_progress" /> +</shape> diff --git a/platform/android/viewer/res/drawable/seek_thumb.xml b/platform/android/viewer/res/drawable/seek_thumb.xml new file mode 100644 index 00000000..e3a9bad4 --- /dev/null +++ b/platform/android/viewer/res/drawable/seek_thumb.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> + +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="oval" > + <size android:width="28dp" android:height="28dp" /> + <solid android:color="@color/seek_thumb" /> +</shape> diff --git a/platform/android/viewer/res/drawable/tiled_background.xml b/platform/android/viewer/res/drawable/tiled_background.xml new file mode 100644 index 00000000..60e08f3c --- /dev/null +++ b/platform/android/viewer/res/drawable/tiled_background.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/darkdenim3" + android:tileMode="repeat" /> |