Skip to content

Instantly share code, notes, and snippets.

@RajashekarRaju
Created Jul 10, 2020
Embed
What would you like to do?
RecyclerViewToViewPager style
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.MaterialComponents.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorSurface">@color/colorSurface</item>
<item name="colorSecondary">@color/colorSecondary</item>
<item name="android:colorBackground">@color/colorBackground</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorPrimaryVariant">@color/colorPrimaryVariant</item>
<item name="colorSecondaryVariant">@color/colorSecondaryVariant</item>
<item name="colorOnBackground">@color/colorOnBackground</item>
<item name="colorOnPrimary">@color/colorOnPrimary</item>
<item name="colorOnSurface">@color/coloOnSurface</item>
<item name="colorOnSecondary">@color/colorOnSecondary</item>
<item name="android:windowLightStatusBar" tools:ignore="NewApi">true</item>
</style>
<style name="TextAppearance.Toolbar.Title" parent="TextAppearance.MaterialComponents.Headline4">
<item name="android:textStyle">bold</item>
<item name="android:textColor">?attr/colorOnPrimary</item>
</style>
<style name="TextAppearance.Toolbar.DetailTitle" parent="TextAppearance.MaterialComponents.Headline5">
<item name="android:textStyle">bold</item>
<item name="android:textColor">?attr/colorOnPrimary</item>
</style>
</resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment