mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-04 19:47:22 +00:00
Replaced PreferencesAPI fragment with a regular one
This commit is contained in:
1 parent
1156824463
commit
9ca8ec65c4
25 files changed
+846
-454
No files matched your search
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="@color/themeLight"
|
||||
android:pathData="M12,8c-2.21,0 -4,1.79 -4,4s1.79,4 4,4 4,-1.79 4,-4 -1.79,-4 -4,-4zM20.94,11c-0.46,-4.17 -3.77,-7.48 -7.94,-7.94L13,1h-2v2.06C6.83,3.52 3.52,6.83 3.06,11L1,11v2h2.06c0.46,4.17 3.77,7.48 7.94,7.94L11,23h2v-2.06c4.17,-0.46 7.48,-3.77 7.94,-7.94L23,13v-2h-2.06zM12,19c-3.87,0 -7,-3.13 -7,-7s3.13,-7 7,-7 7,3.13 7,7 -3.13,7 -7,7z" />
|
||||
</vector>
|
||||
File renamed without changes.
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="@color/themeLight"
|
||||
android:pathData="M21.41,11.58l-9,-9C12.05,2.22 11.55,2 11,2H4c-1.1,0 -2,0.9 -2,2v7c0,0.55 0.22,1.05 0.59,1.42l9,9c0.36,0.36 0.86,0.58 1.41,0.58 0.55,0 1.05,-0.22 1.41,-0.59l7,-7c0.37,-0.36 0.59,-0.86 0.59,-1.41 0,-0.55 -0.23,-1.06 -0.59,-1.42zM5.5,7C4.67,7 4,6.33 4,5.5S4.67,4 5.5,4 7,4.67 7,5.5 6.33,7 5.5,7z" />
|
||||
</vector>
|
||||
@@ -0,0 +1,98 @@
|
||||
<?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="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/about_img"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:contentDescription="@string/placeholder"
|
||||
android:src="@drawable/ic_nav_entries"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/about_version"
|
||||
app:layout_constraintDimensionRatio="h,1:1"
|
||||
app:layout_constraintEnd_toStartOf="@+id/about_title"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/about_title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:includeFontPadding="false"
|
||||
android:text="@string/app_name"
|
||||
android:textColor="@color/themeLight"
|
||||
android:textSize="48sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/about_img"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_version"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/about_version"
|
||||
android:textColor="@color/greyLight"
|
||||
android:textSize="22sp"
|
||||
app:layout_constraintStart_toStartOf="@+id/about_title"
|
||||
app:layout_constraintTop_toBottomOf="@+id/about_title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_subtitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:text="@string/about_subtitle"
|
||||
android:textSize="20sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/about_version" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/about_btn_github"
|
||||
style="@style/InfoButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:drawableStart="@drawable/ic_github"
|
||||
android:text="@string/about_github"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/about_btn_donate"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/about_subtitle" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/about_btn_donate"
|
||||
style="@style/InfoButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableStart="@drawable/ic_bmc"
|
||||
android:text="@string/about_support"
|
||||
app:layout_constraintBaseline_toBaselineOf="@+id/about_btn_github"
|
||||
app:layout_constraintEnd_toStartOf="@+id/about_btn_fdroid"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toEndOf="@+id/about_btn_github" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/about_btn_fdroid"
|
||||
style="@style/InfoButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:drawableStart="@drawable/ic_fdroid"
|
||||
android:text="@string/about_fdroid"
|
||||
app:layout_constraintBaseline_toBaselineOf="@+id/about_btn_github"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toEndOf="@+id/about_btn_donate" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?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="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/location_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/location_title"
|
||||
android:textColor="@color/themeLight"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/location_btn_gps"
|
||||
style="@style/InfoButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:drawableStart="@drawable/ic_gps"
|
||||
android:text="@string/location_gps"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/location_btn_qth"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/location_title" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/location_btn_qth"
|
||||
style="@style/InfoButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:drawableStart="@drawable/ic_qth"
|
||||
android:text="@string/location_qth"
|
||||
app:layout_constraintBaseline_toBaselineOf="@+id/location_btn_gps"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toEndOf="@+id/location_btn_gps" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -0,0 +1,56 @@
|
||||
<?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="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/other_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/other_title"
|
||||
android:textColor="@color/themeLight"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/other_switch_utc"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:minHeight="48dp"
|
||||
android:text="@string/other_switch_utc"
|
||||
android:textColor="@color/greyLight"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/other_title" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/other_switch_sweep"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="48dp"
|
||||
android:text="@string/other_switch_sweep"
|
||||
android:textColor="@color/greyLight"
|
||||
app:layout_constraintEnd_toEndOf="@+id/other_switch_utc"
|
||||
app:layout_constraintStart_toStartOf="@+id/other_switch_utc"
|
||||
app:layout_constraintTop_toBottomOf="@+id/other_switch_utc" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/other_switch_sensors"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:minHeight="48dp"
|
||||
android:text="@string/other_switch_sensors"
|
||||
android:textColor="@color/greyLight"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="@+id/other_switch_utc"
|
||||
app:layout_constraintStart_toStartOf="@+id/other_switch_sweep"
|
||||
app:layout_constraintTop_toBottomOf="@+id/other_switch_sweep" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -0,0 +1,72 @@
|
||||
<?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="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tracking_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/tracking_title"
|
||||
android:textColor="@color/themeLight"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/tracking_switch"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:minHeight="48dp"
|
||||
android:text="@string/tracking_switch"
|
||||
android:textColor="@color/greyLight"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tracking_title" />
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:id="@+id/tracking_ip"
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/tracking_port"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tracking_switch"
|
||||
app:layout_constraintWidth_percent="0.69">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/tracking_ip_edit"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/tracking_ip_hint" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:id="@+id/tracking_port"
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tracking_ip"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toEndOf="@+id/tracking_ip"
|
||||
app:layout_constraintTop_toTopOf="@+id/tracking_ip">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/tracking_port_edit"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/tracking_port_hint" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?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="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/update_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/update_title"
|
||||
android:textColor="@color/themeLight"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/update_btn_web"
|
||||
style="@style/InfoButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:drawableStart="@drawable/ic_update_web"
|
||||
android:text="@string/update_web"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/update_btn_file"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/update_title" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/update_btn_file"
|
||||
style="@style/InfoButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:drawableStart="@drawable/ic_update_file"
|
||||
android:text="@string/update_file"
|
||||
app:layout_constraintBaseline_toBaselineOf="@+id/update_btn_web"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toEndOf="@+id/update_btn_web" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -0,0 +1,47 @@
|
||||
<?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="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/warranty_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/warranty_title"
|
||||
android:textColor="@color/themeLight"
|
||||
android:textSize="15sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/warranty_thanks"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:text="@string/warranty_thanks"
|
||||
android:textColor="@color/greyLight"
|
||||
android:textSize="15sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/warranty_title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/warranty_license"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:text="@string/warranty_license"
|
||||
android:textColor="@color/greyLight"
|
||||
android:textSize="15sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="@+id/warranty_thanks"
|
||||
app:layout_constraintStart_toStartOf="@+id/warranty_thanks"
|
||||
app:layout_constraintTop_toBottomOf="@+id/warranty_thanks" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -1,132 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/info_scroll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".presentation.infoScreen.InfoFragment">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/info_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/info_title_img"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:contentDescription="@string/placeholder"
|
||||
android:src="@drawable/ic_nav_entries"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/info_version"
|
||||
app:layout_constraintDimensionRatio="h,1:1"
|
||||
app:layout_constraintEnd_toStartOf="@+id/info_title"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/info_title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/info_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="@string/app_name"
|
||||
android:textColor="@color/themeLight"
|
||||
android:textSize="48sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/info_title_img"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/info_version"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/info_version"
|
||||
android:textColor="@color/greyLight"
|
||||
android:textSize="22sp"
|
||||
app:layout_constraintStart_toStartOf="@+id/info_title"
|
||||
app:layout_constraintTop_toBottomOf="@+id/info_title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/info_subtitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/info_subtitle"
|
||||
android:textSize="20sp"
|
||||
app:layout_constraintEnd_toEndOf="@+id/info_title"
|
||||
app:layout_constraintStart_toStartOf="@+id/info_title_img"
|
||||
app:layout_constraintTop_toBottomOf="@+id/info_version" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/info_btn_github"
|
||||
style="@style/InfoButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:drawableStart="@drawable/ic_github"
|
||||
android:text="@string/info_github"
|
||||
app:layout_constraintEnd_toStartOf="@+id/info_btn_donate"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintHorizontal_chainStyle="spread"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/info_subtitle" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/info_btn_fdroid"
|
||||
style="@style/InfoButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:drawableStart="@drawable/ic_fdroid"
|
||||
android:text="@string/info_fdroid"
|
||||
app:layout_constraintBaseline_toBaselineOf="@+id/info_btn_donate"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toEndOf="@+id/info_btn_donate" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/info_btn_donate"
|
||||
style="@style/InfoButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableStart="@drawable/ic_bmc"
|
||||
android:text="@string/info_support"
|
||||
app:layout_constraintBaseline_toBaselineOf="@+id/info_btn_github"
|
||||
app:layout_constraintEnd_toStartOf="@+id/info_btn_fdroid"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toEndOf="@+id/info_btn_github" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/info_thanks"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/info_thanks"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/info_btn_donate" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/info_warranty"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/info_warranty"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="@+id/info_thanks"
|
||||
app:layout_constraintStart_toStartOf="@+id/info_thanks"
|
||||
app:layout_constraintTop_toBottomOf="@+id/info_thanks" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</ScrollView>
|
||||
@@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView 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:scrollbars="none">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/card_prefs_info"
|
||||
style="@style/CardPreferences"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<include
|
||||
android:id="@+id/prefs_info"
|
||||
layout="@layout/card_prefs_about" />
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/card_prefs_data"
|
||||
style="@style/CardPreferences"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/card_prefs_info">
|
||||
|
||||
<include
|
||||
android:id="@+id/prefs_data"
|
||||
layout="@layout/card_prefs_update" />
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/card_prefs_location"
|
||||
style="@style/CardPreferences"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/card_prefs_data">
|
||||
|
||||
<include
|
||||
android:id="@+id/prefs_location"
|
||||
layout="@layout/card_prefs_location" />
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/card_prefs_tracking"
|
||||
style="@style/CardPreferences"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/card_prefs_location">
|
||||
|
||||
<include
|
||||
android:id="@+id/prefs_tracking"
|
||||
layout="@layout/card_prefs_tracking" />
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/card_prefs_other"
|
||||
style="@style/CardPreferences"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/card_prefs_tracking">
|
||||
|
||||
<include
|
||||
android:id="@+id/prefs_other"
|
||||
layout="@layout/card_prefs_other" />
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/card_prefs_warranty"
|
||||
style="@style/CardPreferences"
|
||||
android:layout_marginBottom="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/card_prefs_other">
|
||||
|
||||
<include
|
||||
android:id="@+id/prefs_warranty"
|
||||
layout="@layout/card_prefs_warranty" />
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</ScrollView>
|
||||
@@ -13,11 +13,7 @@
|
||||
android:icon="@drawable/ic_nav_map"
|
||||
android:title="@string/menu_map" />
|
||||
<item
|
||||
android:id="@+id/nav_settings"
|
||||
android:icon="@drawable/ic_nav_settings"
|
||||
android:id="@+id/nav_prefs"
|
||||
android:icon="@drawable/ic_nav_prefs"
|
||||
android:title="@string/menu_prefs" />
|
||||
<item
|
||||
android:id="@+id/nav_info"
|
||||
android:icon="@drawable/ic_nav_info"
|
||||
android:title="@string/menu_about" />
|
||||
</menu>
|
||||
</menu>
|
||||
@@ -61,12 +61,17 @@
|
||||
android:name="com.rtbishop.look4sat.presentation.mapScreen.MapFragment"
|
||||
tools:layout="@layout/fragment_map" />
|
||||
<fragment
|
||||
android:id="@+id/nav_settings"
|
||||
android:name="com.rtbishop.look4sat.presentation.settingsScreen.SettingsFragment" />
|
||||
<fragment
|
||||
android:id="@+id/nav_info"
|
||||
android:name="com.rtbishop.look4sat.presentation.infoScreen.InfoFragment"
|
||||
tools:layout="@layout/fragment_info" />
|
||||
android:id="@+id/nav_prefs"
|
||||
android:name="com.rtbishop.look4sat.presentation.prefsScreen.PrefsFragment"
|
||||
tools:layout="@layout/fragment_prefs">
|
||||
<action
|
||||
android:id="@+id/action_prefs_to_sources"
|
||||
app:destination="@id/nav_sources"
|
||||
app:enterAnim="@anim/nav_default_enter_anim"
|
||||
app:exitAnim="@anim/nav_default_exit_anim"
|
||||
app:popEnterAnim="@anim/nav_default_pop_enter_anim"
|
||||
app:popExitAnim="@anim/nav_default_pop_exit_anim" />
|
||||
</fragment>
|
||||
<dialog
|
||||
android:id="@+id/nav_sources"
|
||||
android:name="com.rtbishop.look4sat.presentation.sourcesScreen.SourcesDialog"
|
||||
|
||||
@@ -62,27 +62,48 @@
|
||||
<string name="pref_radar_sweep">Показывать анимацию радара</string>
|
||||
<string name="pref_time_utc_title">Показывать время пролета по UTC</string>
|
||||
|
||||
<string name="tracking_title">Настройки слежения</string>
|
||||
<string name="tracking_rotator_switch">Управление поворотным устройством</string>
|
||||
<string name="tracking_rotator_address">IP адрес поворотного устройства</string>
|
||||
<string name="tracking_rotator_address_invalid">Введён неправильный IP адрес</string>
|
||||
<string name="tracking_rotator_port">Порт поворотного устройства</string>
|
||||
<string name="tracking_rotator_port_invalid">Введите порт в диапазоне от 1024 до 65535</string>
|
||||
<string name="about_version">Версия: %s</string>
|
||||
<string name="about_subtitle">Трекер спутников для Android</string>
|
||||
<string name="about_support">Поддержать</string>
|
||||
|
||||
<string name="info_version">Версия: %s</string>
|
||||
<string name="info_subtitle">Трекер спутников для Android</string>
|
||||
<string name="info_support">Поддержать</string>
|
||||
<string name="info_thanks">Огромное спасибо:
|
||||
\n\nВам за использование этого приложения! \nЖелаю всегда чистого неба над головой!
|
||||
\n\n<a href="https://github.com/g4dpz">David A. B. Johnson</a> и
|
||||
<string name="location_title">Местоположение наземной станции</string>
|
||||
<string name="location_gps">Данные GPS</string>
|
||||
<string name="location_gps_null">Нет данных геолокации</string>
|
||||
<string name="location_gps_error">Нет разрешения использовать геоданные</string>
|
||||
<string name="location_qth">Локатор QTH</string>
|
||||
<string name="location_qth_error">Неправильный локатор QTH</string>
|
||||
<string name="location_success">Позиция успешно обновлена</string>
|
||||
|
||||
<string name="other_title">Другие настройки</string>
|
||||
<string name="other_switch_utc">Показывать время пролета по UTC</string>
|
||||
<string name="other_switch_sweep">Показывать анимацию радара</string>
|
||||
<string name="other_switch_sensors">Использовать компас</string>
|
||||
|
||||
<string name="tracking_title">Настройки слежения</string>
|
||||
<string name="tracking_switch">Управление поворотным устройством</string>
|
||||
<string name="tracking_ip_hint">IP адрес</string>
|
||||
<string name="tracking_ip_invalid">Введён неправильный IP адрес</string>
|
||||
<string name="tracking_port_hint">Порт</string>
|
||||
<string name="tracking_port_invalid">Введите порт в диапазоне от 1024 до 65535</string>
|
||||
|
||||
<string name="update_title">Обновление данных спутников</string>
|
||||
<string name="update_web">Из Вэб</string>
|
||||
<string name="update_file">Из Файла</string>
|
||||
<string name="update_error">При обновлении возникли ошибки</string>
|
||||
|
||||
<string name="warranty_title">Я хотел бы сказать спасибо:</string>
|
||||
<string name="warranty_thanks"> • Вам за использование этого приложения! \nЖелаю всегда чистого неба над головой!
|
||||
\n • <a href="https://github.com/g4dpz">David A. B. Johnson</a> и
|
||||
<a href="https://github.com/davidmoten">Dave Moten</a> за работу над predict4java и
|
||||
доступ к ней по <a href="https://gnu.org/licenses/old-licenses/gpl-2.0.en.html">GNU GPLv2</a>
|
||||
\n\n<a href="https://github.com/csete">Alexandru Csete</a> за его программу
|
||||
\n • <a href="https://github.com/csete">Alexandru Csete</a> за его программу
|
||||
Gpredict, которая послужила для меня вдохновением.
|
||||
\n\n<a href="https://celestrak.com/webmaster.php">Доктору T.S. Kelso</a> за его сайт
|
||||
\n • <a href="https://celestrak.com/webmaster.php">Доктору T.S. Kelso</a> за его сайт
|
||||
<a href="https://celestrak.com/">Celestrak</a> и доступ к файлам орбит Two-Line Element.
|
||||
\n\n<a href="https://libre.space/">Libre Space Foundation</a> за проект
|
||||
<a href="https://db.satnogs.org/">SatNOGS</a>, API и базу данных с информацией о спутниках.</string>
|
||||
<string name="info_warranty"><a href="https://sites.google.com/view/look4sat-privacy-policy/home">Политика конфиденциальности.</a>
|
||||
\nЭто ПО поставляется без гарантий. \nПодробности в лицензии <a href="https://www.gnu.org/licenses/gpl-3.0.html">GNU GPLv3</a>.</string>
|
||||
</resources>
|
||||
\n • <a href="https://libre.space/">Libre Space Foundation</a> за проект
|
||||
<a href="https://db.satnogs.org/">SatNOGS</a>, API и базу данных с информацией о спутниках.
|
||||
</string>
|
||||
<string name="warranty_license"><a href="https://sites.google.com/view/look4sat-privacy-policy/home">Политика конфиденциальности.</a>
|
||||
\nЭто ПО поставляется без гарантий. \nПодробности в лицензии <a href="https://www.gnu.org/licenses/gpl-3.0.html">GNU GPLv3</a>.
|
||||
</string>
|
||||
</resources>
|
||||
@@ -3,6 +3,9 @@
|
||||
<color name="themeLight">#FFE082</color>
|
||||
<color name="themeDark">#FFCA28</color>
|
||||
<color name="greyDark">#121212</color>
|
||||
<color name="bgDarkest">#121212</color>
|
||||
<color name="bgDarker">#1E1E1E</color>
|
||||
<color name="bgDark">#2A2A2A</color>
|
||||
<color name="greyLight">#D0D0D0</color>
|
||||
<color name="greyDivider">#808080</color>
|
||||
<color name="greySurface">#1e1e1e</color>
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
<string name="app_name" translatable="false">Look4Sat</string>
|
||||
<string name="placeholder" translatable="false">dummy</string>
|
||||
|
||||
<string name="no">No</string>
|
||||
<string name="yes">Yes</string>
|
||||
<string name="no">No</string>
|
||||
<string name="btn_cancel">Cancel</string>
|
||||
<string name="btn_update">Update</string>
|
||||
|
||||
@@ -84,30 +84,50 @@
|
||||
<string name="pref_radar_sweep">Enable radar sweep animation</string>
|
||||
<string name="pref_compass_title">Use sensors to rotate radar view</string>
|
||||
|
||||
<string name="tracking_title">Tracking preferences</string>
|
||||
<string name="tracking_rotator_switch">Antenna rotator control</string>
|
||||
<string name="tracking_rotator_address">Rotator IP address</string>
|
||||
<string name="tracking_rotator_address_invalid">Please enter a valid IP address</string>
|
||||
<string name="tracking_rotator_port">Rotator port</string>
|
||||
<string name="tracking_rotator_port_invalid">Please enter a port between 1024 to 65535</string>
|
||||
<string name="about_version">Version: %s</string>
|
||||
<string name="about_subtitle">Satellite tracker and pass predictor</string>
|
||||
<string name="about_github" translatable="false">GitHub</string>
|
||||
<string name="about_support">Support</string>
|
||||
<string name="about_fdroid" translatable="false">F-Droid</string>
|
||||
|
||||
<string name="info_version">Version: %s</string>
|
||||
<string name="info_subtitle">Satellite tracker and pass predictor</string>
|
||||
<string name="info_github" translatable="false">GitHub</string>
|
||||
<string name="info_fdroid" translatable="false">F-Droid</string>
|
||||
<string name="info_support">Support</string>
|
||||
<string name="info_thanks">Huge thanks to:
|
||||
\n\nYou for downloading and using Look4Sat! \nMay your sky always be clear!
|
||||
\n\n<a href="https://github.com/g4dpz">David A. B. Johnson</a>
|
||||
<string name="location_title">Station position update</string>
|
||||
<string name="location_gps">From GPS</string>
|
||||
<string name="location_gps_null">No geolocation data</string>
|
||||
<string name="location_gps_error">Check your location permissions</string>
|
||||
<string name="location_qth">From QTH</string>
|
||||
<string name="location_qth_error">Invalid QTH locator</string>
|
||||
<string name="location_success">Position updated successfully</string>
|
||||
|
||||
<string name="other_title">Other preferences</string>
|
||||
<string name="other_switch_utc">Show pass time in UTC</string>
|
||||
<string name="other_switch_sweep">Enable radar sweep animation</string>
|
||||
<string name="other_switch_sensors">Use sensors to rotate radar view</string>
|
||||
|
||||
<string name="tracking_title">Tracking preferences</string>
|
||||
<string name="tracking_switch">Antenna rotator control</string>
|
||||
<string name="tracking_ip_hint">IP address</string>
|
||||
<string name="tracking_ip_invalid">Please enter a valid IP address</string>
|
||||
<string name="tracking_port_hint">Port</string>
|
||||
<string name="tracking_port_invalid">Please enter a port between 1024 to 65535</string>
|
||||
|
||||
<string name="update_title">Satellite data update</string>
|
||||
<string name="update_web">From Web</string>
|
||||
<string name="update_file">From File</string>
|
||||
<string name="update_error">Update completed with errors</string>
|
||||
|
||||
<string name="warranty_title">I would like to say thank you:</string>
|
||||
<string name="warranty_thanks"> • To You for downloading and using Look4Sat! \nMay your sky always be clear!
|
||||
\n • To <a href="https://github.com/g4dpz">David A. B. Johnson</a>
|
||||
and <a href="https://github.com/davidmoten">Dave Moten</a> for creating predict4java lib
|
||||
under the <a href="https://gnu.org/licenses/old-licenses/gpl-2.0.en.html">GNU GPLv2</a> license.
|
||||
\n\n<a href="https://github.com/csete">Alexandru Csete</a> for creating Gpredict
|
||||
\n • To <a href="https://github.com/csete">Alexandru Csete</a> for creating Gpredict
|
||||
satellite tracker that inspired the creation of Look4Sat.
|
||||
\n\n<a href="https://celestrak.com/webmaster.php">Dr T.S. Kelso</a> for maintaining his
|
||||
\n • To <a href="https://celestrak.com/webmaster.php">Dr T.S. Kelso</a> for maintaining his
|
||||
<a href="https://celestrak.com/">Celestrak</a> website that provides access to the TLE data.
|
||||
\n\n<a href="https://libre.space/">Libre Space Foundation</a> for their <a href="https://db.satnogs.org/">SatNOGS</a>
|
||||
API and DB providing a huge amount of satellite data.
|
||||
\n • To <a href="https://libre.space/">Libre Space Foundation</a> for their
|
||||
<a href="https://db.satnogs.org/">SatNOGS</a> API and DB providing a huge amount of satellite data.
|
||||
</string>
|
||||
<string name="info_warranty"><a href="https://sites.google.com/view/look4sat-privacy-policy/home">Privacy Policy.</a>
|
||||
The app comes with no warranty. \nSee the <a href="https://www.gnu.org/licenses/gpl-3.0.html">GNU GPLv3</a> license for details.</string>
|
||||
</resources>
|
||||
<string name="warranty_license"><a href="https://sites.google.com/view/look4sat-privacy-policy/home">Privacy Policy.</a>
|
||||
The app comes with no warranty. \nSee the <a href="https://www.gnu.org/licenses/gpl-3.0.html">GNU GPLv3</a> license for details.
|
||||
</string>
|
||||
</resources>
|
||||
@@ -26,14 +26,24 @@
|
||||
</style>
|
||||
|
||||
<style name="InfoButton">
|
||||
<item name="android:backgroundTint">@color/greySurface</item>
|
||||
<item name="android:backgroundTint">@color/bgDark</item>
|
||||
<item name="android:textColor">@color/themeLight</item>
|
||||
<item name="android:textSize">16sp</item>
|
||||
<item name="android:textSize">15sp</item>
|
||||
<item name="android:drawablePadding">4dp</item>
|
||||
<item name="iconTint">@color/themeLight</item>
|
||||
<item name="textAllCaps">false</item>
|
||||
</style>
|
||||
|
||||
<style name="CardPreferences">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_marginStart">8dp</item>
|
||||
<item name="android:layout_marginTop">8dp</item>
|
||||
<item name="android:layout_marginEnd">8dp</item>
|
||||
<item name="cardBackgroundColor">@color/bgDarker</item>
|
||||
<item name="cardCornerRadius">4dp</item>
|
||||
</style>
|
||||
|
||||
<style name="TimerText">
|
||||
<item name="android:textColor">@color/themeLight</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
@@ -47,4 +57,4 @@
|
||||
<item name="android:textColor">@color/themeLight</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
</resources>
|
||||
@@ -1,79 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_gsp_title"
|
||||
app:iconSpaceReserved="false">
|
||||
<Preference
|
||||
android:key="setPositionGPS"
|
||||
android:title="@string/pref_pos_gps"
|
||||
app:iconSpaceReserved="false" />
|
||||
<EditTextPreference
|
||||
android:key="setPositionQTH"
|
||||
android:title="@string/pref_pos_qth"
|
||||
app:iconSpaceReserved="false" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_pass_title"
|
||||
app:iconSpaceReserved="false">
|
||||
<SeekBarPreference
|
||||
android:key="hoursAhead"
|
||||
android:max="168"
|
||||
android:title="@string/pref_hours_title"
|
||||
app:defaultValue="8"
|
||||
app:iconSpaceReserved="false"
|
||||
app:min="1"
|
||||
app:showSeekBarValue="true" />
|
||||
<SeekBarPreference
|
||||
android:key="minElevation"
|
||||
android:max="72"
|
||||
android:title="@string/pref_elev_title"
|
||||
app:adjustable="false"
|
||||
app:defaultValue="16"
|
||||
app:iconSpaceReserved="false"
|
||||
app:min="0"
|
||||
app:showSeekBarValue="true" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/tracking_title"
|
||||
app:iconSpaceReserved="false">
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="isRotatorEnabled"
|
||||
android:title="@string/tracking_rotator_switch"
|
||||
app:iconSpaceReserved="false" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="127.0.0.1"
|
||||
android:dependency="isRotatorEnabled"
|
||||
android:key="rotatorAddress"
|
||||
android:title="@string/tracking_rotator_address"
|
||||
app:iconSpaceReserved="false"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="4533"
|
||||
android:dependency="isRotatorEnabled"
|
||||
android:key="rotatorPort"
|
||||
android:title="@string/tracking_rotator_port"
|
||||
app:iconSpaceReserved="false"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_other_title"
|
||||
app:iconSpaceReserved="false">
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="timeUTC"
|
||||
android:title="@string/pref_time_utc_title"
|
||||
app:iconSpaceReserved="false" />
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="true"
|
||||
android:key="radarSweep"
|
||||
android:title="@string/pref_radar_sweep"
|
||||
app:iconSpaceReserved="false" />
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="true"
|
||||
android:key="compass"
|
||||
android:title="@string/pref_compass_title"
|
||||
app:iconSpaceReserved="false" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
Reference in new issue
Block a user