Merge "Fix layout issues"

This commit is contained in:
Raff Tsai
2020-01-13 05:11:29 +00:00
committed by Android (Google) Code Review
4 changed files with 11 additions and 2 deletions

View File

@@ -52,7 +52,7 @@
android:visibility="gone" />
<LinearLayout
android:theme="@style/Theme.MaterialComponents.DayNight"
android:theme="@style/Theme.TabTheme"
android:id="@+id/tab_container"
android:clipToPadding="true"
android:clipChildren="true"

View File

@@ -40,4 +40,8 @@
<item name="android:colorBackground">@color/dialog_background</item>
</style>
<!-- Material theme for the pages containing TabLayout and ViewPager -->
<style name="Theme.TabTheme" parent="@style/Theme.MaterialComponents.DayNight">
<item name="colorPrimary">@*android:color/edge_effect_device_default_dark</item>
</style>
</resources>

View File

@@ -564,8 +564,9 @@
<item name="android:showDividers">middle</item>
</style>
<style name="TextAppearance.Tab" parent="@android:style/TextAppearance.DeviceDefault">
<style name="TextAppearance.Tab" parent="@android:style/TextAppearance.DeviceDefault.Medium">
<item name="android:textAllCaps">false</item>
<item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item>
</style>
<style name="AccessibilityDialogServiceIcon">

View File

@@ -253,4 +253,8 @@
<item name="android:colorPrimaryDark">@android:color/white</item>
<item name="android:colorAccent">@color/material_blue_700</item>
</style>
<!-- Material theme for the pages containing TabLayout and ViewPager -->
<style name="Theme.TabTheme" parent="@style/Theme.MaterialComponents.DayNight">
<item name="colorPrimary">@*android:color/edge_effect_device_default_light</item>
</style>
</resources>