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

117 lines
4.7 KiB
XML
Raw Normal View History

<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"
android:paddingTop="2dp"
2019-02-28 23:16:50 +01:00
tools:context=".plugins.general.maintenance.MaintenanceFragment">
2022-03-03 20:54:42 +01:00
<com.google.android.material.button.MaterialButton
android:id="@+id/unlock"
style="@style/GrayButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/unlock_settings" />
<LinearLayout
2022-03-03 20:54:42 +01:00
android:id="@+id/main_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
2018-08-02 15:19:13 +02:00
android:id="@+id/nav_logsettings"
2022-02-23 19:05:55 +01:00
style="@style/GrayButton"
2018-08-02 15:19:13 +02:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="3dp"
2022-02-23 19:05:55 +01:00
android:layout_marginRight="10dp"
android:layout_marginBottom="3dp"
2018-08-02 15:19:13 +02:00
android:layout_weight="0.5"
android:text="@string/nav_logsettings"
android:textColor="@color/colorTreatmentButton" />
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
android:id="@+id/log_send"
2022-02-23 19:05:55 +01:00
style="@style/GrayButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="3dp"
2022-02-23 19:05:55 +01:00
android:layout_marginRight="10dp"
android:layout_marginBottom="3dp"
android:layout_weight="0.5"
android:text="@string/send_all_logs"
android:textColor="@color/colorTreatmentButton" />
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
android:id="@+id/log_delete"
2022-02-23 19:05:55 +01:00
style="@style/GrayButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="3dp"
2022-02-23 19:05:55 +01:00
android:layout_marginRight="10dp"
android:layout_marginBottom="3dp"
android:layout_weight="0.5"
android:text="@string/delete_logs"
android:textColor="@color/colorTreatmentButton" />
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
android:id="@+id/nav_export"
2022-02-23 19:05:55 +01:00
style="@style/GrayButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="3dp"
2022-02-23 19:05:55 +01:00
android:layout_marginRight="10dp"
android:layout_marginBottom="3dp"
android:layout_weight="0.5"
android:text="@string/nav_export"
android:textColor="@color/colorTreatmentButton" />
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
android:id="@+id/nav_import"
2022-02-23 19:05:55 +01:00
style="@style/GrayButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="3dp"
2022-02-23 19:05:55 +01:00
android:layout_marginRight="10dp"
android:layout_marginBottom="3dp"
android:layout_weight="0.5"
android:text="@string/nav_import"
android:textColor="@color/colorTreatmentButton" />
2021-03-08 21:42:16 +01:00
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
2021-03-08 21:42:16 +01:00
android:id="@+id/export_csv"
2022-02-23 19:05:55 +01:00
style="@style/GrayButton"
2021-03-08 21:42:16 +01:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="3dp"
2022-02-23 19:05:55 +01:00
android:layout_marginRight="10dp"
android:layout_marginBottom="3dp"
2021-03-08 21:42:16 +01:00
android:layout_weight="0.5"
android:text="@string/ue_export_to_csv"
android:textColor="@color/colorTreatmentButton" />
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
android:id="@+id/nav_resetdb"
2022-02-23 19:05:55 +01:00
style="@style/GrayButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="3dp"
2022-02-23 19:05:55 +01:00
android:layout_marginRight="10dp"
android:layout_marginBottom="3dp"
android:layout_weight="0.5"
android:text="@string/nav_resetdb"
android:textColor="@color/colorTreatmentButton" />
</LinearLayout>
</FrameLayout>