summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2009-11-18 09:53:03 -0500
committerPatrick Scott <phanna@android.com>2009-11-18 10:01:32 -0500
commitf1e8069bcd1755d9ef2322b705d8d9d6b83728f0 (patch)
tree60d2e16fca3f6c9bb8515b52db64bdaf19c96f02 /res/drawable
parente3f01aff06d4bddb09215ccad3d8502de9164966 (diff)
downloadandroid_packages_apps_DeskClock-f1e8069bcd1755d9ef2322b705d8d9d6b83728f0.tar.gz
android_packages_apps_DeskClock-f1e8069bcd1755d9ef2322b705d8d9d6b83728f0.tar.bz2
android_packages_apps_DeskClock-f1e8069bcd1755d9ef2322b705d8d9d6b83728f0.zip
UI tweaks to meet Jeff's spec.
Colors and text sizes are exactly how Jeff specified in the pdf. I tried to match the size of everything based on looks but I might be a little off in padding. The shadow effect on the bottom clock has been left out for now since there are no specifics in the spec for each of the shadow components and I cannot figure it out based on the drawing.
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/indicator_bar_onoff.xml22
-rw-r--r--res/drawable/indicator_clock_onoff.xml5
2 files changed, 23 insertions, 4 deletions
diff --git a/res/drawable/indicator_bar_onoff.xml b/res/drawable/indicator_bar_onoff.xml
new file mode 100644
index 000000000..e3d8caaf6
--- /dev/null
+++ b/res/drawable/indicator_bar_onoff.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_checked="true"
+ android:drawable="@drawable/ic_indicator_on" />
+ <item android:state_checked="false"
+ android:drawable="@drawable/ic_indicator_off" />
+</selector>
diff --git a/res/drawable/indicator_clock_onoff.xml b/res/drawable/indicator_clock_onoff.xml
index f44563c81..3fea6c099 100644
--- a/res/drawable/indicator_clock_onoff.xml
+++ b/res/drawable/indicator_clock_onoff.xml
@@ -17,8 +17,5 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="true" android:state_window_focused="true"
android:drawable="@drawable/ic_clock_alarm_selected" />
- <item android:state_checked="false"
- android:drawable="@drawable/ic_clock_alarm_off" />
- <item android:state_checked="true"
- android:drawable="@drawable/ic_clock_alarm_on" />
+ <item android:drawable="@drawable/ic_clock_alarm_on" />
</selector>