diff options
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"/> |