<?xml version="1.0" encoding="utf-8"?>
<com.yuqirong.swipebackdemo.view.SwipeBackLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/mSwipeBackLayout"
    app:swipe_mode="left">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@android:color/holo_red_light">

      <ListView
          android:id="@+id/lv_city"
          android:layout_width="match_parent"
          android:layout_height="match_parent"/>
    </LinearLayout>


</com.yuqirong.swipebackdemo.view.SwipeBackLayout>