For the default android button, when I click on it, its color is changed to orange for a few seconds (for notifying the user the button is clicked). Anyway, I don't want this property. I don't want to change my button color. How can I disable this property?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
Have a look on how button is styled by Android:
To style your button with Android's themes images resources, just create your own selector by copying the Android's one and replace all
@drawable/btn_default_*
by@android:drawable/btn_default_normal
initem
s tag (and just removeitem
s you don't want). For example :Then, apply this drawable selector as a
android:background
of your button.Hope it helps.
(If you want, I can also provide an example of applying this background easily to all your buttons, just ask.)