AndroidAPS/app/src/main/res/layout/wear_fragment.xml

42 lines
1.6 KiB
XML
Raw Normal View History

2022-05-16 15:56:00 +02:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2016-11-24 12:54:14 +01:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
2022-05-16 15:56:00 +02:00
android:layout_height="wrap_content"
android:orientation="vertical"
2018-06-08 19:22:03 +02:00
android:paddingTop="2dp"
2019-02-28 23:16:50 +01:00
tools:context=".plugins.general.wear.WearFragment">
2016-11-24 12:54:14 +01:00
2022-05-16 15:56:00 +02:00
<TextView
android:id="@+id/connected_device"
2016-11-24 12:54:14 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-05-16 15:56:00 +02:00
android:gravity="center_vertical|center_horizontal"
android:paddingTop="10dp"
android:paddingBottom="10dp"
2022-07-05 12:52:30 +02:00
android:text="@string/no_watch_connected"
2022-05-16 15:56:00 +02:00
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
tools:ignore="HardcodedText" />
2016-11-24 12:54:14 +01:00
2022-05-16 15:56:00 +02:00
<com.google.android.material.button.MaterialButton
android:id="@+id/resend"
style="@style/GrayButton"
android:layout_width="match_parent"
2022-05-18 22:44:46 +02:00
android:layout_height="wrap_content"
2022-05-16 15:56:00 +02:00
android:drawableTop="@drawable/ic_refresh"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:text="@string/resend_all_data"
android:textColor="?attr/treatmentButton" />
2022-04-11 14:25:00 +02:00
2022-05-16 15:56:00 +02:00
<com.google.android.material.button.MaterialButton
android:id="@+id/open_settings"
style="@style/GrayButton"
android:layout_width="match_parent"
2022-05-18 22:44:46 +02:00
android:layout_height="wrap_content"
2022-05-16 15:56:00 +02:00
android:drawableTop="@drawable/ic_settings"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:text="@string/open_settings_on_wear"
android:textColor="?attr/treatmentButton" />
2016-11-24 12:54:14 +01:00
2022-05-16 15:56:00 +02:00
</LinearLayout>