summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorNebojsa Cvetkovic <nebkat@gmail.com>2013-11-25 16:58:53 +0000
committerRajesh Yengisetty <rajesh@cyngn.com>2014-12-23 19:39:52 +0000
commitaed08787684b6351082c3a1bfbec2c54d365ee2b (patch)
tree83a77a98e9c87cce33e7d75f76028174726c392c /res/drawable
parent0b7b1db20f738fc93b423883e42ad166904b90f6 (diff)
downloadandroid_packages_apps_Trebuchet-aed08787684b6351082c3a1bfbec2c54d365ee2b.tar.gz
android_packages_apps_Trebuchet-aed08787684b6351082c3a1bfbec2c54d365ee2b.tar.bz2
android_packages_apps_Trebuchet-aed08787684b6351082c3a1bfbec2c54d365ee2b.zip
Workspace: Custom default screen
Change-Id: Ic90254f7758b9dbd4997a19474e455230355b772
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/default_screen_button.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/res/drawable/default_screen_button.xml b/res/drawable/default_screen_button.xml
new file mode 100644
index 000000000..5194ad8de
--- /dev/null
+++ b/res/drawable/default_screen_button.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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_focused="true" android:drawable="@drawable/ic_default_screen_pressed" />
+ <item android:state_pressed="true" android:drawable="@drawable/ic_default_screen_pressed" />
+ <item android:state_activated="true" android:drawable="@drawable/ic_default_screen_pressed" />
+ <item android:drawable="@drawable/ic_default_screen" />
+</selector>