diff --git a/commons/src/main/AndroidManifest.xml b/commons/src/main/AndroidManifest.xml
index f9acc8719..5980d0fe6 100644
--- a/commons/src/main/AndroidManifest.xml
+++ b/commons/src/main/AndroidManifest.xml
@@ -28,18 +28,21 @@
diff --git a/samples/src/main/AndroidManifest.xml b/samples/src/main/AndroidManifest.xml
index 39d434350..a3cc6766c 100644
--- a/samples/src/main/AndroidManifest.xml
+++ b/samples/src/main/AndroidManifest.xml
@@ -10,9 +10,9 @@
android:allowBackup="true"
android:icon="@mipmap/commons_launcher"
android:label="@string/smtco_app_name"
+ android:localeConfig="@xml/locale_config"
android:requestLegacyExternalStorage="true"
android:supportsRtl="true"
- android:localeConfig="@xml/locale_config"
android:theme="@style/TranslucentTheme">
-
-
+
+
diff --git a/samples/src/main/kotlin/com/simplemobiletools/commons/samples/activities/MainActivity.kt b/samples/src/main/kotlin/com/simplemobiletools/commons/samples/activities/MainActivity.kt
index fee33eb91..563e7ba43 100644
--- a/samples/src/main/kotlin/com/simplemobiletools/commons/samples/activities/MainActivity.kt
+++ b/samples/src/main/kotlin/com/simplemobiletools/commons/samples/activities/MainActivity.kt
@@ -24,6 +24,9 @@ class MainActivity : BaseSimpleActivity() {
setContentView(R.layout.activity_main)
appLaunched(BuildConfig.APPLICATION_ID)
+ updateMaterialActivityViews(main_coordinator, main_holder)
+ setupMaterialScrollListener(main_nested_scrollview, main_toolbar)
+
main_color_customization.setOnClickListener {
startCustomizationActivity()
}
diff --git a/samples/src/main/res/layout/activity_main.xml b/samples/src/main/res/layout/activity_main.xml
index c6a77b41e..5972246d0 100644
--- a/samples/src/main/res/layout/activity_main.xml
+++ b/samples/src/main/res/layout/activity_main.xml
@@ -5,28 +5,24 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
-
-
-
-
-
+ android:layout_height="?attr/actionBarSize"
+ android:background="@color/color_primary"
+ app:title="@string/simple_commons"
+ app:titleTextAppearance="@style/AppTheme.ActionBar.TitleTextStyle" />
+ android:layout_marginTop="?attr/actionBarSize"
+ android:fillViewport="true"
+ android:scrollbars="none">