diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2012-07-26 09:26:00 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-08-06 10:23:02 +0100 |
commit | 0f776a53f021e3317376428186df4efb67d2471e (patch) | |
tree | 701b06fc85624444481110c59130896de62ec33c /android | |
parent | 2e999e96042a8c09e472b59a133b8d84adf777bc (diff) |
Added main clockbar icons.
Change-Id: I18bee8c5f0fd588e34ad50650754cea9d3cee89a
Diffstat (limited to 'android')
-rw-r--r-- | android/sdremote/res/drawable/actionbar_icon_overflow.png (renamed from android/sdremote/res/drawable/icon_overflow.png) | bin | 167 -> 167 bytes | |||
-rw-r--r-- | android/sdremote/res/drawable/actionbar_icon_thumbs.png (renamed from android/sdremote/res/drawable/icon_thumbs.png) | bin | 175 -> 175 bytes | |||
-rw-r--r-- | android/sdremote/res/drawable/actionbar_thumbs.xml | 2 | ||||
-rw-r--r-- | android/sdremote/res/drawable/clockbar_clock.xml | 11 | ||||
-rw-r--r-- | android/sdremote/res/drawable/clockbar_countdown.xml | 11 | ||||
-rw-r--r-- | android/sdremote/res/drawable/clockbar_icon_clock.png | bin | 0 -> 1051 bytes | |||
-rw-r--r-- | android/sdremote/res/drawable/clockbar_icon_countdown.png | bin | 0 -> 794 bytes | |||
-rw-r--r-- | android/sdremote/res/drawable/clockbar_icon_stopwatch.png | bin | 0 -> 1008 bytes | |||
-rw-r--r-- | android/sdremote/res/drawable/clockbar_stopwatch.xml | 11 | ||||
-rw-r--r-- | android/sdremote/res/layout/presentation_clockbar.xml | 17 | ||||
-rw-r--r-- | android/sdremote/res/menu/actionbar_presentation.xml | 2 |
11 files changed, 46 insertions, 8 deletions
diff --git a/android/sdremote/res/drawable/icon_overflow.png b/android/sdremote/res/drawable/actionbar_icon_overflow.png Binary files differindex 5265c45101b2..5265c45101b2 100644 --- a/android/sdremote/res/drawable/icon_overflow.png +++ b/android/sdremote/res/drawable/actionbar_icon_overflow.png diff --git a/android/sdremote/res/drawable/icon_thumbs.png b/android/sdremote/res/drawable/actionbar_icon_thumbs.png Binary files differindex ae10accd7ef6..ae10accd7ef6 100644 --- a/android/sdremote/res/drawable/icon_thumbs.png +++ b/android/sdremote/res/drawable/actionbar_icon_thumbs.png diff --git a/android/sdremote/res/drawable/actionbar_thumbs.xml b/android/sdremote/res/drawable/actionbar_thumbs.xml index 2dbf5ea46b1a..2d03853fed76 100644 --- a/android/sdremote/res/drawable/actionbar_thumbs.xml +++ b/android/sdremote/res/drawable/actionbar_thumbs.xml @@ -3,7 +3,7 @@ <item android:drawable="@drawable/actionbar_toggle"/> <item><bitmap - android:src="@drawable/icon_thumbs" + android:src="@drawable/actionbar_icon_thumbs" android:gravity="center" /></item> </layer-list>
\ No newline at end of file diff --git a/android/sdremote/res/drawable/clockbar_clock.xml b/android/sdremote/res/drawable/clockbar_clock.xml new file mode 100644 index 000000000000..14ceb47c07df --- /dev/null +++ b/android/sdremote/res/drawable/clockbar_clock.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + + <item android:drawable="@drawable/actionbar_toggle"/> + <item> + <bitmap + android:gravity="center" + android:src="@drawable/clockbar_icon_clock" /> + </item> + +</layer-list>
\ No newline at end of file diff --git a/android/sdremote/res/drawable/clockbar_countdown.xml b/android/sdremote/res/drawable/clockbar_countdown.xml new file mode 100644 index 000000000000..129d9aa4f492 --- /dev/null +++ b/android/sdremote/res/drawable/clockbar_countdown.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + + <item android:drawable="@drawable/actionbar_toggle"/> + <item> + <bitmap + android:gravity="center" + android:src="@drawable/clockbar_icon_countdown" /> + </item> + +</layer-list>
\ No newline at end of file diff --git a/android/sdremote/res/drawable/clockbar_icon_clock.png b/android/sdremote/res/drawable/clockbar_icon_clock.png Binary files differnew file mode 100644 index 000000000000..792af07edf9b --- /dev/null +++ b/android/sdremote/res/drawable/clockbar_icon_clock.png diff --git a/android/sdremote/res/drawable/clockbar_icon_countdown.png b/android/sdremote/res/drawable/clockbar_icon_countdown.png Binary files differnew file mode 100644 index 000000000000..19af04134595 --- /dev/null +++ b/android/sdremote/res/drawable/clockbar_icon_countdown.png diff --git a/android/sdremote/res/drawable/clockbar_icon_stopwatch.png b/android/sdremote/res/drawable/clockbar_icon_stopwatch.png Binary files differnew file mode 100644 index 000000000000..ac0414231cbc --- /dev/null +++ b/android/sdremote/res/drawable/clockbar_icon_stopwatch.png diff --git a/android/sdremote/res/drawable/clockbar_stopwatch.xml b/android/sdremote/res/drawable/clockbar_stopwatch.xml new file mode 100644 index 000000000000..bfdab6cd89d2 --- /dev/null +++ b/android/sdremote/res/drawable/clockbar_stopwatch.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + + <item android:drawable="@drawable/actionbar_toggle"/> + <item> + <bitmap + android:gravity="center" + android:src="@drawable/clockbar_icon_stopwatch" /> + </item> + +</layer-list>
\ No newline at end of file diff --git a/android/sdremote/res/layout/presentation_clockbar.xml b/android/sdremote/res/layout/presentation_clockbar.xml index 5ab708125cd9..cde3c9598c1c 100644 --- a/android/sdremote/res/layout/presentation_clockbar.xml +++ b/android/sdremote/res/layout/presentation_clockbar.xml @@ -2,29 +2,34 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="horizontal" - android:background="#BB000000"> + android:background="#EE313131" + android:orientation="horizontal" > <ToggleButton android:id="@+id/clockbar_toggle_clockmode" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" - - android:text="ToggleButton" /> + android:background="@drawable/clockbar_clock" + android:textOff="" + android:textOn="" /> <ToggleButton android:id="@+id/clockbar_toggle_stopwatchmode" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" - android:text="@drawable/actionbar_toggle" /> + android:background="@drawable/clockbar_stopwatch" + android:textOff="" + android:textOn="" /> <ToggleButton android:id="@+id/clockbar_toggle_countdownmode" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" - android:text="@drawable/actionbar_toggle" /> + android:background="@drawable/clockbar_countdown" + android:textOff="" + android:textOn="" /> </LinearLayout>
\ No newline at end of file diff --git a/android/sdremote/res/menu/actionbar_presentation.xml b/android/sdremote/res/menu/actionbar_presentation.xml index a48aad563b9c..cd88ddc3b5c0 100644 --- a/android/sdremote/res/menu/actionbar_presentation.xml +++ b/android/sdremote/res/menu/actionbar_presentation.xml @@ -4,7 +4,7 @@ <item android:id="@+id/actionbar_presentation_submenu" android:showAsAction="always" - android:icon="@drawable/icon_overflow"> + android:icon="@drawable/actionbar_icon_overflow"> <menu> <item android:id="@+id/actionbar_presentation_submenu_blank" |