[Kotlin]Drawerlayout – 4.기타설정(Other settings)

1.res/values/string.xml

<resources>
    <string name="app_name">MyDrawerEx</string>
    <string name="drawer_open">열기Open</string>
    <string name="drawer_close">닫기Close</string>
</resources>

2.res/values/themes/themes.xml

<resources xmlns:tools="http://schemas.android.com/tools">
    <!-- Base application theme. -->
    <style name="Base.Theme.MyDrawerEx" parent="Theme.Material3.DayNight.NoActionBar">
        <!-- Customize your light theme here. -->
        <!-- <item name="colorPrimary">@color/my_light_primary</item> -->
    </style>

    <style name="Theme.MyDrawerEx" parent="Base.Theme.MyDrawerEx" />
    <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>
    <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light"/>
</resources>

Leave a Reply

Your email address will not be published. Required fields are marked *