...
This commit is contained in:
@@ -1,49 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<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="wrap_content"
|
||||
android:padding="@dimen/twelve">
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/useDateTime"
|
||||
android:text="USE DateTimeView"
|
||||
android:textColor="@color/white"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<bums.lunatic.launcher.view.DateTimeView
|
||||
android:id="@+id/previewDateTime"
|
||||
app:layout_constraintTop_toBottomOf="@+id/useDateTime"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="60dp"/>
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/timeFormat"
|
||||
android:id="@+id/timeDateTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/time_format"
|
||||
android:text="date, time format"
|
||||
android:textSize="@dimen/normalText"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toBottomOf="@id/previewDateTime"/>
|
||||
|
||||
<com.google.android.material.chip.ChipGroup
|
||||
android:id="@+id/timeGroup"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:id="@+id/timeFormatParent"
|
||||
android:layout_width="@dimen/twoSeventySix"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/twelve"
|
||||
android:hint="@string/time_format"
|
||||
app:endIconMode="clear_text"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/timeFormat"
|
||||
app:selectionRequired="true"
|
||||
app:singleSelection="true">
|
||||
app:layout_constraintTop_toBottomOf="@+id/timeDateTitle">
|
||||
|
||||
<com.google.android.material.chip.Chip
|
||||
android:id="@+id/selectTwelve"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/twelve"
|
||||
style="@style/Widget.Material3.Chip.Filter.Elevated" />
|
||||
<com.google.android.material.chip.Chip
|
||||
android:id="@+id/followSystemTime"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/follow_system"
|
||||
style="@style/Widget.Material3.Chip.Filter.Elevated" />
|
||||
<com.google.android.material.chip.Chip
|
||||
android:id="@+id/selectTwentyFour"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/twenty_four"
|
||||
style="@style/Widget.Material3.Chip.Filter.Elevated" />
|
||||
</com.google.android.material.chip.ChipGroup>
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/timeFormat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:imeOptions="actionDone"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:id="@+id/dateFormatParent"
|
||||
@@ -54,7 +64,7 @@
|
||||
app:endIconMode="clear_text"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/timeGroup">
|
||||
app:layout_constraintTop_toBottomOf="@+id/timeFormatParent">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/dateFormat"
|
||||
@@ -64,4 +74,5 @@
|
||||
android:imeOptions="actionDone"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Reference in New Issue
Block a user