Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Change for android theme

Mica Hallin9aaf302e909c
diff --git a/console/android/src/main/AndroidManifest.xml b/console/android/src/main/AndroidManifest.xml
index 6b788e2a3..943bd14a4 100644
--- a/console/android/src/main/AndroidManifest.xml
+++ b/console/android/src/main/AndroidManifest.xml
@@ -28,6 +28,7 @@
<activity android:name="org.openremote.android.MainActivity"
android:configChanges="orientation|screenSize"
+ android:windowSoftInputMode="adjustResize"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
diff --git a/console/android/src/main/res/values-v21/styles.xml b/console/android/src/main/res/values-v21/styles.xml
deleted file mode 100644
index 7e6a301fd..000000000
--- a/console/android/src/main/res/values-v21/styles.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
-
- <style name="ConsoleView" parent="android:Theme.Material.Light.NoActionBar.Fullscreen">
- <item name="android:background">@color/white</item>
- </style>
-</resources>
\ No newline at end of file
diff --git a/console/android/src/main/res/values/styles.xml b/console/android/src/main/res/values/styles.xml
index b6e6f4c9f..f4bec3958 100644
--- a/console/android/src/main/res/values/styles.xml
+++ b/console/android/src/main/res/values/styles.xml
@@ -1,13 +1,13 @@
<resources>
<style name="OpenRemoteTheme"
- parent="android:Theme.DeviceDefault.Light.NoActionBar.Fullscreen">
+ parent="android:Theme.DeviceDefault.Light.NoActionBar">
<item name="android:actionMenuTextColor">@color/dark_grey</item>
</style>
- <style name="ConsoleView" parent="android:Theme.DeviceDefault.Light.NoActionBar.Fullscreen">
+ <style name="ConsoleView" parent="android:Theme.DeviceDefault.Light.NoActionBar">
<item name="android:background">@color/white</item>
</style>