Aperture: Add themes specific to Main/Settings
Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Change-Id: I6bd6392f69ba678c62271c33a8674cf38a6749a9
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 74a424a..0fa3ada 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -27,7 +27,8 @@
android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize"
android:exported="true"
android:launchMode="singleTask"
- android:screenOrientation="nosensor">
+ android:screenOrientation="nosensor"
+ android:theme="@style/Theme.Aperture.Main">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@@ -50,7 +51,8 @@
<activity
android:name=".SettingsActivity"
android:exported="false"
- android:label="@string/title_activity_settings" />
+ android:label="@string/title_activity_settings"
+ android:theme="@style/Theme.Aperture.Settings" />
</application>
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index ff6d37e..29dea38 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -14,6 +14,12 @@
<!-- Customize your theme here. -->
</style>
+ <!-- Main activity theme. -->
+ <style name="Theme.Aperture.Main" parent="Theme.Aperture" />
+
+ <!-- Settings activity theme. -->
+ <style name="Theme.Aperture.Settings" parent="Theme.Aperture" />
+
<!-- Top bar icons theme -->
<style name="ApertureTopBarButton">
<item name="tint">?attr/colorPrimary</item>