mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 08:30:44 +00:00
Fix Dark toolbar text in Light theme
This commit is contained in:
parent
610d0b272e
commit
1d51002173
@ -11,10 +11,7 @@
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="?attr/actionBarSize"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.DayNight.ActionBar"
|
||||
app:popupTheme="@style/ThemeOverlay.AppCompat.DayNight.ActionBar"
|
||||
app:titleTextAppearance="@style/Toolbar.Title" />
|
||||
android:minHeight="?attr/actionBarSize" />
|
||||
|
||||
<WebView
|
||||
android:id="@+id/reCaptchaWebView"
|
||||
|
@ -108,10 +108,7 @@
|
||||
android:id="@+id/subscriptions_header_toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:gravity="center_vertical"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.DayNight.ActionBar"
|
||||
app:popupTheme="@style/ThemeOverlay.AppCompat.DayNight.ActionBar"
|
||||
app:titleTextAppearance="@style/Toolbar.Title">
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/subscriptions_header_info_container"
|
||||
|
@ -14,9 +14,7 @@
|
||||
android:background="?attr/colorPrimary"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="?attr/actionBarSize"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.DayNight.ActionBar"
|
||||
app:popupTheme="@style/ThemeOverlay.AppCompat.DayNight.ActionBar"
|
||||
app:titleTextAppearance="@style/Toolbar.Title">
|
||||
android:theme="@style/ToolbarTheme">
|
||||
|
||||
<include
|
||||
android:id="@+id/toolbar_search_container"
|
||||
|
@ -9,7 +9,11 @@
|
||||
</style>
|
||||
|
||||
<!-- Base themes -->
|
||||
<style name="Base.V7.LightTheme" parent="Theme.AppCompat.DayNight.NoActionBar" />
|
||||
<style name="Base.V7" parent="Theme.AppCompat.DayNight.NoActionBar"/>
|
||||
|
||||
<style name="Base" parent="Base.V7"/>
|
||||
|
||||
<style name="Base.V7.LightTheme" parent="Base" />
|
||||
|
||||
<style name="Base.LightTheme" parent="Base.V7.LightTheme" />
|
||||
|
||||
@ -119,7 +123,7 @@
|
||||
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
|
||||
</style>
|
||||
|
||||
<style name="Base.V7.DarkTheme" parent="Theme.AppCompat.DayNight.NoActionBar" />
|
||||
<style name="Base.V7.DarkTheme" parent="Base" />
|
||||
|
||||
<style name="Base.DarkTheme" parent="Base.V7.DarkTheme" />
|
||||
|
||||
@ -292,10 +296,6 @@
|
||||
<item name="colorAccent">@color/black_settings_accent_color</item>
|
||||
</style>
|
||||
|
||||
<style name="Toolbar.Title" parent="TextAppearance.Widget.AppCompat.Toolbar.Title">
|
||||
<item name="android:textSize">18sp</item>
|
||||
</style>
|
||||
|
||||
<style name="OldVideoPlayerTheme" parent="Theme.AppCompat.DayNight.DarkActionBar">
|
||||
<item name="colorPrimary">@color/light_youtube_primary_color</item>
|
||||
<item name="colorPrimaryDark">@color/light_youtube_primary_color</item>
|
||||
@ -339,4 +339,10 @@
|
||||
<item name="android:windowAnimationStyle">@null</item>
|
||||
</style>
|
||||
|
||||
<style name="ToolbarTheme" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
|
||||
<item name="android:textColorPrimary">@android:color/white</item>
|
||||
<item name="android:textColorSecondary">@android:color/white</item>
|
||||
<item name="popupTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user