Minor cleanup

This commit is contained in:
Arty Bishop committed 2019-12-07 18:35:07 +00:00
1 parent 571164cdd5
commit d8bb1ae796
5 files changed
+6 -71

No files matched your search

-49
View File
@@ -1,49 +0,0 @@
<?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/pref_hours_ahead_title"
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/pref_hours_ahead_title"
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/pref_min_el_title"
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/pref_min_el_title"
android:importantForAutofill="no"
android:inputType="numberDecimal"
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>
-1
View File
@@ -36,7 +36,6 @@
<string name="btn_cancel">Cancel</string>
<string name="btn_clear">Clear All</string>
<string name="title_pass_pref">Passes preferences</string>
<string name="title_select_sat">Select satellites to track</string>
<string name="pref_gsp_title">Ground station position settings</string>
+1 -1
View File
@@ -29,7 +29,7 @@
android:summary="@string/pref_hours_ahead_summary"
android:title="@string/pref_hours_ahead_title" />
<EditTextPreference
android:defaultValue="@string/def_hours_ahead"
android:defaultValue="@string/def_min_el"
android:key="@string/key_min_el"
android:selectAllOnFocus="true"
android:singleLine="true"