如何实现这样的错误显示?
行为:在检查表单输入错误后,灰色"错误小吃栏"幻灯片在屏幕的顶部处打开。谷歌Material suggests it,但你怎么能真正建立这个?
(顺便说一下:我不认为,真正的小吃吧(顶级重力)是正确的解决方案。)
答案 0 :(得分:0)
I created a textview with visibility initially set to gone. On error this textview becomes visible (with approriate error-text) and all other elements slide down automatically.