今天简单做了布局的绘制
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
android:background="@color/grey_f3f3f3">
<RelativeLayout
android:id="@+id/main_top_layout"
android:layout_width="match_parent"
android:layout_height="50dp"
tools:ignore="UselessParent">
<TextView
android:text="@string/app_name"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center"
android:padding="10dp"
android:textStyle="bold"
android:textSize="18sp"
android:textColor="@color/black"
tools:ignore="RelativeOverlap" />
<ImageView
android:id="@+id/main_iv_search"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:src="@mipmap/search"
android:layout_alignParentEnd="true"
android:padding="10dp"/>
</RelativeLayout>
<ListView
android:id="@+id/main_lv"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/main_top_layout"
android:padding="10dp"
android:divider="@null"
android:dividerHeight="6dp"
android:scrollbars="none"
android:background="@color/grey_f3f3f3" />
<ImageButton
android:id="@+id/main_btn_more"
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@mipmap/more"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_margin="20dp"
android:background="@drawable/main_morebtn_bg"
/>
<Button
android:id="@+id/main_btn_edit"
android:layout_width="100dp"
android:layout_height="50dp"
android:layout_alignBottom="@id/main_btn_more"
android:background="@drawable/main_recordbtn_bg"
android:layout_toStartOf="@id/main_btn_more"
android:text="@string/editone"
android:textStyle="bold"
android:textColor="@color/white"
android:drawableLeft="@mipmap/edit"
android:gravity="center_vertical"/>
</RelativeLayout>
效果如下