文章标题
来源:互联网 发布:心理治疗效果 知乎 编辑:程序博客网 时间:2024/06/05 19:01
布局
<RadioGroup android:id="@+id/rd_group" android:layout_width="match_parent" android:layout_height="40dp" android:orientation="horizontal" > <RadioButton android:id="@+id/zixun" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1" android:button="@null" android:checked="true" android:text="咨询" android:textSize="20sp" android:gravity="center_horizontal" android:background="@drawable/title" /> <RadioButton android:id="@+id/redian" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1" android:button="@null" android:text="热点" android:textSize="20sp" android:gravity="center_horizontal" android:background="@drawable/title" /> <RadioButton android:id="@+id/boke" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1" android:button="@null" android:text="博客" android:textSize="20sp" android:gravity="center_horizontal" android:background="@drawable/title" /> <RadioButton android:id="@+id/tuijian" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1" android:button="@null" android:text="推荐" android:textSize="20sp" android:gravity="center_horizontal" android:background="@drawable/title" /></RadioGroup>
selector选择器、、
<?xml version="1.0" encoding="utf-8"?><selector xmlns:android="http://schemas.android.com/apk/res/android" > <item android:state_checked="true"> <layer-list> <item android:top="35dp"> <shape android:shape="rectangle" > <solid android:color="#ff0000" /> </shape> </item> </layer-list> </item> </selector>
0 0
- 文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题 文章标题 文章标题 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- Scrapy、Python研习
- main
- java虚拟机类加载机制
- Viewpager
- pitch yaw roll
- 文章标题
- git和github,oschina用法
- as缓动类的用法
- MySQL事务控制语句
- XP怎样把桌面上的快捷方式放到任务栏里
- Struts MVC 框架 (让你一步步成为高手)
- android-获取资源图片为Bitmap
- 基于对话框的MFC学习笔记
- 新闻资讯