How to add floating label on Spinner

前端 未结 10 1720
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:34

    You can achieve this :

    With new Material library styles like this:

    
    
        
    
    

    for more information: https://material.io/develop/android/components/menu/

提交回复
热议问题