android将控件设置为透明色
2016-04-21 13:16
585 查看
设置一个按钮为透明,
<Button
android:id="@+id/btnAppMore"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="详细信息>>"
android:layout_alignParentRight="true"
android:layout_marginLeft="150dp"
android:background="@android:color/transparent"
/>
其他的控件也可以这样设置
<Button
android:id="@+id/btnAppMore"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="详细信息>>"
android:layout_alignParentRight="true"
android:layout_marginLeft="150dp"
android:background="@android:color/transparent"
/>
其他的控件也可以这样设置
相关文章推荐
- Android中使用Fragment实现标题栏(不可滑动)
- Android Studio遇到的问题
- Android ImageView实现圆形头像
- 自动启动支付宝支付宝小插件
- Android中使用printf打印信息
- good blog about android base
- Android开发实践
- [置顶] Android 开发效率
- android 利用mob 进行第三方登录
- AndroidStudio获取(debug/release)签名的sha1值
- Android改变字体大小,适应区域宽度
- 《android开发必知的50个诀窍》笔记Hack-2
- Android 冷启动 热启动 测试
- android倒计时,使用CountDownTimer
- 使用git hash提交android工程
- Android控件布局属性全解
- Android: LG G3无法连接Mac的解决办法
- android学习笔记(一)
- Android Studio不能获取远程依赖包的解决方法
- 一道题目带你充分理解Android Activity四大启动模式