| <?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" | 
|     android:layout_width="match_parent" | 
|     android:layout_height="match_parent" | 
|     android:orientation="vertical"> | 
|   | 
|     <com.dayu.baselibrary.view.TitleBar | 
|         android:id="@+id/titleBar" | 
|         android:layout_width="match_parent" | 
|         android:layout_height="@dimen/dimen_title_height" | 
|         android:background="@color/title_bar_bg" | 
|         app:centerText="水量单价设置" | 
|         app:leftImage="@mipmap/icon_back" /> | 
|   | 
|     <LinearLayout | 
|         android:layout_width="match_parent" | 
|         android:layout_height="wrap_content" | 
|         android:layout_below="@id/titleBar" | 
|         android:orientation="vertical"> | 
|   | 
|         <LinearLayout | 
|             android:id="@+id/water_ll" | 
|             android:layout_width="match_parent" | 
|             android:layout_height="wrap_content" | 
|             android:layout_marginLeft="20dp" | 
|             android:layout_marginTop="10dp" | 
|             android:layout_marginRight="20dp" | 
|             android:orientation="horizontal"> | 
|   | 
|             <TextView | 
|                 android:layout_width="wrap_content" | 
|                 android:layout_height="wrap_content" | 
|                 android:text="第一阶梯水价:" | 
|                 android:textSize="@dimen/text_size" /> | 
|   | 
|             <!--        <TextView--> | 
|             <!--            android:id="@+id/water_oldNumber"--> | 
|             <!--            android:layout_width="wrap_content"--> | 
|             <!--            android:layout_height="match_parent"--> | 
|             <!--            android:textSize="@dimen/text_size" />--> | 
|             <EditText | 
|                 android:id="@+id/water_newNum" | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="wrap_content" | 
|                 android:layout_below="@+id/water_ll" | 
|                 android:layout_alignParentStart="true" | 
|                 android:hint="请输入新设置的单价" | 
|                 android:inputType="numberDecimal" /> | 
|         </LinearLayout> | 
|   | 
|         <LinearLayout | 
|             android:layout_width="wrap_content" | 
|             android:layout_height="wrap_content" | 
|             android:layout_marginLeft="20dp" | 
|             android:layout_marginTop="10dp" | 
|             android:layout_marginRight="20dp" | 
|             android:orientation="horizontal"> | 
|   | 
|             <TextView | 
|                 android:layout_width="wrap_content" | 
|                 android:layout_height="wrap_content" | 
|                 android:text="水量(方):" | 
|                 android:textSize="@dimen/text_size" /> | 
|   | 
|             <!--        <TextView--> | 
|             <!--            android:id="@+id/water_oldNumber"--> | 
|             <!--            android:layout_width="wrap_content"--> | 
|             <!--            android:layout_height="match_parent"--> | 
|             <!--            android:textSize="@dimen/text_size" />--> | 
|             <EditText | 
|   | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="wrap_content" | 
|                 android:layout_below="@+id/water_ll" | 
|                 android:layout_alignParentStart="true" | 
|                 android:hint="请输入第一阶梯水量(方)" | 
|                 android:inputType="numberDecimal" /> | 
|   | 
|         </LinearLayout> | 
|         <LinearLayout | 
|   | 
|             android:layout_width="match_parent" | 
|             android:layout_height="wrap_content" | 
|             android:layout_marginLeft="20dp" | 
|             android:layout_marginTop="10dp" | 
|             android:layout_marginRight="20dp" | 
|             android:orientation="horizontal"> | 
|   | 
|             <TextView | 
|                 android:layout_width="wrap_content" | 
|                 android:layout_height="wrap_content" | 
|                 android:text="第二阶梯水价:" | 
|                 android:textSize="@dimen/text_size" /> | 
|   | 
|             <!--        <TextView--> | 
|             <!--            android:id="@+id/water_oldNumber"--> | 
|             <!--            android:layout_width="wrap_content"--> | 
|             <!--            android:layout_height="match_parent"--> | 
|             <!--            android:textSize="@dimen/text_size" />--> | 
|             <EditText | 
|   | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="wrap_content" | 
|                 android:layout_below="@+id/water_ll" | 
|                 android:layout_alignParentStart="true" | 
|                 android:hint="请输入新设置的单价" | 
|                 android:inputType="numberDecimal" /> | 
|         </LinearLayout> | 
|   | 
|         <LinearLayout | 
|             android:layout_width="wrap_content" | 
|             android:layout_height="wrap_content" | 
|             android:layout_marginLeft="20dp" | 
|             android:layout_marginTop="10dp" | 
|             android:layout_marginRight="20dp" | 
|             android:orientation="horizontal"> | 
|   | 
|             <TextView | 
|                 android:layout_width="wrap_content" | 
|                 android:layout_height="wrap_content" | 
|                 android:text="水量(方):" | 
|                 android:textSize="@dimen/text_size" /> | 
|   | 
|             <!--        <TextView--> | 
|             <!--            android:id="@+id/water_oldNumber"--> | 
|             <!--            android:layout_width="wrap_content"--> | 
|             <!--            android:layout_height="match_parent"--> | 
|             <!--            android:textSize="@dimen/text_size" />--> | 
|             <EditText | 
|   | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="wrap_content" | 
|                 android:layout_below="@+id/water_ll" | 
|                 android:layout_alignParentStart="true" | 
|                 android:hint="请输入第二阶梯水量(方)" | 
|                 android:inputType="numberDecimal" /> | 
|   | 
|         </LinearLayout> | 
|         <LinearLayout | 
|   | 
|             android:layout_width="match_parent" | 
|             android:layout_height="wrap_content" | 
|             android:layout_marginLeft="20dp" | 
|             android:layout_marginTop="10dp" | 
|             android:layout_marginRight="20dp" | 
|             android:orientation="horizontal"> | 
|   | 
|             <TextView | 
|                 android:layout_width="wrap_content" | 
|                 android:layout_height="wrap_content" | 
|                 android:text="第三阶梯水价:" | 
|                 android:textSize="@dimen/text_size" /> | 
|   | 
|             <!--        <TextView--> | 
|             <!--            android:id="@+id/water_oldNumber"--> | 
|             <!--            android:layout_width="wrap_content"--> | 
|             <!--            android:layout_height="match_parent"--> | 
|             <!--            android:textSize="@dimen/text_size" />--> | 
|             <EditText | 
|   | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="wrap_content" | 
|                 android:layout_below="@+id/water_ll" | 
|                 android:layout_alignParentStart="true" | 
|                 android:hint="请输入新设置的单价" | 
|                 android:inputType="numberDecimal" /> | 
|         </LinearLayout> | 
|   | 
|         <LinearLayout | 
|             android:layout_width="wrap_content" | 
|             android:layout_height="wrap_content" | 
|             android:layout_marginLeft="20dp" | 
|             android:layout_marginTop="10dp" | 
|             android:layout_marginRight="20dp" | 
|             android:orientation="horizontal"> | 
|   | 
|             <TextView | 
|                 android:layout_width="wrap_content" | 
|                 android:layout_height="wrap_content" | 
|                 android:text="水量(方):" | 
|                 android:textSize="@dimen/text_size" /> | 
|   | 
|             <!--        <TextView--> | 
|             <!--            android:id="@+id/water_oldNumber"--> | 
|             <!--            android:layout_width="wrap_content"--> | 
|             <!--            android:layout_height="match_parent"--> | 
|             <!--            android:textSize="@dimen/text_size" />--> | 
|             <EditText | 
|   | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="wrap_content" | 
|                 android:layout_below="@+id/water_ll" | 
|                 android:layout_alignParentStart="true" | 
|                 android:hint="请输入第三阶梯水量(方)" | 
|                 android:inputType="numberDecimal" /> | 
|   | 
|         </LinearLayout> | 
|     </LinearLayout> | 
|   | 
|   | 
|     <TextView | 
|         android:id="@+id/water_ok" | 
|         android:layout_width="match_parent" | 
|         android:layout_height="50dp" | 
|         android:layout_alignParentBottom="true" | 
|         android:background="@color/title_bg" | 
|         android:gravity="center" | 
|         android:text="确  定" | 
|         android:textSize="@dimen/text_size" /> | 
| </RelativeLayout> |