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

78 lines
3 KiB
XML
Raw Normal View History

2019-06-03 00:03:06 +02:00
<?xml version="1.0" encoding="utf-8"?>
2019-07-13 21:27:26 +02:00
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2019-06-03 00:03:06 +02:00
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
2021-02-02 21:04:44 +01:00
android:id="@+id/status"
2019-06-03 00:03:06 +02:00
android:layout_width="0dp"
android:layout_height="wrap_content"
2019-06-06 23:25:21 +02:00
android:layout_marginStart="1dp"
android:layout_marginTop="32dp"
2019-06-03 00:03:06 +02:00
android:text="-"
2019-06-06 23:25:21 +02:00
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
2019-06-03 00:03:06 +02:00
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
style="@style/GrayButton"
2021-02-02 21:04:44 +01:00
android:id="@+id/login"
2019-06-03 00:03:06 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-06-06 23:25:21 +02:00
android:layout_marginTop="8dp"
android:text="Login"
app:layout_constraintStart_toStartOf="parent"
2021-02-02 21:04:44 +01:00
app:layout_constraintTop_toBottomOf="@+id/status" />
2019-06-06 23:25:21 +02:00
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
style="@style/GrayButton"
2021-02-02 21:04:44 +01:00
android:id="@+id/uploadnow"
2019-06-06 23:25:21 +02:00
android:layout_width="113dp"
android:layout_height="50dp"
android:layout_marginTop="8dp"
2019-06-03 00:03:06 +02:00
android:text="Upload now"
2021-02-02 21:04:44 +01:00
app:layout_constraintStart_toEndOf="@+id/login"
app:layout_constraintTop_toBottomOf="@+id/status" />
2019-06-03 00:03:06 +02:00
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
style="@style/GrayButton"
2021-02-02 21:04:44 +01:00
android:id="@+id/removeall"
2019-06-03 00:03:06 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-06-06 23:25:21 +02:00
android:layout_marginStart="4dp"
android:layout_marginTop="8dp"
2019-06-03 00:03:06 +02:00
android:text="Remove all"
2021-02-02 21:04:44 +01:00
app:layout_constraintStart_toEndOf="@+id/uploadnow"
app:layout_constraintTop_toBottomOf="@+id/status" />
2019-06-05 00:22:57 +02:00
2022-02-23 19:05:55 +01:00
<com.google.android.material.button.MaterialButton
style="@style/GrayButton"
2021-02-02 21:04:44 +01:00
android:id="@+id/resertstart"
2019-06-05 00:22:57 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-06-06 23:25:21 +02:00
android:layout_marginStart="4dp"
android:layout_marginTop="8dp"
2019-06-05 00:22:57 +02:00
android:text="Reset start"
2021-02-02 21:04:44 +01:00
app:layout_constraintStart_toEndOf="@+id/removeall"
app:layout_constraintTop_toBottomOf="@+id/status" />
2019-06-06 23:25:21 +02:00
2019-06-07 15:40:05 +02:00
<ScrollView
2021-02-02 21:04:44 +01:00
android:id="@+id/logscrollview"
2019-06-07 15:40:05 +02:00
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
2019-06-06 23:25:21 +02:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
2019-06-05 00:22:57 +02:00
app:layout_constraintStart_toStartOf="parent"
2021-02-02 21:04:44 +01:00
app:layout_constraintTop_toBottomOf="@+id/login"
2019-06-07 15:40:05 +02:00
app:layout_constraintVertical_bias="0.023">
<TextView
2021-02-02 21:04:44 +01:00
android:id="@+id/log"
2019-06-07 15:40:05 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="-- logs --" />
</ScrollView>
2019-06-06 23:25:21 +02:00
2019-07-13 21:27:26 +02:00
</androidx.constraintlayout.widget.ConstraintLayout>