mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
68 lines
No EOL
3 KiB
XML
68 lines
No EOL
3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/colorAdvancedBackground">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/positionBroadcastPeriodView"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:hint="@string/broadcast_position_secs"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/positionBroadcastPeriodEditText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:imeOptions="actionDone"
|
|
android:inputType="number"
|
|
android:singleLine="true" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/positionBroadcastSwitch"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
app:layout_constraintBottom_toBottomOf="@id/positionBroadcastPeriodView"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="@id/positionBroadcastPeriodView" />
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/lsSleepView"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:hint="@string/ls_sleep_secs"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/positionBroadcastPeriodView">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/lsSleepEditText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:imeOptions="actionDone"
|
|
android:inputType="number"
|
|
android:singleLine="true" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/lsSleepSwitch"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
app:layout_constraintBottom_toBottomOf="@id/lsSleepView"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="@id/lsSleepView" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |