diff options
author | Trumeet <liangyuteng12345@gmail.com> | 2017-08-27 21:44:08 +0800 |
---|---|---|
committer | Trumeet <liangyuteng12345@gmail.com> | 2017-08-27 21:44:08 +0800 |
commit | 07eb282b4af98146413e9911e7cdf4fceed9192e (patch) | |
tree | 2cc6616c0ba80c96f1f59a4f32a1a8b501c89ab7 /setupwizardlib/src/main/res/drawable/suw_navbar_btn_bg.xml | |
parent | 019522cc93d947b5075ca90547b9e13f08787739 (diff) | |
download | SetupWizardLibCompat-07eb282b4af98146413e9911e7cdf4fceed9192e.tar SetupWizardLibCompat-07eb282b4af98146413e9911e7cdf4fceed9192e.tar.gz SetupWizardLibCompat-07eb282b4af98146413e9911e7cdf4fceed9192e.tar.bz2 SetupWizardLibCompat-07eb282b4af98146413e9911e7cdf4fceed9192e.zip |
fix: crash in pre-lollipop0.2
Diffstat (limited to 'setupwizardlib/src/main/res/drawable/suw_navbar_btn_bg.xml')
-rw-r--r-- | setupwizardlib/src/main/res/drawable/suw_navbar_btn_bg.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/setupwizardlib/src/main/res/drawable/suw_navbar_btn_bg.xml b/setupwizardlib/src/main/res/drawable/suw_navbar_btn_bg.xml new file mode 100644 index 0000000..7674f42 --- /dev/null +++ b/setupwizardlib/src/main/res/drawable/suw_navbar_btn_bg.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2016 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"> + <shape android:shape="rectangle"> + <solid android:color="#ff0000"/> + </shape> + </item> + <item> + <shape android:shape="rectangle"> + <solid android:color="#ffffff"/> + </shape> + </item> +</selector>
\ No newline at end of file |