diff options
author | Alan Viverette <alanv@google.com> | 2015-03-02 17:28:17 -0800 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2015-03-02 17:28:17 -0800 |
commit | dfc92c4de5391553609f8131c9829cabd6e7b55d (patch) | |
tree | 5f73e35b3374477eaa9eeb487e39931c18ce37dd /core/res/res/color | |
parent | 7b91c55b3ff4857e904a11a0a67fcc86a32868b4 (diff) | |
download | frameworks_base-dfc92c4de5391553609f8131c9829cabd6e7b55d.zip frameworks_base-dfc92c4de5391553609f8131c9829cabd6e7b55d.tar.gz frameworks_base-dfc92c4de5391553609f8131c9829cabd6e7b55d.tar.bz2 |
Update Material light theme colors, clean up material colors
Bug: 19424147
Change-Id: Ia13dbee34f2f73fe0075c53709dd16097c8f784c
Diffstat (limited to 'core/res/res/color')
6 files changed, 84 insertions, 4 deletions
diff --git a/core/res/res/color/hint_foreground_material_dark.xml b/core/res/res/color/hint_foreground_material_dark.xml new file mode 100644 index 0000000..77883d9 --- /dev/null +++ b/core/res/res/color/hint_foreground_material_dark.xml @@ -0,0 +1,20 @@ +<?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:alpha="@dimen/hint_alpha_material_dark" + android:color="@color/foreground_material_dark" /> +</selector> diff --git a/core/res/res/color/hint_foreground_material_light.xml b/core/res/res/color/hint_foreground_material_light.xml new file mode 100644 index 0000000..99168fd --- /dev/null +++ b/core/res/res/color/hint_foreground_material_light.xml @@ -0,0 +1,20 @@ +<?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:alpha="@dimen/hint_alpha_material_light" + android:color="@color/foreground_material_light" /> +</selector> diff --git a/core/res/res/color/primary_text_disable_only_material_dark.xml b/core/res/res/color/primary_text_disable_only_material_dark.xml index a6296c9..8bfefa7 100644 --- a/core/res/res/color/primary_text_disable_only_material_dark.xml +++ b/core/res/res/color/primary_text_disable_only_material_dark.xml @@ -17,6 +17,6 @@ <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_enabled="false" android:alpha="@dimen/disabled_alpha_material_dark" - android:color="@color/bright_foreground_material_dark"/> - <item android:color="@color/bright_foreground_material_dark"/> + android:color="@color/foreground_material_dark"/> + <item android:color="@color/foreground_material_dark"/> </selector> diff --git a/core/res/res/color/primary_text_disable_only_material_light.xml b/core/res/res/color/primary_text_disable_only_material_light.xml index b781844..0cc09fc 100644 --- a/core/res/res/color/primary_text_disable_only_material_light.xml +++ b/core/res/res/color/primary_text_disable_only_material_light.xml @@ -17,6 +17,6 @@ <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_enabled="false" android:alpha="@dimen/disabled_alpha_material_light" - android:color="@color/bright_foreground_material_light"/> - <item android:color="@color/bright_foreground_material_light"/> + android:color="@color/foreground_material_light"/> + <item android:color="@color/foreground_material_light"/> </selector> diff --git a/core/res/res/color/ripple_material_dark.xml b/core/res/res/color/ripple_material_dark.xml new file mode 100644 index 0000000..940e5da --- /dev/null +++ b/core/res/res/color/ripple_material_dark.xml @@ -0,0 +1,20 @@ +<?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:alpha="@dimen/highlight_alpha_material_dark" + android:color="@color/foreground_material_dark" /> +</selector> diff --git a/core/res/res/color/ripple_material_light.xml b/core/res/res/color/ripple_material_light.xml new file mode 100644 index 0000000..406a133 --- /dev/null +++ b/core/res/res/color/ripple_material_light.xml @@ -0,0 +1,20 @@ +<?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:alpha="@dimen/highlight_alpha_material_light" + android:color="@color/foreground_material_light" /> +</selector> |