Skip to content

Commit

Permalink
fix spacing to sp
Browse files Browse the repository at this point in the history
  • Loading branch information
newhinton committed Sep 29, 2023
1 parent fe7ceab commit 71d4010
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/src/main/res/layout/digital_clock.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<TextClock
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="-8sp"
android:format12Hour="hh:mm"
android:format24Hour="kk:mm"
android:textColor="@color/widgetPrimaryTextColor"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/vertical_clock.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<TextClock
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="-8sp"
android:layout_gravity="center"
android:format12Hour="hh"
android:format24Hour="kk"
Expand All @@ -42,7 +43,7 @@
android:text="34"
android:textColor="@color/widgetPrimaryTextColor"
android:textSize="84sp"
android:layout_marginTop="-44dp" />
android:layout_marginTop="-40sp" />

</LinearLayout>

Expand Down

0 comments on commit 71d4010

Please sign in to comment.