2020-05-21 08:59:21 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout 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/container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/colorPrimaryDark"
|
|
|
|
android:gravity="center|top"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="32sp"
|
|
|
|
tools:context=".SettingsActivity">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
style="@style/Widget.AppCompat.Button"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:onClick="setLauncher"
|
|
|
|
android:text="@string/settings_select_launcher"
|
|
|
|
android:textAllCaps="false" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
style="@style/Widget.AppCompat.Button"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-05-21 09:20:18 +02:00
|
|
|
android:layout_marginBottom="32sp"
|
2020-05-21 08:59:21 +02:00
|
|
|
android:onClick="resetSettingsClick"
|
|
|
|
android:text="@string/settings_reset"
|
|
|
|
android:textAllCaps="false" />
|
|
|
|
|
2020-05-21 09:20:18 +02:00
|
|
|
<Button
|
|
|
|
style="@style/Widget.AppCompat.Button"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:onClick="rateApp"
|
|
|
|
android:text="@string/settings_feedback"
|
|
|
|
android:textAllCaps="false" />
|
|
|
|
|
2020-05-21 08:59:21 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="32sp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/settings_footer_by"
|
|
|
|
android:textColor="#999"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:onClick="openFinnWebsite"
|
|
|
|
android:text=" Finn M Glas"
|
|
|
|
android:textColor="?attr/colorAccent"
|
|
|
|
android:textSize="18sp"
|
|
|
|
tools:ignore="HardcodedText" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text=" | "
|
|
|
|
android:textColor="#999"
|
|
|
|
android:textSize="18sp"
|
|
|
|
tools:ignore="HardcodedText" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:onClick="openGithubRepo"
|
|
|
|
android:text="Open Source"
|
|
|
|
android:textColor="?attr/colorAccent"
|
|
|
|
android:textSize="18sp"
|
|
|
|
tools:ignore="HardcodedText" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|