diff options
Diffstat (limited to 'mapswithme-api/res/drawable')
| -rw-r--r-- | mapswithme-api/res/drawable/background_pattern.xml | 5 | ||||
| -rw-r--r-- | mapswithme-api/res/drawable/btn_back_gray.xml | 13 | ||||
| -rw-r--r-- | mapswithme-api/res/drawable/btn_back_gray_active.xml | 16 | ||||
| -rw-r--r-- | mapswithme-api/res/drawable/btn_back_green.xml | 14 | ||||
| -rw-r--r-- | mapswithme-api/res/drawable/btn_back_green_active.xml | 16 | ||||
| -rw-r--r-- | mapswithme-api/res/drawable/btn_gray_selector.xml | 7 | ||||
| -rw-r--r-- | mapswithme-api/res/drawable/btn_green_selector.xml | 7 | ||||
| -rw-r--r-- | mapswithme-api/res/drawable/gray.xml | 13 | ||||
| -rw-r--r-- | mapswithme-api/res/drawable/green.xml | 15 | ||||
| -rw-r--r-- | mapswithme-api/res/drawable/overflow.xml | 6 | ||||
| -rw-r--r-- | mapswithme-api/res/drawable/pattern.png | bin | 0 -> 67027 bytes | |||
| -rw-r--r-- | mapswithme-api/res/drawable/shadow.xml | 13 |
12 files changed, 125 insertions, 0 deletions
diff --git a/mapswithme-api/res/drawable/background_pattern.xml b/mapswithme-api/res/drawable/background_pattern.xml new file mode 100644 index 0000000..2293a51 --- /dev/null +++ b/mapswithme-api/res/drawable/background_pattern.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:dither="true" + android:src="@drawable/pattern" + android:tileMode="repeat" /> diff --git a/mapswithme-api/res/drawable/btn_back_gray.xml b/mapswithme-api/res/drawable/btn_back_gray.xml new file mode 100644 index 0000000..445902c --- /dev/null +++ b/mapswithme-api/res/drawable/btn_back_gray.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + + <!-- "background shadow" --> + <item android:drawable="@drawable/shadow"/> + <item + android:bottom="1dp" + android:left="1dp" + android:right="1dp" + android:top="1dp" + android:drawable="@drawable/gray"/> + +</layer-list>
\ No newline at end of file diff --git a/mapswithme-api/res/drawable/btn_back_gray_active.xml b/mapswithme-api/res/drawable/btn_back_gray_active.xml new file mode 100644 index 0000000..a4d6310 --- /dev/null +++ b/mapswithme-api/res/drawable/btn_back_gray_active.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + + <!-- "background shadow" --> + <item android:drawable="@drawable/shadow"/> + + <item + android:bottom="2dp" + android:left="1dp" + android:right="1dp" + android:top="1dp" + android:drawable="@drawable/gray"/> + + <item android:drawable="@drawable/overflow"/> + +</layer-list>
\ No newline at end of file diff --git a/mapswithme-api/res/drawable/btn_back_green.xml b/mapswithme-api/res/drawable/btn_back_green.xml new file mode 100644 index 0000000..b647551 --- /dev/null +++ b/mapswithme-api/res/drawable/btn_back_green.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + + <!-- "background shadow" --> + <item android:drawable="@drawable/shadow"/> + + <item + android:bottom="1dp" + android:left="1dp" + android:right="1dp" + android:top="1dp" + android:drawable="@drawable/green"/> + +</layer-list>
\ No newline at end of file diff --git a/mapswithme-api/res/drawable/btn_back_green_active.xml b/mapswithme-api/res/drawable/btn_back_green_active.xml new file mode 100644 index 0000000..49e849f --- /dev/null +++ b/mapswithme-api/res/drawable/btn_back_green_active.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + + <!-- "background shadow" --> + <item android:drawable="@drawable/shadow"/> + + <item + android:bottom="2dp" + android:left="1dp" + android:right="1dp" + android:top="1dp" + android:drawable="@drawable/green"/> + + <item android:drawable="@drawable/overflow"/> + +</layer-list>
\ No newline at end of file diff --git a/mapswithme-api/res/drawable/btn_gray_selector.xml b/mapswithme-api/res/drawable/btn_gray_selector.xml new file mode 100644 index 0000000..3876bb0 --- /dev/null +++ b/mapswithme-api/res/drawable/btn_gray_selector.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + + <item android:drawable="@drawable/btn_back_gray_active" android:state_pressed="true"/> + <item android:drawable="@drawable/btn_back_gray"/> + +</selector>
\ No newline at end of file diff --git a/mapswithme-api/res/drawable/btn_green_selector.xml b/mapswithme-api/res/drawable/btn_green_selector.xml new file mode 100644 index 0000000..61b78df --- /dev/null +++ b/mapswithme-api/res/drawable/btn_green_selector.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + + <item android:drawable="@drawable/btn_back_green_active" android:state_pressed="true"/> + <item android:drawable="@drawable/btn_back_green"/> + +</selector>
\ No newline at end of file diff --git a/mapswithme-api/res/drawable/gray.xml b/mapswithme-api/res/drawable/gray.xml new file mode 100644 index 0000000..f3fda93 --- /dev/null +++ b/mapswithme-api/res/drawable/gray.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle" > + + + <gradient android:type="linear" + android:angle="90" + android:startColor="#D00099CC" + android:centerColor="#D033B5E5" + android:endColor="#D00099CC"/> + + <corners android:radius="4dp" /> +</shape>
\ No newline at end of file diff --git a/mapswithme-api/res/drawable/green.xml b/mapswithme-api/res/drawable/green.xml new file mode 100644 index 0000000..c7afb64 --- /dev/null +++ b/mapswithme-api/res/drawable/green.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle" > + <!-- + <solid android:color="#66CC33" /> --> + + <gradient android:type="linear" + android:angle="90" + android:startColor="#D066CC33" + android:centerColor="#D099CC00" + android:endColor="#D066CC33"/> + + + <corners android:radius="4dp" /> +</shape>
\ No newline at end of file diff --git a/mapswithme-api/res/drawable/overflow.xml b/mapswithme-api/res/drawable/overflow.xml new file mode 100644 index 0000000..f507765 --- /dev/null +++ b/mapswithme-api/res/drawable/overflow.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle" > + <solid android:color="#80FFFFFF" /> + <corners android:radius="3dp" /> +</shape>
\ No newline at end of file diff --git a/mapswithme-api/res/drawable/pattern.png b/mapswithme-api/res/drawable/pattern.png Binary files differnew file mode 100644 index 0000000..33b8d96 --- /dev/null +++ b/mapswithme-api/res/drawable/pattern.png diff --git a/mapswithme-api/res/drawable/shadow.xml b/mapswithme-api/res/drawable/shadow.xml new file mode 100644 index 0000000..4c241c4 --- /dev/null +++ b/mapswithme-api/res/drawable/shadow.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle" > + <gradient + android:angle="-90" + android:centerX="50%" + android:centerY="50%" + android:gradientRadius="400" + android:startColor="#44000000" + android:endColor="#88000000" + android:type="linear" /> + <corners android:radius="4dp" /> +</shape>
\ No newline at end of file |
