From 7c8f89cf82b84dd771becce6aae52cc01bcb067f Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 16 Dec 2018 18:24:49 +0100 Subject: [PATCH] add a toggle at widget config screen for toggling folder name visibility --- .../pro/activities/WidgetConfigureActivity.kt | 1 + .../res/layout/activity_widget_config.xml | 28 ++++++++++++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/WidgetConfigureActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/WidgetConfigureActivity.kt index c2f80f0e3..572f2cca5 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/WidgetConfigureActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/WidgetConfigureActivity.kt @@ -42,6 +42,7 @@ class WidgetConfigureActivity : SimpleActivity() { config_bg_color.setOnClickListener { pickBackgroundColor() } folder_picker_value.setOnClickListener { changeSelectedFolder() } config_image_holder.setOnClickListener { changeSelectedFolder() } + folder_picker_show_folder_name_holder.setOnClickListener { } config_save.setTextColor(getAdjustedPrimaryColor()) updateTextColors(folder_picker_holder) folder_picker_holder.background = ColorDrawable(config.backgroundColor) diff --git a/app/src/main/res/layout/activity_widget_config.xml b/app/src/main/res/layout/activity_widget_config.xml index bc9624e00..a8d277b1d 100644 --- a/app/src/main/res/layout/activity_widget_config.xml +++ b/app/src/main/res/layout/activity_widget_config.xml @@ -1,6 +1,7 @@ + android:paddingBottom="@dimen/activity_margin"> + + + + + +