Switch activities to AppCompat and adapt themes

No longer uses fullscreen, statusbar shall be visible to check connection status

Closes #57
This commit is contained in:
Manuel Fuhr 2022-04-02 18:31:11 +02:00
parent cde4606760
commit d92c3beb3e
5 changed files with 31 additions and 41 deletions

View file

@ -17,12 +17,12 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:preserveLegacyExternalStorage="true"
android:roundIcon="@mipmap/ic_launcher_round">
android:roundIcon="@mipmap/ic_launcher_round"
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
<activity
android:name=".BRouterActivity"
android:exported="true"
android:screenOrientation="unspecified"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
android:screenOrientation="unspecified">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
@ -32,13 +32,11 @@
android:name=".BInstallerActivity"
android:exported="true"
android:launchMode="singleTask"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
android:screenOrientation="landscape" />
<activity
android:name=".BImportActivity"
android:exported="true"
android:label="Import Profile"
android:theme="@android:style/Theme.NoTitleBar">
android:label="Import Profile">
<!-- some apps (bluemail) do not recognize the .brf file extension, startactivity+intent is done for attachment with text/plain -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />