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

51 lines
1.9 KiB
XML
Raw Normal View History

2016-11-24 12:54:14 +01:00
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
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
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2022-04-11 14:25:00 +02:00
<TextView
android:id="@+id/connected_device"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical|center_horizontal"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
tools:text="---" />
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
2021-01-23 22:42:13 +01:00
android:id="@+id/resend"
2022-04-22 22:44:27 +02:00
style="@style/GrayButton"
2022-04-11 14:25:00 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:drawableTop="@drawable/ic_refresh"
android:paddingLeft="0dp"
android:paddingRight="0dp"
2022-04-22 22:44:27 +02:00
android:text="@string/resend_all_data"
android:textColor="?attr/treatmentButton" />
2016-11-24 16:08:01 +01:00
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
2022-04-11 14:25:00 +02:00
android:id="@+id/open_settings"
2022-02-23 19:05:55 +01:00
style="@style/GrayButton"
2022-04-11 14:25:00 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:drawableTop="@drawable/ic_settings"
android:paddingLeft="0dp"
android:paddingRight="0dp"
2016-11-29 15:01:00 +01:00
android:text="@string/open_settings_on_wear"
android:textColor="?attr/treatmentButton" />
2016-11-24 12:54:14 +01:00
</LinearLayout>
</FrameLayout>