mirror of
https://github.com/rt-bishop/Look4Sat.git
synced 2026-10-04 11:57:21 +00:00
Added pass preferences dialog. Pass prefs are stored in sharedPrefs.
This commit is contained in:
1 parent
cc53847374
commit
0f5b734933
6 files changed
+119
-14
No files matched your search
@@ -0,0 +1,49 @@
|
||||
<?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:id="@+id/pass_pref_root"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/pass_pref_tv_hours"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/pass_pref_tv_hours"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/pass_pref_et_hours"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/pass_pref_hint_hours"
|
||||
android:importantForAutofill="no"
|
||||
android:inputType="number"
|
||||
app:layout_constraintEnd_toEndOf="@+id/pass_pref_tv_hours"
|
||||
app:layout_constraintStart_toStartOf="@+id/pass_pref_tv_hours"
|
||||
app:layout_constraintTop_toBottomOf="@+id/pass_pref_tv_hours" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/pass_pref_tv_maxEl"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/pass_pref_tv_maxEl"
|
||||
app:layout_constraintEnd_toEndOf="@+id/pass_pref_et_hours"
|
||||
app:layout_constraintStart_toStartOf="@+id/pass_pref_et_hours"
|
||||
app:layout_constraintTop_toBottomOf="@+id/pass_pref_et_hours" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/pass_pref_et_maxEl"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/pass_pref_hint_maxEl"
|
||||
android:importantForAutofill="no"
|
||||
android:inputType="number"
|
||||
app:layout_constraintEnd_toEndOf="@+id/pass_pref_tv_maxEl"
|
||||
app:layout_constraintStart_toStartOf="@+id/pass_pref_tv_maxEl"
|
||||
app:layout_constraintTop_toBottomOf="@+id/pass_pref_tv_maxEl" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Reference in new issue
Block a user