| <?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" /> | 
|   | 
|     <ScrollView | 
|         android:layout_width="match_parent" | 
|         android:layout_height="match_parent" | 
|         android:layout_above="@+id/setup_ok" | 
|         android:layout_below="@+id/titleBar"> | 
|   | 
|         <LinearLayout | 
|             android:layout_width="match_parent" | 
|             android:layout_height="match_parent" | 
|             android:layout_marginTop="20dp" | 
|             android:orientation="vertical"> | 
|   | 
|             <LinearLayout | 
|                 style="@style/newCardLL" | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="wrap_content" | 
|                 android:visibility="gone"> | 
|   | 
|                 <TextView | 
|                     android:layout_width="0dp" | 
|                     android:layout_height="wrap_content" | 
|                     android:layout_weight="1" | 
|                     android:text="@string/eq_no" | 
|                     android:textSize="@dimen/new_card_size" /> | 
|   | 
|                 <EditText | 
|                     android:id="@+id/admin_serial" | 
|                     android:layout_width="0dp" | 
|                     android:layout_height="@dimen/edt_height" | 
|                     android:layout_weight="2" | 
|                     android:background="@drawable/editbg" | 
|                     android:inputType="number" | 
|                     android:lines="1" | 
|                     android:maxLength="5" | 
|                     android:paddingLeft="10dp" | 
|                     android:textSize="@dimen/new_card_size" /> | 
|   | 
|   | 
|             </LinearLayout> | 
|   | 
|   | 
|             <LinearLayout | 
|                 android:id="@+id/chose_address_code" | 
|                 style="@style/newCardLL" | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="wrap_content"> | 
|   | 
|                 <TextView | 
|                     android:layout_width="0dp" | 
|                     android:layout_height="wrap_content" | 
|                     android:layout_weight="1" | 
|                     android:text="@string/address_code" | 
|                     android:textSize="@dimen/new_card_size" /> | 
|   | 
|                 <EditText | 
|                     android:id="@+id/admin_address_code" | 
|                     android:layout_width="0dp" | 
|                     android:layout_height="@dimen/edt_height" | 
|                     android:layout_weight="2" | 
|                     android:background="@drawable/editbg" | 
|                     android:inputType="number" | 
|                     android:lines="1" | 
|                     android:maxLength="5" | 
|                     android:paddingLeft="10dp" | 
|                     android:textSize="@dimen/new_card_size" /> | 
|             </LinearLayout> | 
|   | 
|             <LinearLayout | 
|                 style="@style/newCardLL" | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="wrap_content" | 
|                 android:visibility="gone"> | 
|   | 
|                 <TextView | 
|                     android:layout_width="0dp" | 
|                     android:layout_height="wrap_content" | 
|                     android:layout_weight="1.5" | 
|                     android:text="水单价(元/吨)" | 
|                     android:textSize="@dimen/new_card_size" /> | 
|   | 
|                 <EditText | 
|                     android:id="@+id/admin_waterPrice" | 
|                     android:layout_width="0dp" | 
|                     android:layout_height="@dimen/edt_height" | 
|                     android:layout_weight="2" | 
|                     android:background="@drawable/editbg" | 
|                     android:inputType="numberDecimal" | 
|                     android:lines="1" | 
|                     android:paddingLeft="10dp" | 
|                     android:textSize="@dimen/new_card_size" /> | 
|   | 
|   | 
|             </LinearLayout> | 
|             <LinearLayout | 
|                 style="@style/newCardLL" | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="wrap_content" | 
|                 android:visibility="visible"> | 
|   | 
|                 <TextView | 
|                     android:layout_width="0dp" | 
|                     android:layout_height="wrap_content" | 
|                     android:layout_weight="1.5" | 
|                     android:text="电单价(元/度)" | 
|                     android:textSize="@dimen/new_card_size" /> | 
|   | 
|                 <EditText | 
|                     android:id="@+id/electric_newNum" | 
|                     android:layout_width="0dp" | 
|                     android:layout_height="@dimen/edt_height" | 
|                     android:layout_weight="2" | 
|                     android:background="@drawable/editbg" | 
|                     android:inputType="numberDecimal" | 
|                     android:lines="1" | 
|                     android:paddingLeft="10dp" | 
|                     android:textSize="@dimen/new_card_size" /> | 
|   | 
|   | 
|             </LinearLayout> | 
|             <LinearLayout | 
|                 android:id="@+id/chose_address" | 
|                 style="@style/newCardLL" | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="wrap_content" | 
|                 android:visibility="gone"> | 
|   | 
|                 <TextView | 
|                     android:layout_width="wrap_content" | 
|                     android:layout_height="wrap_content" | 
|                     android:text="地址:" | 
|                     android:textSize="@dimen/new_card_size" /> | 
|   | 
|                 <TextView | 
|                     android:id="@+id/admin_address" | 
|                     android:layout_width="match_parent" | 
|                     android:layout_height="wrap_content" | 
|                     android:hint="请点击选择" | 
|                     android:textSize="@dimen/new_card_size" /> | 
|             </LinearLayout> | 
|         </LinearLayout> | 
|   | 
|   | 
|     </ScrollView> | 
|   | 
|   | 
|     <TextView | 
|         android:id="@+id/setup_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> |