Create OnClicks for the Theme Buttons

This commit is contained in:
Finn M Glas 2020-05-22 21:39:13 +02:00
parent 5963277fe3
commit c81e6c06bc
No known key found for this signature in database
GPG key ID: 25037A2E81AB459C
2 changed files with 17 additions and 0 deletions

View file

@ -171,4 +171,18 @@ class SettingsActivity : AppCompatActivity() {
.setIcon(android.R.drawable.ic_dialog_alert)
.show()
}
/** Theme - related */
fun chooseDarkTheme(view: View) {
}
fun chooseFinnTheme(view: View) {
}
fun chooseCustomTheme(view: View) {
}
}

View file

@ -42,6 +42,7 @@
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="chooseDarkTheme"
android:text="@string/settings_select_theme"
android:textAllCaps="false"
app:layout_constraintBottom_toBottomOf="parent"
@ -71,6 +72,7 @@
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="chooseFinnTheme"
android:text="@string/settings_select_theme"
android:textAllCaps="false"
app:layout_constraintBottom_toBottomOf="parent"
@ -100,6 +102,7 @@
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="chooseCustomTheme"
android:text="@string/settings_select_theme"
android:textAllCaps="false"
app:layout_constraintBottom_toBottomOf="parent"