diff options
author | Chung-yih Wang <cywang@google.com> | 2011-09-28 15:51:36 +0800 |
---|---|---|
committer | Chung-yih Wang <cywang@google.com> | 2011-09-28 15:51:36 +0800 |
commit | 0f9caa3ddbf47b46097fddd6deeab626884bb805 (patch) | |
tree | bf3de31442f3d55718bdb0d00bed759333e02104 /res/drawable | |
parent | 0a9138eb21ca35d19f1c192076f4f77f920a4bf2 (diff) | |
download | packages_apps_LegacyCamera-0f9caa3ddbf47b46097fddd6deeab626884bb805.zip packages_apps_LegacyCamera-0f9caa3ddbf47b46097fddd6deeab626884bb805.tar.gz packages_apps_LegacyCamera-0f9caa3ddbf47b46097fddd6deeab626884bb805.tar.bz2 |
Add background of pressed ModePicker.
bug:5353407
onPress state:
+ The closed mode picker should have an onPress state.
Change-Id: I605fbe86406e0c780654bedc496343267cef310d
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/bg_mode_picker.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/res/drawable/bg_mode_picker.xml b/res/drawable/bg_mode_picker.xml new file mode 100644 index 0000000..39b296e --- /dev/null +++ b/res/drawable/bg_mode_picker.xml @@ -0,0 +1,20 @@ +<?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_pressed="true" android:drawable="@drawable/list_pressed_holo_light" /> + <item android:drawable="@drawable/bg_switcher" /> +</selector> |