如何设置RadioButton的字体在左边????高人指点啊
解决方案 »
- 求助:LIstView 的每个Item中有两个Button,怎么获得是哪个按钮被点击
- 手机上文件下载和传统的文件下载有什么区别?
- 请问:有谁使用Google帐号备份过application设置的?
- 请问在static方法中不能调用this.getWindow()该怎么解决?
- 对于多摄像头的手机,如何实现选择其中某个摄像头的功能
- 极光推送技术不就是简单的TCP/IP协议监听吗?
- 求助!!!!构建基于移动互联网的社交平台
- 求app思路将电脑当作手机的无线耳机
- SurfaceView的一个问题
- 关于eclipse中的citl +H无结果
- 如何实现 zip / rar文件浏览器?
- 用新的布局覆盖在窗口标题栏上
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"> <TextView android:id="@+id/text1"
android:layout_width="wrap_content" android:layout_height="30px"
android:maxWidth="200dip"
android:textSize="22sp"
android:layout_marginTop="10dip"
android:text="第一组第一项" />
<TextView android:id="@+id/created" android:layout_width="wrap_content"
android:layout_height="35px" android:layout_alignParentRight="true"
android:layout_marginLeft="10dip"
android:layout_marginTop="10dip"
android:text="1999年12月3号" />
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/created"
android:id="@+id/radio"/>
</RelativeLayout>
android:layout_toRightOf="@id/created"//在上一个控件的右边
android:layout_above="@id/created"//在上一个控件的上边
android:layout_below="@id/created"//在上一个控件的下边
你可以把RadioButton 里面的Text设置为空。
在这个控件的左边放一个TextView写上你要的字就可以了
用2个控件来实现
我好象也没有找到RadioButton 这个控件有把字设置到左边的方法!