在dialog里定義了setView,使用了自定義的布局,那個布局是用androidx.constraintlayout.widget.ConstraintLayout,然后就出現了下面這種情況,布局沒有覆寫dialog框,高度和寬度都用了match-parent,求大神幫忙解答
uj5u.com熱心網友回復:
你這多貼點你的代碼嘛。另外也有一些Dialog的庫挺好用的:(1)https://github.com/orhanobut/dialogplus
(2)https://github.com/afollestad/material-dialogs
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/242082.html
標籤:Android
上一篇:我用ECLIPSE編輯APP專案,系統報錯資訊“Can't find API database; API check not performed”如何解決
下一篇:IOS的APP在“agreements, tax, and banking”顯示“Active (Pending User Info)”狀態。。。
