From 17b265037752e0c9b8eeb6be1d289bebe2e53584 Mon Sep 17 00:00:00 2001 From: Ivan Date: Fri, 22 Mar 2019 09:07:25 +0100 Subject: [PATCH] Slightly modified size of sleep overlay --- .../main/res/drawable/sleep_overlay_background.xml | 4 ++-- app/src/main/res/layout/sleep_overlay.xml | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/drawable/sleep_overlay_background.xml b/app/src/main/res/drawable/sleep_overlay_background.xml index cff0bdf..16f5b23 100644 --- a/app/src/main/res/drawable/sleep_overlay_background.xml +++ b/app/src/main/res/drawable/sleep_overlay_background.xml @@ -8,7 +8,7 @@ android:bottom="2dp"/> + android:topLeftRadius="36dp" + android:topRightRadius="36dp"/> \ No newline at end of file diff --git a/app/src/main/res/layout/sleep_overlay.xml b/app/src/main/res/layout/sleep_overlay.xml index 2bd6939..240fb16 100644 --- a/app/src/main/res/layout/sleep_overlay.xml +++ b/app/src/main/res/layout/sleep_overlay.xml @@ -3,22 +3,22 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/sleepOverlayView" - android:layout_width="64dp" - android:layout_height="172dp" + android:layout_width="72dp" + android:layout_height="164dp" android:layout_gravity="end" android:layout_marginTop="32dp" android:layout_marginRight="16dp" android:background="@drawable/sleep_overlay_background" - android:visibility="gone"> + android:visibility="visible"> @@ -30,7 +30,7 @@ android:layout_marginStart="8dp" android:layout_marginEnd="8dp" - android:layout_marginBottom="16dp" + android:layout_marginBottom="12dp" android:tint="@color/colorAccent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent"