diff options
Diffstat (limited to 'res/color')
-rw-r--r-- | res/color/storage_wizard_button.xml | 22 | ||||
-rw-r--r-- | res/color/storage_wizard_button_red.xml | 22 |
2 files changed, 44 insertions, 0 deletions
diff --git a/res/color/storage_wizard_button.xml b/res/color/storage_wizard_button.xml new file mode 100644 index 0000000..38c7d52 --- /dev/null +++ b/res/color/storage_wizard_button.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2015 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_enabled="false" + android:alpha="?android:attr/disabledAlpha" + android:color="?android:attr/colorAccent" /> + <item android:color="?android:attr/colorAccent" /> +</selector> diff --git a/res/color/storage_wizard_button_red.xml b/res/color/storage_wizard_button_red.xml new file mode 100644 index 0000000..9e9a908 --- /dev/null +++ b/res/color/storage_wizard_button_red.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2015 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_enabled="false" + android:alpha="?android:attr/disabledAlpha" + android:color="#fff4511e" /> + <item android:color="#fff4511e" /> +</selector> |