mirror of
https://github.com/rt-bishop/Look4Sat.git
synced 2026-10-03 11:37:24 +00:00
Added automatic data update toggle #96
This commit is contained in:
1 parent
836fac2bb7
commit
ccad82aa6d
10 files changed
+111
-42
No files matched your search
@@ -30,13 +30,25 @@
|
||||
android:layout_marginTop="6dp"
|
||||
android:minHeight="42dp"
|
||||
android:text="@string/other_switch_utc"
|
||||
app:layout_constraintBottom_toTopOf="@+id/other_switch_sweep"
|
||||
app:layout_constraintBottom_toTopOf="@+id/other_switch_update"
|
||||
app:layout_constraintEnd_toEndOf="@+id/other_title"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toStartOf="@+id/other_title"
|
||||
app:layout_constraintTop_toBottomOf="@+id/other_title"
|
||||
app:trackTint="@color/textDisabled" />
|
||||
|
||||
<com.google.android.material.switchmaterial.SwitchMaterial
|
||||
android:id="@+id/other_switch_update"
|
||||
style="@style/SettingsText"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="42dp"
|
||||
android:text="@string/other_switch_update"
|
||||
app:layout_constraintBottom_toTopOf="@+id/other_switch_sweep"
|
||||
app:layout_constraintEnd_toEndOf="@+id/other_switch_utc"
|
||||
app:layout_constraintStart_toStartOf="@+id/other_switch_utc"
|
||||
app:layout_constraintTop_toBottomOf="@+id/other_switch_utc"
|
||||
app:trackTint="@color/textDisabled" />
|
||||
|
||||
<com.google.android.material.switchmaterial.SwitchMaterial
|
||||
android:id="@+id/other_switch_sweep"
|
||||
style="@style/SettingsText"
|
||||
@@ -45,10 +57,9 @@
|
||||
android:minHeight="42dp"
|
||||
android:text="@string/other_switch_sweep"
|
||||
app:layout_constraintBottom_toTopOf="@+id/other_switch_sensors"
|
||||
app:layout_constraintEnd_toEndOf="@+id/other_switch_utc"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toStartOf="@+id/other_switch_utc"
|
||||
app:layout_constraintTop_toBottomOf="@+id/other_switch_utc"
|
||||
app:layout_constraintEnd_toEndOf="@+id/other_switch_update"
|
||||
app:layout_constraintStart_toStartOf="@+id/other_switch_update"
|
||||
app:layout_constraintTop_toBottomOf="@+id/other_switch_update"
|
||||
app:trackTint="@color/textDisabled" />
|
||||
|
||||
<com.google.android.material.switchmaterial.SwitchMaterial
|
||||
@@ -60,9 +71,8 @@
|
||||
android:minHeight="42dp"
|
||||
android:text="@string/other_switch_sensors"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="@+id/other_switch_utc"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toStartOf="@+id/other_switch_utc"
|
||||
app:layout_constraintEnd_toEndOf="@+id/other_switch_sweep"
|
||||
app:layout_constraintStart_toStartOf="@+id/other_switch_sweep"
|
||||
app:layout_constraintTop_toBottomOf="@+id/other_switch_sweep"
|
||||
app:trackTint="@color/textDisabled" />
|
||||
|
||||
|
||||
@@ -149,6 +149,7 @@
|
||||
|
||||
<string name="other_title">Другие настройки</string>
|
||||
<string name="other_switch_utc">Показывать время по UTC</string>
|
||||
<string name="other_switch_update">Обновлять данные автоматически</string>
|
||||
<string name="other_switch_sweep">Показывать анимацию радара</string>
|
||||
<string name="other_switch_sensors">Использовать сенсоры устройства</string>
|
||||
|
||||
|
||||
@@ -150,6 +150,7 @@
|
||||
|
||||
<string name="other_title">Other preferences</string>
|
||||
<string name="other_switch_utc">Show pass time in UTC</string>
|
||||
<string name="other_switch_update">Enable automatic data update</string>
|
||||
<string name="other_switch_sweep">Enable radar sweep animation</string>
|
||||
<string name="other_switch_sensors">Use sensors to rotate radar view</string>
|
||||
|
||||
|
||||
Reference in new issue
Block a user