2
A
回答
3
解决
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_centerVertical="true">
<Button android:id="@+id/open"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="Open"
android:layout_centerVertical="true"
/>
<CheckBox android:id="@+id/check"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@id/open"
/>
<TextView android:text="@+id/label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/label"
android:textSize="16px"
android:layout_toRightOf="@id/check"
/>
</RelativeLayout>
相关问题
- 1. 表列内容不垂直对齐
- 2. 列中的垂直对齐内容
- 3. DataGrid行内容垂直对齐
- 4. 垂直对齐内部表
- 5. Android列表视图行移动垂直
- 6. 在bash中的不同内容列表的垂直对齐
- 7. bootstrap垂直对齐中间的内容
- 8. 垂直对齐div的内容
- 9. 垂直对齐div中的内容
- 10. 垂直对齐列
- 11. CSS - 垂直对齐DIV内容
- 12. 垂直对齐堆栈内容
- 13. 无法获得Bootstrap列表项内容以便垂直对齐
- 14. Bootstrap 4 - 垂直对齐列表项目内容
- 15. Android SwitchCompat的垂直对齐?
- 16. div内图像的垂直对齐
- 17. 垂直对齐的图像内锚
- 18. jQuery移动中间垂直对齐在列表视图中
- 19. 垂直对齐列中的图像
- 20. 如何垂直对齐列内容并设置列宽?
- 21. 引导列表内嵌与垂直对齐图标
- 22. Android:垂直3D列表视图
- 23. CSS - 垂直对齐内格
- 24. 列表框中的垂直对齐
- 25. 垂直对齐的HTML列表文本
- 26. 列表垂直对齐的IE 9
- 27. 垂直对齐里面的列表项
- 28. 试图垂直对齐格内div
- 29. HTML - 表行垂直对齐的问题
- 30. 垂直和水平对齐容器和容器中的内容