styles.xml 1.49 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<resources>

    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>
        <item name="android:background">@color/colorBlancoTransparente</item>
    </style>
    <style name="CustomButton" parent="Widget.MaterialComponents.Button">
        <item name="android:padding">12dp</item>
        <item name="cornerRadius">12dp</item>
    </style>

16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
    <style name="BaseAppTheme" parent="AppTheme" />

    <style name="CustomBottomSheetDialog" parent="@style/ThemeOverlay.MaterialComponents.BottomSheetDialog">
        <item name="bottomSheetStyle">@style/CustomBottomSheet</item>
    </style>

    <style name="CustomBottomSheet" parent="Widget.MaterialComponents.BottomSheet.Modal">
        <item name="shapeAppearance">@style/BottomSheetShapeAppearance</item>
    </style>

    <style name="BottomSheetShapeAppearance">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSize">12dp</item>
    </style>



    <style name="BottomDialogFragmentBar">
        <item name="android:layout_width">80dp</item>
        <item name="android:layout_height">4dp</item>
        <item name="android:layout_marginTop">16dp</item>
        <item name="android:background">@drawable/background_round</item>
    </style>

40 41

</resources>