<RelativeLayout
android:id="@+id/RelativeLayout01"
android:layout_width = "wrap_content"
android:layout_height = "wrap_content"
>
<Button
android:id="@+id/A"
android:text="@string/A"
android:layout_width = "wrap_content"
android:layout_height = "wrap_content"
/>
<Button
android:id="@+id/B"
android:text="@string/B"
android:layout_width = "wrap_content"
android:layout_height = "wrap_content"
android:layout_toRightOf="@+id/A"
/>
<Button
android:id="@+id/C"
android:text="@string/C"
android:layout_width = "wrap_content"
android:layout_height = "wrap_content"
android:layout_below="@+id/A"
/>
<Button
android:id="@+id/D"
android:text="@string/D"
android:layout_width = "wrap_content"
android:layout_height = "wrap_content"
android:layout_above="@+id/B"
android:layout_toRightOf="@+id/C"
/>
android:id="@+id/RelativeLayout01"
android:layout_width = "wrap_content"
android:layout_height = "wrap_content"
>
<Button
android:id="@+id/A"
android:text="@string/A"
android:layout_width = "wrap_content"
android:layout_height = "wrap_content"
/>
<Button
android:id="@+id/B"
android:text="@string/B"
android:layout_width = "wrap_content"
android:layout_height = "wrap_content"
android:layout_toRightOf="@+id/A"
/>
<Button
android:id="@+id/C"
android:text="@string/C"
android:layout_width = "wrap_content"
android:layout_height = "wrap_content"
android:layout_below="@+id/A"
/>
<Button
android:id="@+id/D"
android:text="@string/D"
android:layout_width = "wrap_content"
android:layout_height = "wrap_content"
android:layout_above="@+id/B"
android:layout_toRightOf="@+id/C"
/>
解决方案 »
- 求助,从网络下载多图片到本地,怎么用handlerthread实现
- cygwin下交叉编译ffmpeg的诡异问题求助!
- Mediaplayer新手问题
- 基于Android的软件怎么样测试
- 请问我用android默认播放器能播放一个rtsp网址,但是用我自己写的播放器不能播放
- android代码中是怎样调用输入法的,具体在哪位置,谢谢!
- 我想自学android,要学多久或者什么程度才可以找一份工作。
- (cocos2dx交叉编译android过程)eclipse的run as和debug as疑问
- 如何查看谷歌demo的源码
- 新手求教-修改app,so文件
- 问个略微小白的问题:字体画刷怎么设置啊,就是设置字体的填充色。。。。。
- android 九宫格请教
<Button
android:id="@+id/D"
android:text="@string/D"
android:layout_width = "wrap_content"
android:layout_height = "wrap_content"
android:layout_above="@+id/B"
android:layout_toRightOf="@+id/C"
/>改成:<Button
android:id="@+id/D"
android:text="@string/D"
android:layout_width = "wrap_content"
android:layout_height = "wrap_content"
android:layout_below="@+id/B"
android:layout_toRightOf="@+id/C"
/>