diff options
author | Michael Jurka <mikejurka@google.com> | 2012-10-30 15:32:27 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2012-10-31 16:46:24 -0700 |
commit | 0b2bd8d11d6947a6ce71db0691ba341aec7a2964 (patch) | |
tree | b42898609dd5e8a3dd2966dd550ca4f406c26f82 /res/drawable | |
parent | 523d9dc460d3af22372860f4d3f83a4529257545 (diff) | |
download | packages_apps_settings-0b2bd8d11d6947a6ce71db0691ba341aec7a2964.zip packages_apps_settings-0b2bd8d11d6947a6ce71db0691ba341aec7a2964.tar.gz packages_apps_settings-0b2bd8d11d6947a6ce71db0691ba341aec7a2964.tar.bz2 |
New widget picker for keyguard widgets
New layout for widget picker is still not up to
final design, but this change prepares all the
backend work
Also, remove use of features filter from the
picker, since this is being removed from the API
Change-Id: I9b332e22cf34b98c20c720602c920d28aed01d6c
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/appwidget_item_bg.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/res/drawable/appwidget_item_bg.xml b/res/drawable/appwidget_item_bg.xml new file mode 100644 index 0000000..b9de6d4 --- /dev/null +++ b/res/drawable/appwidget_item_bg.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 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_pressed="true" + android:drawable="@drawable/appwidget_item_bg_pressed" /> + + <item android:drawable="@drawable/appwidget_item_bg_normal" /> +</selector> |