我把系统默认的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上就会有偏差。求大神帮忙。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货