2
我在我的android應用程序中創建了一個窗體,並使用material.MaterialBetterSpinner
。如何在MaterialBetterSpinner
處於正常狀態和聚焦狀態時移除或更改底部邊框的顏色?在Android中設置MaterialBetterSpinner的風格
代碼:
<com.weiwangcn.betterspinner.library.material.MaterialBetterSpinner
android:id="@+id/spinnerPro"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="Select Project"
app:met_floatingLabel="normal"/>
你可以添加一個圖像顯示你目前有什麼? –
我檢查了MaterialBetterSpinner的代碼,開發人員使用AutoCompleteTextView顯示下拉菜單。您需要創建一個將替換顏色的樣式。據我所知,它不是開箱即用的 –
那就是示例圖片的鏈接https://i.stack.imgur.com/rEgUK.png – tots