修改Button的样式!
16lz
2021-12-04
# <?xml version="1.0" encoding="utf-8"?>
- android:drawable="@drawable/button_pressed" />
- android:drawable="@drawable/button_focused" />
将该文件保存在 res/drawable/下 并使用android:src标签引用。 Android会自动改变对应状态的背景图片
在
<?xml version="1.0" encoding="utf-8"?>
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ffffffff"
>
更多相关文章
- Android(安卓)性能优化笔记 一 布局优化
- Android(安卓)Studio 文件类型图标
- 移动互联网的新宠:Android之缤纷世界
- android样式,主题设置心得
- android之Menu
- android对html支持接口总结
- android 应用程序不出现在最近打开程序列表里
- Android(安卓)在指定 LinearLayout 中动态添加BUTTON,并设置样式
- android系统中自带的各种图标