-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Make header profile elevation configurable via dimens.xml #2753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
mikepenz
commented
Oct 22, 2021
- specify elevation in account header as dimension, for easier adjustment
- FIX how to remove shadow (elevation) of ProfileDrawerItem #2751
| android:layout_marginLeft="@dimen/material_drawer_vertical_padding" | ||
| android:clickable="true" | ||
| android:elevation="2dp" | ||
| android:elevation="@dimen/material_drawer_account_header_profile_elevation" |
There was a problem hiding this comment.
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:layout_width="wrap_content" | ||
| android:layout_height="wrap_content" | ||
| android:elevation="4dp" | ||
| android:elevation="@dimen/material_drawer_account_header_profile_badge_elevation" |
There was a problem hiding this comment.
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:layout_marginTop="@dimen/material_drawer_account_header_horizontal_top" | ||
| android:clickable="true" | ||
| android:elevation="2dp" | ||
| android:elevation="@dimen/material_drawer_account_header_profile_elevation" |
There was a problem hiding this comment.
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:layout_width="wrap_content" | ||
| android:layout_height="wrap_content" | ||
| android:elevation="4dp" | ||
| android:elevation="@dimen/material_drawer_account_header_profile_badge_elevation" |
There was a problem hiding this comment.
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:layout_marginRight="@dimen/material_drawer_vertical_padding" | ||
| android:clickable="true" | ||
| android:elevation="2dp" | ||
| android:elevation="@dimen/material_drawer_account_header_profile_small_elevation" |
There was a problem hiding this comment.
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:layout_width="wrap_content" | ||
| android:layout_height="wrap_content" | ||
| android:elevation="4dp" | ||
| android:elevation="@dimen/material_drawer_account_header_profile_badge_elevation" |
There was a problem hiding this comment.
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:layout_marginRight="@dimen/material_drawer_vertical_padding" | ||
| android:clickable="true" | ||
| android:elevation="2dp" | ||
| android:elevation="@dimen/material_drawer_account_header_profile_small_elevation" |
There was a problem hiding this comment.
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:layout_width="wrap_content" | ||
| android:layout_height="wrap_content" | ||
| android:elevation="4dp" | ||
| android:elevation="@dimen/material_drawer_account_header_profile_badge_elevation" |
There was a problem hiding this comment.
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:layout_marginRight="@dimen/material_drawer_vertical_padding" | ||
| android:clickable="true" | ||
| android:elevation="2dp" | ||
| android:elevation="@dimen/material_drawer_account_header_profile_small_elevation" |
There was a problem hiding this comment.
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:layout_width="wrap_content" | ||
| android:layout_height="wrap_content" | ||
| android:elevation="4dp" | ||
| android:elevation="@dimen/material_drawer_account_header_profile_badge_elevation" |
There was a problem hiding this comment.
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) |