summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2014-08-12 15:58:36 -0700
committerSunny Goyal <sunnygoyal@google.com>2014-08-18 13:51:51 -0700
commitdcbcc86353e9ed52daac87f292aece667cd0ac71 (patch)
treea0e1c4ca2ba2e9863a2168cbc4299b136cea2f30 /res/drawable
parent0fc1be164e982433e619bcbb16aa67e28ff681ef (diff)
downloadandroid_packages_apps_Trebuchet-dcbcc86353e9ed52daac87f292aece667cd0ac71.tar.gz
android_packages_apps_Trebuchet-dcbcc86353e9ed52daac87f292aece667cd0ac71.tar.bz2
android_packages_apps_Trebuchet-dcbcc86353e9ed52daac87f292aece667cd0ac71.zip
Updating the UI for focused state of an icon/folder.
issue: 16352129 Change-Id: If2e154dba06a0648f933f9aea38898642db9fd85
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/focusable_view_bg.xml13
1 files changed, 10 insertions, 3 deletions
diff --git a/res/drawable/focusable_view_bg.xml b/res/drawable/focusable_view_bg.xml
index 66661e28b..e156513ef 100644
--- a/res/drawable/focusable_view_bg.xml
+++ b/res/drawable/focusable_view_bg.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2011 The Android Open Source Project
+<!--
+ 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.
@@ -15,5 +16,11 @@
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:state_focused="true" android:drawable="@drawable/focused_bg" />
-</selector>
+
+ <item android:state_focused="true">
+ <shape android:shape="rectangle">
+ <solid android:color="@color/focused_background" />
+ </shape>
+ </item>
+
+</selector> \ No newline at end of file