Compare commits
2 Commits
developmen
...
developmen
| Author | SHA1 | Date | |
|---|---|---|---|
| 914f5c033b | |||
| f64b8ea860 |
@@ -25,6 +25,8 @@ public class ActivityMainTabLayout extends TabActivity
|
||||
Settings.readFromPersistentStorage(ActivityMainTabLayout.this);
|
||||
Miscellaneous.setDisplayLanguage(this);
|
||||
|
||||
this.setTheme(R.style.AppThemeCompat);
|
||||
|
||||
if(Settings.tabsPlacement == 1)
|
||||
setContentView(R.layout.main_tab_layout_tabs_at_bottom);
|
||||
else
|
||||
|
||||
@@ -160,9 +160,11 @@ public class ActivityManageRule extends Activity
|
||||
protected void onCreate(Bundle savedInstanceState)
|
||||
{
|
||||
super.onCreate(savedInstanceState);
|
||||
this.setTheme(R.style.AppThemeCompat);
|
||||
Miscellaneous.setDisplayLanguage(this);
|
||||
setContentView(R.layout.activity_manage_specific_rule);
|
||||
|
||||
|
||||
context = this;
|
||||
instance = this;
|
||||
|
||||
|
||||
@@ -36,6 +36,7 @@ public class ActivityManageTriggerTimeFrame extends Activity
|
||||
protected void onCreate(Bundle savedInstanceState)
|
||||
{
|
||||
super.onCreate(savedInstanceState);
|
||||
this.setTheme(R.style.AppThemeCompat);
|
||||
Miscellaneous.setDisplayLanguage(this);
|
||||
setContentView(R.layout.activity_manage_trigger_timeframe);
|
||||
|
||||
|
||||
@@ -45,6 +45,13 @@
|
||||
android:title="@string/logFileMaxSizeTitle"
|
||||
android:inputType="number" />
|
||||
|
||||
<ListPreference
|
||||
android:key="appTheme"
|
||||
android:title="@string/startScreen"
|
||||
android:summary="@string/startScreenSummary"
|
||||
android:entries="@array/startScreenOptions"
|
||||
android:entryValues="@array/startScreenOptionsValues" />
|
||||
|
||||
<ListPreference
|
||||
android:key="startScreen"
|
||||
android:title="@string/startScreen"
|
||||
|
||||
@@ -9,6 +9,19 @@
|
||||
<item name="1">1</item>
|
||||
</string-array>
|
||||
|
||||
<!--<string-array name="appThemeOptions">
|
||||
<item name="0">@string/overview</item>
|
||||
<item name="1">@string/pois</item>
|
||||
<item name="2">@string/rules</item>
|
||||
<item name="3">@string/profiles</item>
|
||||
</string-array>
|
||||
<string-array name="startScreenOptionsValues">
|
||||
<item name="0">0</item>
|
||||
<item name="1">1</item>
|
||||
<item name="2">2</item>
|
||||
<item name="3">3</item>
|
||||
</string-array>-->
|
||||
|
||||
<string-array name="startScreenOptions">
|
||||
<item name="0">@string/overview</item>
|
||||
<item name="1">@string/pois</item>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="android:Theme.Light" />
|
||||
<style name="AppThemeMaterial" parent="Theme.MaterialComponents.DayNight" /> <!-- very dark -->
|
||||
<style name="AppThemeMaterial3" parent="Theme.Material3.DayNight" /> <!-- very dark -->
|
||||
<style name="AppThemeCompat" parent="Theme.AppCompat.DayNight" /> <!-- greyish -->
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user