<?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" /> 
 | 
  
 | 
  
 | 
    <RelativeLayout 
 | 
        android:id="@+id/chooseCardType" 
 | 
        android:layout_width="match_parent" 
 | 
        android:layout_height="45dp" 
 | 
        android:layout_below="@id/titleBar" 
 | 
        android:layout_marginLeft="20dp" 
 | 
        android:layout_marginTop="20dp" 
 | 
        android:layout_marginRight="20dp" 
 | 
        android:background="@drawable/ic_choose_gray_edge"> 
 | 
  
 | 
        <TextView 
 | 
            android:id="@+id/chooseCardTypeText" 
 | 
            android:layout_width="wrap_content" 
 | 
            android:layout_height="wrap_content" 
 | 
            android:layout_centerVertical="true" 
 | 
            android:layout_marginLeft="10dp" 
 | 
            android:hint="请选择卡类型" 
 | 
            android:textColor="#000000" 
 | 
            android:textSize="18sp" /> 
 | 
  
 | 
        <ImageView 
 | 
            android:layout_width="15dp" 
 | 
            android:layout_height="15dp" 
 | 
            android:layout_alignParentRight="true" 
 | 
            android:layout_centerVertical="true" 
 | 
            android:layout_marginRight="8dp" 
 | 
            android:src="@mipmap/icon_bottom" /> 
 | 
    </RelativeLayout> 
 | 
  
 | 
    <LinearLayout 
 | 
        android:id="@+id/electric_ll" 
 | 
        android:layout_width="match_parent" 
 | 
        android:layout_height="wrap_content" 
 | 
        android:layout_below="@id/chooseCardType" 
 | 
  
 | 
        android:layout_marginStart="20dp" 
 | 
        android:layout_marginTop="20dp" 
 | 
        android:layout_marginEnd="20dp" 
 | 
        android:layout_marginBottom="20dp" 
 | 
        android:orientation="horizontal"> 
 | 
  
 | 
        <TextView 
 | 
            android:layout_width="wrap_content" 
 | 
            android:layout_height="wrap_content" 
 | 
            android:text="当前卡标识:" 
 | 
            android:textColor="#000000" 
 | 
            android:textSize="@dimen/text_size" /> 
 | 
  
 | 
        <TextView 
 | 
            android:id="@+id/electric_oldNumber" 
 | 
            android:layout_width="wrap_content" 
 | 
            android:layout_height="match_parent" 
 | 
            android:text="请先选择卡类型" 
 | 
            android:textSize="@dimen/text_size" /> 
 | 
  
 | 
    </LinearLayout> 
 | 
  
 | 
  
 | 
    <EditText 
 | 
        android:id="@+id/electric_newNum" 
 | 
        android:layout_width="match_parent" 
 | 
        android:layout_height="wrap_content" 
 | 
        android:layout_below="@+id/electric_ll" 
 | 
        android:layout_alignParentStart="true" 
 | 
        android:layout_marginStart="20dp" 
 | 
        android:layout_marginTop="20dp" 
 | 
        android:layout_marginEnd="20dp" 
 | 
        android:layout_marginBottom="20dp" 
 | 
        android:hint="请输入新的卡标识" 
 | 
        android:inputType="number" /> 
 | 
  
 | 
    <TextView 
 | 
        android:id="@+id/electric_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> 
 |