Fix Theme for Streaming: No Action Bar
This commit is contained in:
parent
a804a36f9e
commit
f0f633af9a
|
@ -27,7 +27,7 @@
|
|||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name="fr.mobdev.peertubelive.activity.StreamActivity" android:screenOrientation="portrait"/>
|
||||
<activity android:name="fr.mobdev.peertubelive.activity.StreamActivity" android:screenOrientation="portrait" android:theme="@style/AppThemeStream"/>
|
||||
<activity android:name="fr.mobdev.peertubelive.activity.CreateLiveActivity" />
|
||||
</application>
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
|
||||
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorSecondary">@color/colorSecondary</item>
|
||||
|
@ -9,16 +8,26 @@
|
|||
<item name="alertDialogTheme">@style/DialogButton</item>
|
||||
<!--<item name="android:editTextColor">@color/colorAccent</item>-->
|
||||
</style>
|
||||
|
||||
<style name="AppThemeStream" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorSecondary">@color/colorSecondary</item>
|
||||
<item name="colorOnSecondary">@color/colorOnSecondary</item>
|
||||
<item name="alertDialogTheme">@style/DialogButton</item>
|
||||
<!--<item name="android:editTextColor">@color/colorAccent</item>-->
|
||||
</style>
|
||||
|
||||
<style name="DialogButton" parent="Theme.AppCompat.DayNight.Dialog.Alert">
|
||||
<item name="buttonBarNegativeButtonStyle">@style/buttonStyle</item>
|
||||
<item name="buttonBarPositiveButtonStyle">@style/buttonStyle</item>
|
||||
<item name="buttonBarNeutralButtonStyle">@style/buttonStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="buttonStyle" parent="Widget.AppCompat.Button.ButtonBar.AlertDialog">
|
||||
<item name="android:textColor">@color/colorSecondary</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="AppTheme.Light" parent="Theme.MaterialComponents.Light.NoActionBar">
|
||||
<item name="floatingActionButtonStyle">@style/floatingActionButtonStyle</item>
|
||||
</style>
|
||||
|
@ -28,6 +37,7 @@
|
|||
<item name="colorSecondary">@color/colorPrimary</item>
|
||||
<item name="colorOnSecondary">@color/colorOnSecondary</item>
|
||||
</style>
|
||||
|
||||
<style name="floatingActionButtonStyle" parent="Widget.MaterialComponents.FloatingActionButton">
|
||||
<item name="materialThemeOverlay">@style/customFabColor</item>
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue