<?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.recharge.view.TitleBar
|
android:id="@+id/titleBar"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/dimen_title_height"
|
android:background="@drawable/title_bar_bg"
|
app:centerText="域名设置"
|
app:leftImage="@mipmap/icon_back" />
|
|
<LinearLayout
|
android:id="@+id/domain_ll"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_below="@id/titleBar"
|
android:layout_marginStart="20dp"
|
android:layout_marginTop="20dp"
|
android:layout_marginEnd="20dp"
|
android:layout_marginBottom="20dp"
|
android:orientation="vertical">
|
|
|
<TextView
|
android:id="@+id/domain_oldTV"
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:layout_marginTop="10dp"
|
android:textSize="@dimen/text_size" />
|
|
</LinearLayout>
|
|
<EditText
|
android:id="@+id/domainNumber"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_below="@+id/domain_ll"
|
android:layout_alignParentStart="true"
|
android:layout_marginStart="20dp"
|
android:layout_marginTop="20dp"
|
android:layout_marginEnd="20dp"
|
android:hint="请输入新的域名序号"
|
android:inputType="number" />
|
<EditText
|
android:id="@+id/domain"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_below="@+id/domainNumber"
|
android:layout_alignParentStart="true"
|
android:layout_marginStart="20dp"
|
android:layout_marginTop="20dp"
|
android:layout_marginEnd="20dp"
|
android:layout_marginBottom="20dp"
|
android:maxLength="38"
|
android:hint="请输入新的域名"
|
android:inputType="textUri" />
|
|
<EditText
|
android:id="@+id/port"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_below="@+id/domain"
|
android:layout_alignParentStart="true"
|
android:layout_marginStart="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>
|