LinearLayout的介绍:
https://blog.csdn.net/YoNow/article/details/117672856
LineraLayout实现微信底部
使用四个LineraLayout来实现(由于图片大小没找的太好,所以看起来有点丑)
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:orientation="vertical"
android:layout_gravity="bottom">
<LinearLayout
android:layout_width="match_parent"
android:orientation="horizontal"
android:layout_height="45dp">
<ImageView
android:layout_width="10dp"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
android:background="@drawable/wechat"
android:layout_weight="1">
</ImageView>
<ImageView
android:layout_width="10dp"
android:layout_height="match_parent"
android:background="@drawable/tel"
android:layout_weight="1">
</ImageView>
<ImageView
andro