radiobutton自定义排版问题
我把系统默认的radiobutton的按钮,换成自定义的按钮,大小为16*16.
布局如下:Text1 RB1 RB2
对于text1
<TextView
android:id="@+id/text1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/marginTop"
android:layout_alignTop="@+id/RG1"
android:text="称呼"/>
但是现在碰到排版问题,在480*800的Galaxy S上和720*1280的Huawei P6上:
1. 如果在Galaxy S 水平对齐,但是在SIII上就会有偏差。
2. 如果在SIII上水平对齐,但是在S上就会有偏差。
求大神帮忙。
布局如下:Text1 RB1 RB2
对于text1
<TextView
android:id="@+id/text1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/marginTop"
android:layout_alignTop="@+id/RG1"
android:text="称呼"/>
但是现在碰到排版问题,在480*800的Galaxy S上和720*1280的Huawei P6上:
1. 如果在Galaxy S 水平对齐,但是在SIII上就会有偏差。
2. 如果在SIII上水平对齐,但是在S上就会有偏差。
求大神帮忙。
...全文
相关推荐
android 自定义RadioButton的样式
android 自定义RadioButton的样式android 自定义RadioButton的样式
RadioButton和CheckBox自定义样式
Android自定义RadioButton和CheckBox样式,重写RadioButton的onDraw()方法,实现颜色选择器效果。
C# WinForm 自定义 RadioButton
使用VS2005开发,VS2005及以上版本都可以使用
Android自定义RadioButton及RadioGroup
支持使用selector的自定义RadioButton
Android 模仿美团的支付方式选择自定义RadioButton
自实现模仿美图的支付功能的单选按钮的操作,具有自定义的布局,具体内容请见http://blog.csdn.net/js931178805/article/details/8823306


