<LinearLayout
android:id="@+id/navigation_bar"
android:background="#f9f9f9"
android:orientation="horizontal"
android:layout_alignParentBottom="true"
android:layout_width="match_parent"
android:layout_height="50dp">
<ImageView
android:layout_weight="1"<!-- 占据1/(1+1+1) -->
android:layout_width="0dp"
android:layout_height="match_parent"/>
<ImageView
android:layout_weight="1" <!-- weight每个元素所占的权重 -->
android:layout_width="0dp"
android:layout_height="match_parent"/>
<ImageView
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent"/>
</RelativeLayout>
</LinearLayout>