Working on getting the style to work properly, currently showing black bars due to old theme.
This commit is contained in:
@ -9,12 +9,11 @@
|
|||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
android:icon="@drawable/dr_face_straight2_circle"
|
android:icon="@drawable/dr_face_straight2_circle"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:theme="@style/AppTheme">
|
android:theme="@style/CarbUp">
|
||||||
<activity
|
<activity
|
||||||
android:name=".Splash"
|
android:name=".Splash"
|
||||||
android:label="@string/app_name"
|
android:exported="true"
|
||||||
android:screenOrientation="portrait"
|
android:screenOrientation="fullSensor">
|
||||||
android:theme="@style/AppTheme.NoActionBar">
|
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|
||||||
@ -23,24 +22,16 @@
|
|||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name=".Main"
|
android:name=".Main"
|
||||||
android:label="@string/app_name"
|
android:screenOrientation="fullSensor"
|
||||||
android:screenOrientation="portrait"
|
|
||||||
android:theme="@android:style/Theme.Light.NoTitleBar"
|
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
|
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
|
||||||
<activity
|
<activity
|
||||||
android:name=".Tab1"
|
android:name=".Tab1"
|
||||||
android:label="@string/app_name"
|
|
||||||
android:theme="@android:style/Theme.Light.NoTitleBar"
|
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
|
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
|
||||||
<activity
|
<activity
|
||||||
android:name=".Tab2"
|
android:name=".Tab2"
|
||||||
android:label="@string/app_name"
|
|
||||||
android:theme="@android:style/Theme.Light.NoTitleBar"
|
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
|
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
|
||||||
<activity
|
<activity
|
||||||
android:name=".MySettings"
|
android:name=".MySettings"
|
||||||
android:label="@string/app_name"
|
|
||||||
android:theme="@android:style/Theme.Light.NoTitleBar"
|
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
|
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
|
||||||
<activity
|
<activity
|
||||||
android:name=".Home"
|
android:name=".Home"
|
||||||
|
@ -14,4 +14,15 @@
|
|||||||
<item name="windowNoTitle">true</item>
|
<item name="windowNoTitle">true</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="CarbUp" parent="@android:style/Theme.Light.NoTitleBar">
|
||||||
|
<item name="windowActionBar">false</item>
|
||||||
|
<item name="windowNoTitle">true</item>
|
||||||
|
<item name="android:windowActionBar">false</item>
|
||||||
|
<item name="android:windowNoTitle">true</item>
|
||||||
|
<item name="colorPrimary">@color/colorPrimary</item>
|
||||||
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||||
|
<item name="colorAccent">@color/colorAccent</item>
|
||||||
|
<item name="android:colorForeground">@color/colorPrimary</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
Reference in New Issue
Block a user