如何设置RadioButton的字体在左边????高人指点啊
解决方案 »
- 锁屏状态下点亮屏幕,并弹出闹钟提示信息
- SurfaceView播放视频时只有声音没有图片
- android中系统后退键问题
- Android的wap push到底是啥玩意?
- android模拟器,观看DDMS的log信息
- textview的动态更新问题
- 请问 if (SystemProperties.get("ro.config.smsCoding_National", "0").equals("0"))
- android 如何使用tcp socket如何发送二进制数据?
- 在线音乐播放器
- android怎样在按back键退出activity时候做出侧滑的动画效果?
- 如何实现 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 这个控件有把字设置到左边的方法!