Add 2 additional freetext fields

This commit is contained in:
Philoul 2023-08-17 12:56:27 +02:00
parent 2f1e387cc9
commit 533f9d2f7a
2 changed files with 24 additions and 0 deletions

View file

@ -376,6 +376,8 @@ class CustomWatchface : BaseWatchFace() {
COVER_CHART(CustomWatchfaceDrawableDataKey.COVERCHART.key, R.id.cover_chart, null), COVER_CHART(CustomWatchfaceDrawableDataKey.COVERCHART.key, R.id.cover_chart, null),
FREETEXT1("freetext1", R.id.freetext1, null), FREETEXT1("freetext1", R.id.freetext1, null),
FREETEXT2("freetext2", R.id.freetext2, null), FREETEXT2("freetext2", R.id.freetext2, null),
FREETEXT3("freetext3", R.id.freetext3, null),
FREETEXT4("freetext4", R.id.freetext4, null),
IOB1("iob1", R.id.iob1, R.string.key_show_iob), IOB1("iob1", R.id.iob1, R.string.key_show_iob),
IOB2("iob2", R.id.iob2, R.string.key_show_iob), IOB2("iob2", R.id.iob2, R.string.key_show_iob),
COB1("cob1", R.id.cob1, R.string.key_show_cob), COB1("cob1", R.id.cob1, R.string.key_show_cob),

View file

@ -56,6 +56,28 @@
android:visibility="gone" android:visibility="gone"
android:textColor="@color/light_grey" /> android:textColor="@color/light_grey" />
<TextView
android:id="@+id/freetext3"
android:layout_width="0px"
android:layout_height="0px"
android:layout_marginTop="0px"
android:layout_marginLeft="0px"
android:textSize="21px"
android:gravity="center"
android:visibility="gone"
android:textColor="@color/light_grey" />
<TextView
android:id="@+id/freetext4"
android:layout_width="0px"
android:layout_height="0px"
android:layout_marginTop="0px"
android:layout_marginLeft="0px"
android:textSize="21px"
android:gravity="center"
android:visibility="gone"
android:textColor="@color/light_grey" />
<TextView <TextView
android:id="@+id/iob1" android:id="@+id/iob1"
android:layout_width="130px" android:layout_width="130px"