![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
控件相关
红小帽
还在学习
展开
-
设置Button或ImageButton的背景颜色的透明度
修改Button的背影颜色后实在有些难看,让其与背景相融合,是设置呈透明或半透明状就好看多了。 超级简单,让你的按钮不再那么不堪入目有两种方法可供选择: 第一种:在布局文件里修改 <Button android:layout_width="wrap_content" android:layout_height="wrap_content" a原创 2016-09-11 15:09:04 · 2214 阅读 · 1 评论 -
Android控件的基本属性
常见的布局有四种 LinearLayout 线性布局 子元素任意; TableLayout 表格布局 子元素为TableRow,其中可放各种控件; RelativeLayout 相对布局 子元素任意; AbsoluteLayout 绝对布局 子元素任意;公共控件属性 android原创 2016-11-27 21:32:48 · 431 阅读 · 0 评论