Skip to content

Commit 17b2650

Browse files
committed
Slightly modified size of sleep overlay
1 parent 87a06ff commit 17b2650

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

app/src/main/res/drawable/sleep_overlay_background.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
android:bottom="2dp"/>
99
<corners android:bottomRightRadius="32dp"
1010
android:bottomLeftRadius="32dp"
11-
android:topLeftRadius="32dp"
12-
android:topRightRadius="32dp"/>
11+
android:topLeftRadius="36dp"
12+
android:topRightRadius="36dp"/>
1313
<solid android:color="@color/colorBackgroundOverlay"/>
1414
</shape>

app/src/main/res/layout/sleep_overlay.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
xmlns:app="http://schemas.android.com/apk/res-auto"
44
xmlns:tools="http://schemas.android.com/tools"
55
android:id="@+id/sleepOverlayView"
6-
android:layout_width="64dp"
7-
android:layout_height="172dp"
6+
android:layout_width="72dp"
7+
android:layout_height="164dp"
88
android:layout_gravity="end"
99
android:layout_marginTop="32dp"
1010
android:layout_marginRight="16dp"
1111
android:background="@drawable/sleep_overlay_background"
12-
android:visibility="gone">
12+
android:visibility="visible">
1313

1414

1515
<ImageView
1616
android:id="@+id/cancelSleepBtn"
17-
android:layout_width="48dp"
17+
android:layout_width="0dp"
1818
android:layout_height="48dp"
19-
android:layout_marginStart="8dp"
20-
android:layout_marginTop="16dp"
19+
android:layout_marginTop="12dp"
2120
android:tint="@color/colorAccent"
21+
app:layout_constraintEnd_toEndOf="parent"
2222
app:layout_constraintStart_toStartOf="parent"
2323
app:layout_constraintTop_toTopOf="parent"
2424
app:srcCompat="@drawable/ic_timer_cancel" />
@@ -30,7 +30,7 @@
3030
android:layout_marginStart="8dp"
3131

3232
android:layout_marginEnd="8dp"
33-
android:layout_marginBottom="16dp"
33+
android:layout_marginBottom="12dp"
3434
android:tint="@color/colorAccent"
3535
app:layout_constraintBottom_toBottomOf="parent"
3636
app:layout_constraintEnd_toEndOf="parent"

0 commit comments

Comments
 (0)