javiersantos / javiersantos/MaterialStyledDialogs
In Android version 7 the header icon is not working correctly .
- Dominant language
- Kotlin
- Stars
- 1.2k
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
The icon will cut to half sometimes, I am using this code
public static void infoDialogue(Context context, String info) {
final MaterialStyledDialog.Builder dialogHeader_1 = new MaterialStyledDialog.Builder(context)
.setStyle(Style.HEADER_WITH_ICON)
.setIcon(new IconicsDrawable(context).icon(MaterialDesignIconic.Icon.gmi_info).color(Color.WHITE))
.withIconAnimation(false)
.setTitle("Info")
.setDescription(info)
.setHeaderColor(R.color.yellow)
.setNegativeText("OK");
dialogHeader_1.show();
}
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the shown infoDialogue usage on Android 7, focusing on the MaterialStyledDialog header icon and its rendering. Inspect the header/icon implementation involved in the dialog and verify that the icon is displayed fully and consistently rather than being clipped in half.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100