setup the color customization button
This commit is contained in:
parent
e29717da20
commit
cf667f8760
|
@ -71,6 +71,11 @@
|
|||
android:label="@string/third_party_licences"
|
||||
android:parentActivityName="com.simplemobiletools.commons.activities.AboutActivity"/>
|
||||
|
||||
<activity
|
||||
android:name="com.simplemobiletools.commons.activities.CustomizationActivity"
|
||||
android:label="@string/customize_colors"
|
||||
android:parentActivityName=".activities.SettingsActivity"/>
|
||||
|
||||
<activity
|
||||
android:name=".activities.SettingsActivity"
|
||||
android:label="@string/settings"
|
||||
|
|
|
@ -23,6 +23,7 @@ class SettingsActivity : SimpleActivity() {
|
|||
override fun onResume() {
|
||||
super.onResume()
|
||||
|
||||
setupCustomizeColors()
|
||||
setupSavePhotosFolder()
|
||||
setupShowPreview()
|
||||
setupSound()
|
||||
|
@ -44,6 +45,12 @@ class SettingsActivity : SimpleActivity() {
|
|||
return true
|
||||
}
|
||||
|
||||
private fun setupCustomizeColors() {
|
||||
settings_customize_colors_holder.setOnClickListener {
|
||||
startCustomizationActivity()
|
||||
}
|
||||
}
|
||||
|
||||
private fun setupSavePhotosFolder() {
|
||||
settings_save_photos.text = getLastPart(config.savePhotosFolder)
|
||||
settings_save_photos_holder.setOnClickListener {
|
||||
|
|
Loading…
Reference in New Issue