diff --git a/README.md b/README.md
index f510421bf..ec4bf228b 100644
--- a/README.md
+++ b/README.md
@@ -49,8 +49,8 @@
## Latest releases đź›
-- Kotlin && New | [v8.4.5](https://github.com/mikepenz/MaterialDrawer/tree/v8.4.5)
-- Kotlin | [v7.0.0](https://github.com/mikepenz/MaterialDrawer/tree/v7.0.0) | (Builder approach like v6.x)
+- Kotlin && Material 3 | [v9.0.0-a01](https://github.com/mikepenz/MaterialDrawer/tree/v9.0.0-a01)
+- Kotlin | [v8.4.5](https://github.com/mikepenz/MaterialDrawer/tree/v8.4.5)
- Java && AndroidX | [v6.1.2](https://github.com/mikepenz/MaterialDrawer/tree/v6.1.2)
- Java && AppCompat | [v6.0.9](https://github.com/mikepenz/MaterialDrawer/tree/v6.0.9)
@@ -64,7 +64,7 @@ implementation "com.mikepenz:materialdrawer:${lastestMaterialDrawerRelease}"
implementation "androidx.appcompat:appcompat:${versions.appcompat}"
implementation "androidx.recyclerview:recyclerview:${versions.recyclerView}"
implementation "androidx.annotation:annotation:${versions.annotation}"
-implementation "com.google.android.material:material:${versions.material}"
+implementation "com.google.android.material:material:1.5.0-alpha05" // requires at least 1.5.0-x
implementation "androidx.constraintlayout:constraintlayout:${versions.constraintLayout}"
// Add for NavController support
@@ -100,7 +100,7 @@ The `MaterialDrawerSliderView` has to be provided as child of the `DrawerLayout`
### 3. Add the `DrawerStyle` to your theme
```xml
-
// define a custom header style
@@ -289,7 +289,7 @@ Create your custom style. If you don't need a custom theme see the next section,
// define the custom styles for the theme
-
-
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index d1fa09d63..f7162c897 100644
--- a/build.gradle
+++ b/build.gradle
@@ -17,8 +17,8 @@ buildscript {
multiDex : '2.0.1',
annotation : '1.1.0',
recyclerView : '1.2.1',
- core : '1.6.0',
- material : '1.4.0',
+ core : '1.7.0',
+ material : '1.5.0-alpha05',
appcompat : '1.3.1',
drawerlayout : '1.1.1',
constraintLayout : '2.1.1',
@@ -40,7 +40,7 @@ buildscript {
mavenCentral()
}
dependencies {
- classpath 'com.android.tools.build:gradle:7.2.0-alpha02'
+ classpath 'com.android.tools.build:gradle:7.2.0-alpha03'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:${versions.navigation}"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:${versions.detekt}"
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index a0f7639f7..38b265383 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-rc-1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
diff --git a/materialdrawer/src/main/java/com/mikepenz/materialdrawer/model/BaseDescribeableDrawerItem.kt b/materialdrawer/src/main/java/com/mikepenz/materialdrawer/model/BaseDescribeableDrawerItem.kt
index e0a48f596..3ec8f072c 100644
--- a/materialdrawer/src/main/java/com/mikepenz/materialdrawer/model/BaseDescribeableDrawerItem.kt
+++ b/materialdrawer/src/main/java/com/mikepenz/materialdrawer/model/BaseDescribeableDrawerItem.kt
@@ -3,7 +3,10 @@ package com.mikepenz.materialdrawer.model
import android.content.Context
import android.content.res.ColorStateList
import android.view.View
+import androidx.core.view.isVisible
+import androidx.core.view.updatePadding
import com.google.android.material.shape.ShapeAppearanceModel
+import com.mikepenz.materialdrawer.R
import com.mikepenz.materialdrawer.holder.ImageHolder
import com.mikepenz.materialdrawer.holder.StringHolder
import com.mikepenz.materialdrawer.model.interfaces.Describable
@@ -72,6 +75,14 @@ abstract class BaseDescribeableDrawerItem : BaseDrawerIt
ImageHolder.applyMultiIconTo(icon, selectedIcon, iconColor, isIconTinted, viewHolder.icon)
}
+ if (viewHolder.icon.isVisible) {
+ viewHolder.name.updatePadding(left = 0)
+ viewHolder.description.updatePadding(left = 0)
+ } else {
+ viewHolder.name.updatePadding(left = ctx.resources.getDimensionPixelSize(R.dimen.material_drawer_item_primary_icon_padding_left))
+ viewHolder.description.updatePadding(left = ctx.resources.getDimensionPixelSize(R.dimen.material_drawer_item_primary_icon_padding_left))
+ }
+
//for android API 17 --> Padding not applied via xml
viewHolder.view.setDrawerVerticalPadding(level)
diff --git a/materialdrawer/src/main/java/com/mikepenz/materialdrawer/model/ProfileSettingDrawerItem.kt b/materialdrawer/src/main/java/com/mikepenz/materialdrawer/model/ProfileSettingDrawerItem.kt
index edb2a4501..84e1902ee 100644
--- a/materialdrawer/src/main/java/com/mikepenz/materialdrawer/model/ProfileSettingDrawerItem.kt
+++ b/materialdrawer/src/main/java/com/mikepenz/materialdrawer/model/ProfileSettingDrawerItem.kt
@@ -5,7 +5,6 @@ import android.view.View
import android.widget.ImageView
import android.widget.TextView
import androidx.annotation.LayoutRes
-import androidx.core.view.ViewCompat
import androidx.recyclerview.widget.RecyclerView
import com.mikepenz.materialdrawer.R
import com.mikepenz.materialdrawer.holder.BadgeStyle
@@ -13,8 +12,8 @@ import com.mikepenz.materialdrawer.holder.ImageHolder
import com.mikepenz.materialdrawer.holder.StringHolder
import com.mikepenz.materialdrawer.model.interfaces.*
import com.mikepenz.materialdrawer.util.getPrimaryDrawerIconColor
-import com.mikepenz.materialdrawer.util.getSelectableBackground
import com.mikepenz.materialdrawer.util.setDrawerVerticalPadding
+import com.mikepenz.materialdrawer.util.themeDrawerItem
/**
* Describes a [IProfile] being used with the [com.mikepenz.materialdrawer.widget.AccountHeaderView]
@@ -68,8 +67,10 @@ open class ProfileSettingDrawerItem : AbstractDrawerItem Context.resolveStyledHeaderValue(resolver: (typedArray: TypedAr
return resolveStyledValue(R.styleable.AccountHeaderView, R.attr.materialDrawerHeaderStyle, R.style.Widget_MaterialDrawerHeaderStyle, resolver)
}
-internal fun Context.resolveStyledValue(attrs: IntArray = R.styleable.MaterialDrawerSliderView, defStyleAttr: Int = R.attr.materialDrawerStyle, defStyleRes: Int = R.style.Widget_MaterialDrawerStyle, resolver: (typedArray: TypedArray) -> T): T {
+internal fun Context.resolveStyledValue(
+ attrs: IntArray = R.styleable.MaterialDrawerSliderView,
+ defStyleAttr: Int = R.attr.materialDrawerStyle,
+ defStyleRes: Int = R.style.Widget_MaterialDrawerStyle,
+ resolver: (typedArray: TypedArray) -> T
+): T {
val a = obtainStyledAttributes(null, attrs, defStyleAttr, defStyleRes)
val value = resolver.invoke(a)
a.recycle()
diff --git a/materialdrawer/src/main/res/color/color_drawer_item_text.xml b/materialdrawer/src/main/res/color/color_drawer_item_text.xml
new file mode 100644
index 000000000..a2658fa9c
--- /dev/null
+++ b/materialdrawer/src/main/res/color/color_drawer_item_text.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/materialdrawer/src/main/res/layout/material_drawer_item_divider.xml b/materialdrawer/src/main/res/layout/material_drawer_item_divider.xml
index d3884419c..fc11064ee 100755
--- a/materialdrawer/src/main/res/layout/material_drawer_item_divider.xml
+++ b/materialdrawer/src/main/res/layout/material_drawer_item_divider.xml
@@ -3,5 +3,7 @@
android:id="@+id/material_drawer_divider"
android:layout_width="match_parent"
android:layout_height="1dp"
+ android:layout_marginLeft="@dimen/material_drawer_vertical_item_padding"
android:layout_marginTop="@dimen/material_drawer_padding"
+ android:layout_marginRight="@dimen/material_drawer_vertical_item_padding"
android:layout_marginBottom="@dimen/material_drawer_padding" />
diff --git a/materialdrawer/src/main/res/layout/material_drawer_item_expandable.xml b/materialdrawer/src/main/res/layout/material_drawer_item_expandable.xml
index 02ff48103..54553a3d2 100755
--- a/materialdrawer/src/main/res/layout/material_drawer_item_expandable.xml
+++ b/materialdrawer/src/main/res/layout/material_drawer_item_expandable.xml
@@ -13,8 +13,8 @@
android:id="@+id/material_drawer_icon"
android:layout_width="@dimen/material_drawer_item_primary_icon"
android:layout_height="@dimen/material_drawer_item_primary"
- android:paddingStart="0dp"
- android:paddingLeft="0dp"
+ android:paddingStart="@dimen/material_drawer_item_primary_icon_padding_left"
+ android:paddingLeft="@dimen/material_drawer_item_primary_icon_padding_left"
android:paddingTop="@dimen/material_drawer_item_primary_icon_padding"
android:paddingEnd="@dimen/material_drawer_item_primary_icon_padding_right"
android:paddingRight="@dimen/material_drawer_item_primary_icon_padding_right"
@@ -69,6 +69,8 @@
android:layout_height="16dp"
android:layout_marginStart="@dimen/material_drawer_padding"
android:layout_marginLeft="@dimen/material_drawer_padding"
+ android:layout_marginEnd="@dimen/material_drawer_item_primary_icon_padding"
+ android:layout_marginRight="@dimen/material_drawer_item_primary_icon_padding"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/material_drawer_barrier"
diff --git a/materialdrawer/src/main/res/layout/material_drawer_item_expandable_badge.xml b/materialdrawer/src/main/res/layout/material_drawer_item_expandable_badge.xml
index ecc7d9f41..f79e421af 100644
--- a/materialdrawer/src/main/res/layout/material_drawer_item_expandable_badge.xml
+++ b/materialdrawer/src/main/res/layout/material_drawer_item_expandable_badge.xml
@@ -14,8 +14,8 @@
android:id="@+id/material_drawer_icon"
android:layout_width="@dimen/material_drawer_item_primary_icon"
android:layout_height="@dimen/material_drawer_item_primary"
- android:paddingStart="0dp"
- android:paddingLeft="0dp"
+ android:paddingStart="@dimen/material_drawer_item_primary_icon_padding_left"
+ android:paddingLeft="@dimen/material_drawer_item_primary_icon_padding_left"
android:paddingTop="@dimen/material_drawer_item_primary_icon_padding"
android:paddingEnd="@dimen/material_drawer_item_primary_icon_padding_right"
android:paddingRight="@dimen/material_drawer_item_primary_icon_padding_right"
@@ -92,8 +92,8 @@
android:layout_height="16dp"
android:layout_marginStart="0dp"
android:layout_marginLeft="0dp"
- android:layout_marginEnd="0dp"
- android:layout_marginRight="0dp"
+ android:layout_marginEnd="@dimen/material_drawer_item_primary_icon_padding"
+ android:layout_marginRight="@dimen/material_drawer_item_primary_icon_padding"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/material_drawer_badge"
diff --git a/materialdrawer/src/main/res/layout/material_drawer_item_primary.xml b/materialdrawer/src/main/res/layout/material_drawer_item_primary.xml
index e030e86af..2f15b05fe 100755
--- a/materialdrawer/src/main/res/layout/material_drawer_item_primary.xml
+++ b/materialdrawer/src/main/res/layout/material_drawer_item_primary.xml
@@ -13,8 +13,8 @@
android:id="@+id/material_drawer_icon"
android:layout_width="@dimen/material_drawer_item_primary_icon"
android:layout_height="@dimen/material_drawer_item_primary"
- android:paddingStart="0dp"
- android:paddingLeft="0dp"
+ android:paddingStart="@dimen/material_drawer_item_primary_icon_padding_left"
+ android:paddingLeft="@dimen/material_drawer_item_primary_icon_padding_left"
android:paddingTop="@dimen/material_drawer_item_primary_icon_padding"
android:paddingEnd="@dimen/material_drawer_item_primary_icon_padding_right"
android:paddingRight="@dimen/material_drawer_item_primary_icon_padding_right"
diff --git a/materialdrawer/src/main/res/layout/material_drawer_item_profile.xml b/materialdrawer/src/main/res/layout/material_drawer_item_profile.xml
index 0273f27bb..5117e7d3b 100755
--- a/materialdrawer/src/main/res/layout/material_drawer_item_profile.xml
+++ b/materialdrawer/src/main/res/layout/material_drawer_item_profile.xml
@@ -4,6 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="@dimen/material_drawer_item_profile"
+ android:layout_marginTop="@dimen/material_drawer_item_profile_item_margin"
+ android:layout_marginBottom="@dimen/material_drawer_item_profile_item_margin"
android:clipChildren="false"
android:clipToPadding="false"
android:paddingStart="@dimen/material_drawer_vertical_padding"
@@ -16,10 +18,10 @@
style="@style/BezelImageView"
android:layout_width="@dimen/material_drawer_item_profile_icon"
android:layout_height="@dimen/material_drawer_item_profile_icon"
- android:layout_marginStart="0dp"
- android:layout_marginLeft="0dp"
- android:layout_marginEnd="@dimen/material_drawer_item_profile_icon_padding_right"
- android:layout_marginRight="@dimen/material_drawer_item_profile_icon_padding_right"
+ android:layout_marginStart="@dimen/material_drawer_item_profile_icon_padding_left"
+ android:layout_marginLeft="@dimen/material_drawer_item_profile_icon_padding_left"
+ android:layout_marginEnd="0dp"
+ android:layout_marginRight="0dp"
android:clickable="false"
android:elevation="1dp"
app:layout_constraintBottom_toBottomOf="parent"
@@ -30,8 +32,8 @@
android:id="@+id/material_drawer_name"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/material_drawer_padding"
- android:layout_marginLeft="@dimen/material_drawer_padding"
+ android:layout_marginStart="@dimen/material_drawer_item_profile_icon_padding_right"
+ android:layout_marginLeft="@dimen/material_drawer_item_profile_icon_padding_right"
android:fontFamily="sans-serif-medium"
android:gravity="center_vertical|start"
android:lines="1"
@@ -53,8 +55,8 @@
android:id="@+id/material_drawer_email"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/material_drawer_padding"
- android:layout_marginLeft="@dimen/material_drawer_padding"
+ android:layout_marginStart="@dimen/material_drawer_item_profile_icon_padding_right"
+ android:layout_marginLeft="@dimen/material_drawer_item_profile_icon_padding_right"
android:layout_marginEnd="0dp"
android:layout_marginRight="0dp"
android:fontFamily="sans-serif"
@@ -86,8 +88,8 @@
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/material_drawer_padding"
android:layout_marginLeft="@dimen/material_drawer_padding"
- android:layout_marginEnd="0dp"
- android:layout_marginRight="0dp"
+ android:layout_marginEnd="@dimen/material_drawer_item_profile_badge_padding_right"
+ android:layout_marginRight="@dimen/material_drawer_item_profile_badge_padding_right"
android:fontFamily="sans-serif"
android:gravity="center"
android:lines="1"
diff --git a/materialdrawer/src/main/res/layout/material_drawer_item_profile_setting.xml b/materialdrawer/src/main/res/layout/material_drawer_item_profile_setting.xml
index a966c337d..a8095f541 100755
--- a/materialdrawer/src/main/res/layout/material_drawer_item_profile_setting.xml
+++ b/materialdrawer/src/main/res/layout/material_drawer_item_profile_setting.xml
@@ -4,6 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="@dimen/material_drawer_item_profile"
+ android:layout_marginTop="@dimen/material_drawer_item_profile_item_margin"
+ android:layout_marginBottom="@dimen/material_drawer_item_profile_item_margin"
android:clipChildren="false"
android:clipToPadding="false"
android:paddingStart="@dimen/material_drawer_vertical_padding"
@@ -13,14 +15,14 @@
diff --git a/materialdrawer/src/main/res/layout/material_drawer_item_secondary.xml b/materialdrawer/src/main/res/layout/material_drawer_item_secondary.xml
index 83f01dc70..a04b46f2d 100755
--- a/materialdrawer/src/main/res/layout/material_drawer_item_secondary.xml
+++ b/materialdrawer/src/main/res/layout/material_drawer_item_secondary.xml
@@ -13,8 +13,8 @@
android:id="@+id/material_drawer_icon"
android:layout_width="@dimen/material_drawer_item_secondary_icon"
android:layout_height="@dimen/material_drawer_item_secondary"
- android:paddingStart="0dp"
- android:paddingLeft="0dp"
+ android:paddingStart="@dimen/material_drawer_item_secondary_icon_padding_left"
+ android:paddingLeft="@dimen/material_drawer_item_secondary_icon_padding_left"
android:paddingTop="@dimen/material_drawer_item_secondary_icon_padding"
android:paddingEnd="@dimen/material_drawer_item_secondary_icon_padding_right"
android:paddingRight="@dimen/material_drawer_item_secondary_icon_padding_right"
diff --git a/materialdrawer/src/main/res/layout/material_drawer_item_secondary_switch.xml b/materialdrawer/src/main/res/layout/material_drawer_item_secondary_switch.xml
index 03b1736e5..8b10f1ca7 100644
--- a/materialdrawer/src/main/res/layout/material_drawer_item_secondary_switch.xml
+++ b/materialdrawer/src/main/res/layout/material_drawer_item_secondary_switch.xml
@@ -16,8 +16,8 @@
android:layout_width="@dimen/material_drawer_item_secondary_icon"
android:layout_height="@dimen/material_drawer_item_secondary"
android:layout_gravity="center_vertical"
- android:paddingStart="0dp"
- android:paddingLeft="0dp"
+ android:paddingStart="@dimen/material_drawer_item_secondary_icon_padding_left"
+ android:paddingLeft="@dimen/material_drawer_item_secondary_icon_padding_left"
android:paddingTop="@dimen/material_drawer_item_secondary_icon_padding"
android:paddingEnd="@dimen/material_drawer_item_secondary_icon_padding_right"
android:paddingRight="@dimen/material_drawer_item_secondary_icon_padding_right"
diff --git a/materialdrawer/src/main/res/layout/material_drawer_item_secondary_toggle.xml b/materialdrawer/src/main/res/layout/material_drawer_item_secondary_toggle.xml
index e0b51bb8b..b80aa45e0 100644
--- a/materialdrawer/src/main/res/layout/material_drawer_item_secondary_toggle.xml
+++ b/materialdrawer/src/main/res/layout/material_drawer_item_secondary_toggle.xml
@@ -11,8 +11,8 @@
android:id="@+id/material_drawer_icon"
android:layout_width="@dimen/material_drawer_item_secondary_icon"
android:layout_height="@dimen/material_drawer_item_secondary"
- android:paddingStart="0dp"
- android:paddingLeft="0dp"
+ android:paddingStart="@dimen/material_drawer_item_secondary_icon_padding_left"
+ android:paddingLeft="@dimen/material_drawer_item_secondary_icon_padding_left"
android:paddingTop="@dimen/material_drawer_item_secondary_icon_padding"
android:paddingEnd="@dimen/material_drawer_item_secondary_icon_padding_right"
android:paddingRight="@dimen/material_drawer_item_secondary_icon_padding_right"
diff --git a/materialdrawer/src/main/res/layout/material_drawer_item_section.xml b/materialdrawer/src/main/res/layout/material_drawer_item_section.xml
index 86530a5d4..b9d44dc4a 100644
--- a/materialdrawer/src/main/res/layout/material_drawer_item_section.xml
+++ b/materialdrawer/src/main/res/layout/material_drawer_item_section.xml
@@ -8,7 +8,9 @@
android:id="@+id/material_drawer_divider"
android:layout_width="match_parent"
android:layout_height="1dp"
- android:layout_marginTop="@dimen/material_drawer_padding" />
+ android:layout_marginTop="@dimen/material_drawer_padding"
+ android:layout_marginLeft="@dimen/material_drawer_vertical_item_padding"
+ android:layout_marginRight="@dimen/material_drawer_vertical_item_padding" />
\ No newline at end of file
diff --git a/materialdrawer/src/main/res/layout/material_drawer_item_switch.xml b/materialdrawer/src/main/res/layout/material_drawer_item_switch.xml
index af15a74ed..b7518496c 100644
--- a/materialdrawer/src/main/res/layout/material_drawer_item_switch.xml
+++ b/materialdrawer/src/main/res/layout/material_drawer_item_switch.xml
@@ -16,8 +16,8 @@
android:layout_width="@dimen/material_drawer_item_primary_icon"
android:layout_height="@dimen/material_drawer_item_primary"
android:layout_gravity="center_vertical"
- android:paddingStart="0dp"
- android:paddingLeft="0dp"
+ android:paddingStart="@dimen/material_drawer_item_primary_icon_padding_left"
+ android:paddingLeft="@dimen/material_drawer_item_primary_icon_padding_left"
android:paddingTop="@dimen/material_drawer_item_primary_icon_padding"
android:paddingEnd="@dimen/material_drawer_item_primary_icon_padding_right"
android:paddingRight="@dimen/material_drawer_item_primary_icon_padding_right"
diff --git a/materialdrawer/src/main/res/layout/material_drawer_item_toggle.xml b/materialdrawer/src/main/res/layout/material_drawer_item_toggle.xml
index 43444bb49..88e58d83e 100755
--- a/materialdrawer/src/main/res/layout/material_drawer_item_toggle.xml
+++ b/materialdrawer/src/main/res/layout/material_drawer_item_toggle.xml
@@ -10,8 +10,8 @@
android:id="@+id/material_drawer_icon"
android:layout_width="@dimen/material_drawer_item_primary_icon"
android:layout_height="@dimen/material_drawer_item_primary"
- android:paddingStart="0dp"
- android:paddingLeft="0dp"
+ android:paddingStart="@dimen/material_drawer_item_primary_icon_padding_left"
+ android:paddingLeft="@dimen/material_drawer_item_primary_icon_padding_left"
android:paddingTop="@dimen/material_drawer_item_primary_icon_padding"
android:paddingEnd="@dimen/material_drawer_item_primary_icon_padding_right"
android:paddingRight="@dimen/material_drawer_item_primary_icon_padding_right"
diff --git a/materialdrawer/src/main/res/values/dimens.xml b/materialdrawer/src/main/res/values/dimens.xml
index b29709269..2b8678bf5 100755
--- a/materialdrawer/src/main/res/values/dimens.xml
+++ b/materialdrawer/src/main/res/values/dimens.xml
@@ -9,7 +9,8 @@
8dp
- 16dp
+ 12dp
+ 28dp
1dp
@@ -42,33 +43,37 @@
8dp
- 4dp
- 8dp
+ 28dp
+ 12dp
@dimen/material_drawer_item_background_padding_start_end
@dimen/material_drawer_item_background_padding_start_end
- 4dp
+ 0dp
- 48dp
- 56dp
- 12dp
- 32dp
+ 56dp
+ 52dp
+ 16dp
+ 16dp
+ 12dp
14sp
14sp
12sp
- 42dp
- 56dp
+ 48dp
+ 52dp
12dp
- 36dp
+ 18dp
+ 14dp
14sp
12sp
- 72dp
+ 56dp
+ 8dp
40dp
- 48dp
16dp
- 8dp
+ 6dp
+ 6dp
+ 16dp
14sp
14sp
@@ -88,9 +93,6 @@
14sp
-
- 0.12
-
56dp
24dp
diff --git a/materialdrawer/src/main/res/values/styles.xml b/materialdrawer/src/main/res/values/styles.xml
index 59c7e0cfb..b0bce056a 100644
--- a/materialdrawer/src/main/res/values/styles.xml
+++ b/materialdrawer/src/main/res/values/styles.xml
@@ -5,37 +5,25 @@
- #4000
- ?colorSurface
- - ?android:textColorPrimary
- - ?android:textColorSecondary
- - ?android:textColorSecondary
- - ?android:textColorSecondary
- - ?android:textColorHint
- - ?colorPrimary
+ - @color/color_drawer_item_text
+ - @color/color_drawer_item_text
+ - @color/color_drawer_item_text
+ - @color/color_drawer_item_text
+ - ?colorOutline
+ - ?colorSecondaryContainer
-
-
-
-
-
-
\ No newline at end of file