關於ConstraintLayout通知標誌ConstraintLayout通知標誌
我已經使用ConstraintLayout進行通知,如下所示。
出來放:
這裏我使用按鈕和TextView的
輸出:
insign of imageview is used by button it then it like this。 可以幫助我在constraintLayout中解決這個問題。
當我tryed與按鈕,它顯示是這樣的。
如果您使用FrameLayout或RelativeLayout顯示徽章對Button,ImageView或ImageButtom都正常工作,我會知道一件新事物。
但長按或點擊按鈕通知徽章是返回,在Imageview和imagebutton它工作正常。
你能嘗試添加機器人:海拔=「0dp」爲您的按鈕 –
我想如果海拔=「10dp」陰影顯示 –
我它不工作意思是使用0dp海拔按鈕,不使用任何徽章 –