Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

## Latest releases 🛠

- Kotlin && New | [v8.4.4](https://github.com/mikepenz/MaterialDrawer/tree/v8.4.4)
- 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)
- 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)
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ dependencies {
implementation "androidx.swiperefreshlayout:swiperefreshlayout:${versions.swiperefreshLayout}"

// used to showcase how to load images
implementation("io.coil-kt:coil:1.3.2")
implementation("io.coil-kt:coil:1.4.0")

// the sample uses more advanced functions of the fastadapter
// https://github.com/mikepenz/FastAdapter/
Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ buildscript {

ext {
release = [
versionName: "8.4.4",
versionCode: 8044
versionName: "8.4.5",
versionCode: 8045
]

setup = [
Expand All @@ -25,8 +25,8 @@ buildscript {
cardview : '1.0.0',
kotlin : "1.5.31",
fastadapter : "5.5.1",
iconics : "5.3.1",
aboutLibs : "8.9.1",
iconics : "5.3.2",
aboutLibs : "8.9.4",
navigation : "2.3.5",
detekt : '1.18.1',
slidingpaneLayout : "1.1.0",
Expand All @@ -40,7 +40,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.0-alpha13'
classpath 'com.android.tools.build:gradle:7.2.0-alpha02'
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}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
android:layout_marginStart="@dimen/material_drawer_vertical_padding"
android:layout_marginLeft="@dimen/material_drawer_vertical_padding"
android:clickable="true"
android:elevation="2dp"
android:elevation="@dimen/material_drawer_account_header_profile_elevation"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Attribute elevation is only used in API level 21 and higher (current min is 16)

android:focusable="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
Expand All @@ -81,7 +81,7 @@
android:id="@+id/material_drawer_account_header_current_badge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:elevation="4dp"
android:elevation="@dimen/material_drawer_account_header_profile_badge_elevation"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Attribute elevation is only used in API level 21 and higher (current min is 16)

android:fontFamily="sans-serif"
android:gravity="center"
android:lines="1"
Expand Down
16 changes: 8 additions & 8 deletions materialdrawer/src/main/res/layout/material_drawer_header.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
android:layout_marginLeft="@dimen/material_drawer_vertical_padding"
android:layout_marginTop="@dimen/material_drawer_account_header_horizontal_top"
android:clickable="true"
android:elevation="2dp"
android:elevation="@dimen/material_drawer_account_header_profile_elevation"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Attribute elevation is only used in API level 21 and higher (current min is 16)

android:focusable="true"
android:scaleType="fitCenter"
app:layout_constraintStart_toStartOf="parent"
Expand All @@ -42,7 +42,7 @@
android:id="@+id/material_drawer_account_header_current_badge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:elevation="4dp"
android:elevation="@dimen/material_drawer_account_header_profile_badge_elevation"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Attribute elevation is only used in API level 21 and higher (current min is 16)

android:fontFamily="sans-serif"
android:gravity="center"
android:lines="1"
Expand All @@ -64,7 +64,7 @@
android:layout_marginEnd="@dimen/material_drawer_vertical_padding"
android:layout_marginRight="@dimen/material_drawer_vertical_padding"
android:clickable="true"
android:elevation="2dp"
android:elevation="@dimen/material_drawer_account_header_profile_small_elevation"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Attribute elevation is only used in API level 21 and higher (current min is 16)

android:focusable="true"
android:scaleType="fitCenter"
android:visibility="visible"
Expand All @@ -75,7 +75,7 @@
android:id="@+id/material_drawer_account_header_small_first_badge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:elevation="4dp"
android:elevation="@dimen/material_drawer_account_header_profile_badge_elevation"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Attribute elevation is only used in API level 21 and higher (current min is 16)

android:fontFamily="sans-serif"
android:gravity="center"
android:lines="1"
Expand All @@ -97,7 +97,7 @@
android:layout_marginEnd="@dimen/material_drawer_vertical_padding"
android:layout_marginRight="@dimen/material_drawer_vertical_padding"
android:clickable="true"
android:elevation="2dp"
android:elevation="@dimen/material_drawer_account_header_profile_small_elevation"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Attribute elevation is only used in API level 21 and higher (current min is 16)

android:focusable="true"
android:scaleType="fitCenter"
android:visibility="visible"
Expand All @@ -108,7 +108,7 @@
android:id="@+id/material_drawer_account_header_small_second_badge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:elevation="4dp"
android:elevation="@dimen/material_drawer_account_header_profile_badge_elevation"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Attribute elevation is only used in API level 21 and higher (current min is 16)

android:fontFamily="sans-serif"
android:gravity="center"
android:lines="1"
Expand All @@ -130,7 +130,7 @@
android:layout_marginEnd="@dimen/material_drawer_vertical_padding"
android:layout_marginRight="@dimen/material_drawer_vertical_padding"
android:clickable="true"
android:elevation="2dp"
android:elevation="@dimen/material_drawer_account_header_profile_small_elevation"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Attribute elevation is only used in API level 21 and higher (current min is 16)

android:focusable="true"
android:scaleType="fitCenter"
android:visibility="visible"
Expand All @@ -141,7 +141,7 @@
android:id="@+id/material_drawer_account_header_small_third_badge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:elevation="4dp"
android:elevation="@dimen/material_drawer_account_header_profile_badge_elevation"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Attribute elevation is only used in API level 21 and higher (current min is 16)

android:fontFamily="sans-serif"
android:gravity="center"
android:lines="1"
Expand Down
3 changes: 3 additions & 0 deletions materialdrawer/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
<dimen name="material_drawer_account_header_dropdown_padding">1dp</dimen>
<dimen name="material_drawer_account_header_dropdown_margin_bottom">18dp</dimen>
<dimen name="material_drawer_account_header_non_compact_padding">56dp</dimen>
<dimen name="material_drawer_account_header_profile_elevation">2dp</dimen>
<dimen name="material_drawer_account_header_profile_small_elevation">2dp</dimen>
<dimen name="material_drawer_account_header_profile_badge_elevation">4dp</dimen>

<!-- General profileIcon margins for the drawer item -->
<dimen name="material_drawer_item_padding">8dp</dimen>
Expand Down