安卓相对布局
1、兄弟组件定位的经典例子:梅花布局
看下效果图:
页面代码示例:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height=
安卓相对布局
1、兄弟组件定位的经典例子:梅花布局
看下效果图:
页面代码示例:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height=