diff options
author | Chung-yih Wang <cywang@google.com> | 2011-09-28 19:04:50 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-09-28 19:04:50 -0700 |
commit | 5fe35de7479dcb221dae3ecc08d0b33502d72a61 (patch) | |
tree | 448061e22e04b85e8cdca88f7de5ec2deb38db39 /res | |
parent | d7f82c5bde94b3a8a9368bdf1b5afc35db818d6a (diff) | |
parent | 0f9caa3ddbf47b46097fddd6deeab626884bb805 (diff) | |
download | LegacyCamera-5fe35de7479dcb221dae3ecc08d0b33502d72a61.zip LegacyCamera-5fe35de7479dcb221dae3ecc08d0b33502d72a61.tar.gz LegacyCamera-5fe35de7479dcb221dae3ecc08d0b33502d72a61.tar.bz2 |
Merge "Add background of pressed ModePicker."
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable/bg_mode_picker.xml | 20 | ||||
-rw-r--r-- | res/layout/mode_picker.xml | 2 |
2 files changed, 21 insertions, 1 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> diff --git a/res/layout/mode_picker.xml b/res/layout/mode_picker.xml index f7a61a0..59edb6f 100644 --- a/res/layout/mode_picker.xml +++ b/res/layout/mode_picker.xml @@ -24,7 +24,7 @@ android:layout_alignBottom="@+id/mode_selection" android:layout_width="match_parent" android:layout_height="55dp" - android:background="@drawable/bg_switcher"> + android:background="@drawable/bg_mode_picker"> <View android:layout_width="match_parent" android:layout_height="1dp" android:background="@android:color/white"/> |