diff options
author | John Spurlock <jspurlock@google.com> | 2015-05-08 18:16:54 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2015-05-08 18:19:44 -0400 |
commit | fbc1fdf88aa513f4980781ea111afa462e4b782a (patch) | |
tree | 07a2f35122754ee6076f4ba38e97a4a117cc87ba /packages/SystemUI/res/drawable | |
parent | a0698b617f1efc71d5301f98aead822e266ec5d6 (diff) | |
download | frameworks_base-fbc1fdf88aa513f4980781ea111afa462e4b782a.zip frameworks_base-fbc1fdf88aa513f4980781ea111afa462e4b782a.tar.gz frameworks_base-fbc1fdf88aa513f4980781ea111afa462e4b782a.tar.bz2 |
Zen QS: Tweak segmented button + introduction styling.
- Add a rounded rect background to the segmented buttons.
- Remove the spacing between the segmented buttons.
- Increase the minheight + font weight of the button text.
- Remove the embedded divider line.
- Add a rounded rect background to the intro messages.
- Tweak margins, mostly 8dp -> 16dp in a few places.
Bug: 20949290
Bug: 20947407
Change-Id: Ic497c772aa7228423c8884d6ec7b9ccbfdda365a
Diffstat (limited to 'packages/SystemUI/res/drawable')
-rw-r--r-- | packages/SystemUI/res/drawable/segmented_buttons_background.xml | 22 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/zen_introduction_message_background.xml | 22 |
2 files changed, 44 insertions, 0 deletions
diff --git a/packages/SystemUI/res/drawable/segmented_buttons_background.xml b/packages/SystemUI/res/drawable/segmented_buttons_background.xml new file mode 100644 index 0000000..b243dc7c --- /dev/null +++ b/packages/SystemUI/res/drawable/segmented_buttons_background.xml @@ -0,0 +1,22 @@ +<!-- + 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. +--> +<shape xmlns:android="http://schemas.android.com/apk/res/android" > + + <corners android:radius="@dimen/borderless_button_radius" /> + + <solid android:color="@color/segmented_buttons_background" /> + +</shape>
\ No newline at end of file diff --git a/packages/SystemUI/res/drawable/zen_introduction_message_background.xml b/packages/SystemUI/res/drawable/zen_introduction_message_background.xml new file mode 100644 index 0000000..352fb57 --- /dev/null +++ b/packages/SystemUI/res/drawable/zen_introduction_message_background.xml @@ -0,0 +1,22 @@ +<!-- + 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. +--> +<shape xmlns:android="http://schemas.android.com/apk/res/android" > + + <corners android:radius="@dimen/borderless_button_radius" /> + + <solid android:color="@color/zen_introduction_message_background" /> + +</shape>
\ No newline at end of file |