wear: chore fine tune wf big chart dimensions

This commit is contained in:
Andries Smit 2022-12-29 00:14:22 +01:00
parent 0fa80b5ffe
commit 3daae537f1
3 changed files with 8 additions and 7 deletions

View file

@ -48,6 +48,7 @@
android:id="@+id/chart"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginTop="-4dp"
app:layout_constraintBottom_toTopOf="@+id/status"
app:layout_constraintTop_toBottomOf="@+id/linearLayout3" />
@ -55,7 +56,7 @@
android:id="@+id/status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="-5dp"
android:layout_marginBottom="-7dp"
android:textSize="@dimen/watch_face_status_text_size"
app:layout_constraintBottom_toTopOf="@+id/linearLayout2"
app:layout_constraintEnd_toEndOf="parent"
@ -75,7 +76,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginEnd="5dp"
android:layout_marginEnd="2dp"
android:textSize="@dimen/watch_face_time_text_size"
tools:text="12:00" />
@ -88,7 +89,7 @@
android:id="@+id/timestamp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:layout_marginTop="6dp"
android:maxLines="1"
android:textSize="@dimen/watch_face_timestamp_text_size"
tools:text="5'" />
@ -98,7 +99,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:layout_marginTop="-4dp"
android:layout_marginTop="-5dp"
android:textSize="@dimen/watch_face_time_period_text_size"
android:textStyle="bold"
tools:text="AM" />

View file

@ -5,9 +5,9 @@
<dimen name="watch_face_svg_text_size">50sp</dimen>
<dimen name="watch_face_delta_text_size">25sp</dimen>
<dimen name="watch_face_time_text_size">45sp</dimen>
<dimen name="watch_face_timestamp_text_size">25sp</dimen>
<dimen name="watch_face_timestamp_text_size">23sp</dimen>
<dimen name="watch_face_time_period_text_size">12sp</dimen>
<dimen name="watch_face_status_text_size">18sp</dimen>
<dimen name="watch_face_status_text_size">17sp</dimen>
<!-- Watch face specific-->
<dimen name="watch_face_no_chart_status_size">24sp</dimen>

View file

@ -27,7 +27,7 @@ Google Pixel Watch: 1.2", 450 x 450 px = 192 dp
<dimen name="watch_face_time_text_size">35sp</dimen>
<dimen name="watch_face_timestamp_text_size">17sp</dimen>
<dimen name="watch_face_time_period_text_size">11sp</dimen>
<dimen name="watch_face_status_text_size">16sp</dimen>
<dimen name="watch_face_status_text_size">15sp</dimen>
<!-- Watch face specific-->
<dimen name="watch_face_no_chart_status_size">20sp</dimen>
<dimen name="watch_face_big_chart_svg_text_size">30sp</dimen>