Skip to content

Commit

Permalink
Slightly modified size of sleep overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
izderadicka committed Mar 22, 2019
1 parent 87a06ff commit 17b2650
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/drawable/sleep_overlay_background.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
android:bottom="2dp"/>
<corners android:bottomRightRadius="32dp"
android:bottomLeftRadius="32dp"
android:topLeftRadius="32dp"
android:topRightRadius="32dp"/>
android:topLeftRadius="36dp"
android:topRightRadius="36dp"/>
<solid android:color="@color/colorBackgroundOverlay"/>
</shape>
14 changes: 7 additions & 7 deletions app/src/main/res/layout/sleep_overlay.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">


<ImageView
android:id="@+id/cancelSleepBtn"
android:layout_width="48dp"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_marginStart="8dp"
android:layout_marginTop="16dp"
android:layout_marginTop="12dp"
android:tint="@color/colorAccent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_timer_cancel" />
Expand All @@ -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"
Expand Down

0 comments on commit 17b2650

Please sign in to comment.