<?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:id="@+id/village_ll" 
 | 
        android:layout_width="match_parent" 
 | 
        android:layout_height="wrap_content" 
 | 
        android:layout_below="@id/titleBar" 
 | 
        android:layout_margin="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/village_oldNumber" 
 | 
            android:layout_width="wrap_content" 
 | 
            android:layout_height="match_parent" 
 | 
            android:textSize="@dimen/text_size" /> 
 | 
  
 | 
    </LinearLayout> 
 | 
  
 | 
  
 | 
    <EditText 
 | 
        android:id="@+id/village_newNum" 
 | 
        android:layout_width="match_parent" 
 | 
        android:layout_height="wrap_content" 
 | 
        android:layout_below="@+id/village_ll" 
 | 
        android:layout_alignParentStart="true" 
 | 
        android:layout_marginStart="20dp" 
 | 
        android:layout_marginTop="20dp" 
 | 
        android:layout_marginEnd="20dp" 
 | 
        android:layout_marginBottom="20dp" 
 | 
        android:hint="请输入新设置的12位16进制卡密码" 
 | 
        android:lines="1" 
 | 
        android:maxLength="12" /> 
 | 
  
 | 
    <TextView 
 | 
        android:id="@+id/village_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> 
 |