diff options
Diffstat (limited to 'packages/SystemUI')
-rw-r--r-- | packages/SystemUI/res/drawable/ripple_drawable_20dp.xml | 18 | ||||
-rw-r--r-- | packages/SystemUI/res/layout/zen_mode_condition.xml | 3 |
2 files changed, 21 insertions, 0 deletions
diff --git a/packages/SystemUI/res/drawable/ripple_drawable_20dp.xml b/packages/SystemUI/res/drawable/ripple_drawable_20dp.xml new file mode 100644 index 0000000..8d2a0f9 --- /dev/null +++ b/packages/SystemUI/res/drawable/ripple_drawable_20dp.xml @@ -0,0 +1,18 @@ +<?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. +--> +<ripple xmlns:android="http://schemas.android.com/apk/res/android" + android:radius="20dp" + android:color="?android:attr/colorControlHighlight" /> diff --git a/packages/SystemUI/res/layout/zen_mode_condition.xml b/packages/SystemUI/res/layout/zen_mode_condition.xml index a169d1a..4953e6f 100644 --- a/packages/SystemUI/res/layout/zen_mode_condition.xml +++ b/packages/SystemUI/res/layout/zen_mode_condition.xml @@ -17,6 +17,7 @@ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="@dimen/qs_detail_item_height" + android:clipChildren="false" android:layout_marginBottom="@dimen/zen_mode_condition_detail_item_spacing" android:layout_marginStart="1dp" android:layout_marginEnd="0dp" > @@ -63,6 +64,7 @@ <ImageView android:id="@android:id/button1" style="@style/QSBorderlessButton" + android:background="@drawable/ripple_drawable_20dp" android:layout_width="48dp" android:layout_height="48dp" android:layout_centerVertical="true" @@ -74,6 +76,7 @@ <ImageView android:id="@android:id/button2" style="@style/QSBorderlessButton" + android:background="@drawable/ripple_drawable_20dp" android:layout_width="48dp" android:layout_height="48dp" android:layout_alignParentEnd="true" |