Home > Mobile >  Android studio dialog layout problem
Android studio dialog layout problem

Time:12-30

SetView is defined in the dialog, use a custom layout, the layout is using androidx constraintlayout. Widget. Constraintlayout, then appear below this kind of situation, the layout does not cover the dialog box, the height and width are used the match - parent, strives for the great god help solve

CodePudding user response:

You post more of your code, but there are also some Dialog rather easy to use library:

(1)
https://github.com/orhanobut/dialogplus(2) https://github.com/afollestad/material-dialogs
  • Related