diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-11-25 14:33:12 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-11-25 14:33:12 -0800 |
commit | f58ba90983e8a2889105f6a210f5c43fa522a934 (patch) | |
tree | 4ff15ffff050f85f65b2b2b2f4e1eebec8392b90 | |
parent | 1394d3c05e6be064d94e051cb3e927fd72273b08 (diff) | |
download | dsub-f58ba90983e8a2889105f6a210f5c43fa522a934.tar.gz dsub-f58ba90983e8a2889105f6a210f5c43fa522a934.tar.bz2 dsub-f58ba90983e8a2889105f6a210f5c43fa522a934.zip |
Use system default checkboxes
-rw-r--r-- | res/drawable-hdpi/btn_check_buttonless_off.png | bin | 762 -> 0 bytes | |||
-rw-r--r-- | res/drawable-hdpi/btn_check_buttonless_on.png | bin | 2996 -> 0 bytes | |||
-rw-r--r-- | res/drawable/btn_check.xml | 28 | ||||
-rw-r--r-- | res/layout/song_list_item.xml | 2 |
4 files changed, 1 insertions, 29 deletions
diff --git a/res/drawable-hdpi/btn_check_buttonless_off.png b/res/drawable-hdpi/btn_check_buttonless_off.png Binary files differdeleted file mode 100644 index d705b420..00000000 --- a/res/drawable-hdpi/btn_check_buttonless_off.png +++ /dev/null diff --git a/res/drawable-hdpi/btn_check_buttonless_on.png b/res/drawable-hdpi/btn_check_buttonless_on.png Binary files differdeleted file mode 100644 index a2612d7d..00000000 --- a/res/drawable-hdpi/btn_check_buttonless_on.png +++ /dev/null diff --git a/res/drawable/btn_check.xml b/res/drawable/btn_check.xml deleted file mode 100644 index f363a2d2..00000000 --- a/res/drawable/btn_check.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2008 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_checked="true" - android:drawable="@drawable/btn_check_buttonless_on" /> - - <item android:state_checked="false" - android:drawable="@drawable/btn_check_buttonless_off" /> - - <item - android:drawable="@drawable/btn_check_buttonless_off" /> - -</selector> diff --git a/res/layout/song_list_item.xml b/res/layout/song_list_item.xml index d433df69..1ea118ad 100644 --- a/res/layout/song_list_item.xml +++ b/res/layout/song_list_item.xml @@ -10,7 +10,7 @@ android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:gravity="center_vertical"
- android:checkMark="@drawable/btn_check"
+ android:checkMark="?android:attr/listChoiceIndicatorMultiple"
android:paddingLeft="3dip"/>
<LinearLayout android:orientation="vertical"
|