fix text color in dropdown of light theme (#1286)
* fix text color in dropdown of light theme * rename theme to make clear where it is used
This commit is contained in:
parent
9690cd5730
commit
7f4a6f9e40
|
@ -1,28 +1,30 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@android:color/black">
|
android:background="@android:color/black"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
<com.keylesspalace.tusky.view.ImageViewPager
|
<com.keylesspalace.tusky.view.ImageViewPager
|
||||||
|
android:id="@+id/viewPager"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent" />
|
||||||
android:id="@+id/viewPager" />
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.Toolbar
|
<androidx.appcompat.widget.Toolbar
|
||||||
android:id="@+id/toolbar"
|
android:id="@+id/toolbar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="?attr/actionBarSize"
|
android:layout_height="?attr/actionBarSize"
|
||||||
android:background="@color/toolbar_view_media"
|
android:background="@color/toolbar_view_media"
|
||||||
android:theme="@style/AppTheme.Account.AppBarLayout"/>
|
android:theme="@style/ViewMediaActivity.AppBarLayout"
|
||||||
|
app:titleTextColor="@color/white" />
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
android:id="@+id/progressBarShare"
|
android:id="@+id/progressBarShare"
|
||||||
style="?android:attr/progressBarStyleLarge"
|
style="?android:attr/progressBarStyleLarge"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="gone"
|
android:layout_gravity="center"
|
||||||
android:layout_gravity="center"/>
|
android:visibility="gone" />
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
|
@ -30,10 +30,8 @@
|
||||||
<item name="status_text_large">22sp</item>
|
<item name="status_text_large">22sp</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="AppTheme.Account.AppBarLayout" parent="ThemeOverlay.AppCompat">
|
<style name="ViewMediaActivity.AppBarLayout" parent="ThemeOverlay.AppCompat">
|
||||||
<item name="android:textColorPrimary">@color/text_color_primary_dark</item>
|
<item name="android:colorControlNormal">@color/white</item>
|
||||||
<item name="android:textColorSecondary">@color/text_color_secondary_dark</item>
|
|
||||||
<item name="android:textColorTertiary">@color/text_color_tertiary_dark</item>
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="SplashTheme" parent="Theme.MaterialComponents.Light.NoActionBar">
|
<style name="SplashTheme" parent="Theme.MaterialComponents.Light.NoActionBar">
|
||||||
|
|
Loading…
Reference in New Issue