AndroidAPS/wear/src/main/res/layout/grid_layout.xml

40 lines
1.3 KiB
XML
Raw Normal View History

2017-02-09 06:32:29 +01:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
2022-01-12 12:22:08 +01:00
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">
2021-12-08 15:20:34 +01:00
<androidx.wear.widget.CurvedTextView
android:id="@+id/title_curved"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Title"
android:textSize="18sp"
android:visibility="gone" />
2017-02-09 06:32:29 +01:00
2021-12-01 21:13:10 +01:00
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
2021-12-06 20:45:29 +01:00
android:layout_height="26dp"
2021-12-08 15:20:34 +01:00
android:autoSizeMaxTextSize="18sp"
android:autoSizeMinTextSize="12sp"
android:autoSizeTextType="uniform"
2021-12-01 21:13:10 +01:00
android:gravity="center"
2021-12-08 15:20:34 +01:00
android:text="Title"
android:textSize="18sp" />
2021-12-01 21:13:10 +01:00
2017-02-09 06:32:29 +01:00
<android.support.wearable.view.GridViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:keepScreenOn="true" />
<android.support.wearable.view.DotsPageIndicator
android:id="@+id/page_indicator"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-01-12 12:22:08 +01:00
android:layout_gravity="center_horizontal|bottom"
app:dotFadeOutDelay="100000"/>
2017-02-09 06:32:29 +01:00
2021-12-08 15:20:34 +01:00
</FrameLayout>