mirror of
https://github.com/jrpie/Launcher.git
synced 2025-02-23 06:21:31 +01:00
Create OnClicks for the Theme Buttons
This commit is contained in:
parent
5963277fe3
commit
c81e6c06bc
2 changed files with 17 additions and 0 deletions
|
@ -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) {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue