How to add floating label on Spinner

前端 未结 10 1733
Happy的楠姐
Happy的楠姐 2020-12-12 14:46

After using the Android Design Support Library\'s TextInputLayout to place a floating label above an EditText component, I was wondering if there is a way to add a floating

10条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-12 15:08

    I have a gist made by myself to solve the same problem that you have.

    Check It out:

    https://gist.github.com/rodrigohenriques/77398a81b5d01ac71c3b

    Now I don't need spinners. You will still having floating label effect with animations included.

提交回复
热议问题