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

85 lines
3.1 KiB
XML
Raw Normal View History

2018-07-30 17:04:43 +02:00
<?xml version="1.0" encoding="utf-8"?>
2019-12-31 15:04:20 +01:00
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2018-07-30 17:04:43 +02:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
2019-02-28 23:16:50 +01:00
tools:context=".plugins.general.maintenance.activities.LogSettingActivity">
2018-07-30 17:04:43 +02:00
2019-12-31 15:04:20 +01:00
<LinearLayout
2018-07-30 17:04:43 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-12-31 15:04:20 +01:00
android:orientation="vertical">
2018-07-30 17:04:43 +02:00
2019-12-31 15:04:20 +01:00
<RelativeLayout
2018-07-30 17:04:43 +02:00
android:layout_width="match_parent"
2019-12-31 15:04:20 +01:00
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="?attr/activity_title_backgroundColor"
2019-12-31 15:04:20 +01:00
android:orientation="horizontal"
android:padding="5dp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:importantForAccessibility="no"
2019-12-31 15:04:20 +01:00
app:srcCompat="@mipmap/ic_launcher" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_gravity="center"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
2019-12-31 15:04:20 +01:00
android:text="@string/nav_logsettings"
android:textAlignment="center"
android:textAppearance="?android:attr/textAppearanceLarge" />
</RelativeLayout>
<LinearLayout
android:id="@+id/spacer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="5dp" />
2018-07-30 17:04:43 +02:00
<LinearLayout
2021-01-22 14:34:13 +01:00
android:id="@+id/placeholder"
2018-07-30 17:04:43 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-04-08 17:03:18 +02:00
android:orientation="vertical" />
2018-07-30 17:04:43 +02:00
2019-12-31 15:04:20 +01:00
<LinearLayout
android:id="@+id/done_background"
android:layout_width="match_parent"
android:layout_height="56dp"
android:orientation="horizontal"
android:background="@android:color/transparent"
android:gravity="end"
android:layout_gravity="center_vertical"
android:paddingBottom="8dp">
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
2021-01-22 14:34:13 +01:00
android:id="@+id/reset"
2019-12-31 15:04:20 +01:00
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginEnd="8dp"
2022-02-23 23:40:10 +01:00
style="@style/OkCancelButton.Text"
2019-12-31 15:04:20 +01:00
android:text="@string/resettodefaults" />
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
2019-12-31 15:04:20 +01:00
android:id="@+id/ok"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
2022-02-23 23:40:10 +01:00
style="@style/OkCancelButton.Text"
2022-02-23 19:05:55 +01:00
android:text="@string/ok" />
2019-12-31 15:04:20 +01:00
</LinearLayout>
</LinearLayout>
2018-07-30 17:04:43 +02:00
2019-12-31 15:04:20 +01:00
</ScrollView>