| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#FFFFFF"
- android:orientation="vertical" >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" >
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="4"
- android:background="@drawable/login_background" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="6"
- android:background="#FFFFFF" >
- </LinearLayout>
- </LinearLayout>
- <RelativeLayout
- android:id="@+id/rl_login_center"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <LinearLayout
- android:id="@+id/ll_login_center"
- android:layout_width="match_parent"
- android:layout_height="170dp"
- android:background="@drawable/login_ll_background"
- android:orientation="vertical" >
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:focusable="true"
- android:focusableInTouchMode="true" >
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:background="#00000000"
- android:text="服务器地址和端口设置"
- android:textColor="@color/black"
- android:textSize="16dp"
- android:textStyle="bold" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1" >
- <ImageView
- android:id="@+id/iv_ip"
- android:layout_width="@dimen/icon_serveraddress_width"
- android:layout_height="@dimen/icon_serveraddress_height"
- android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/login_icon_left"
- android:background="@drawable/icon_serveraddress" />
- <EditText
- android:id="@+id/set_ip"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginLeft="10dp"
- android:layout_marginRight="10dp"
- android:layout_toLeftOf="@+id/iv_user_icon_right"
- android:layout_toRightOf="@+id/iv_ip"
- android:background="#00000000"
- android:gravity="center"
- android:hint="服务器地址"
- android:imeOptions="actionNext"
- android:singleLine="true"
- android:textColorHint="@color/tv_color4_gray"
- android:textSize="15dp"
- android:textStyle="bold" />
- <ImageView
- android:id="@+id/iv_user_icon_right"
- android:layout_width="@dimen/icon_serveraddress_width"
- android:layout_height="@dimen/icon_serveraddress_height"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:layout_marginRight="@dimen/login_icon_left"
- android:src="@drawable/login_user_icon"
- android:visibility="invisible" />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:layout_alignParentBottom="true"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
- android:background="#D5D5D5" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1" >
- <ImageView
- android:id="@+id/iv_servetport"
- android:layout_width="@dimen/icon_servetport_width"
- android:layout_height="@dimen/icon_servetport_height"
- android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/set_servetport_icon_left"
- android:background="@drawable/icon_servetport" />
- <EditText
- android:id="@+id/set_port"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginLeft="10dp"
- android:layout_marginRight="10dp"
- android:layout_toLeftOf="@+id/iv_password_icon_right"
- android:layout_toRightOf="@+id/iv_servetport"
- android:inputType="number"
- android:layout_weight="1"
- android:background="#00000000"
- android:gravity="center"
- android:hint="服务器端口"
- android:imeOptions="actionDone"
- android:singleLine="true"
- android:textColorHint="@color/tv_color4_gray"
- android:textSize="15dp"
- android:textStyle="bold" />
- <ImageView
- android:id="@+id/iv_password_icon_right"
- android:layout_width="@dimen/icon_servetport_width"
- android:layout_height="@dimen/icon_servetport_height"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:layout_marginRight="@dimen/login_icon_left"
- android:src="@drawable/login_psssword"
- android:visibility="invisible" />
- </RelativeLayout>
- </LinearLayout>
- <RelativeLayout
- android:id="@+id/rl_save"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/ll_login_center"
- android:layout_centerHorizontal="true"
- android:background="@drawable/btn_save" >
- </RelativeLayout>
- </RelativeLayout>
- <RelativeLayout
- android:id="@+id/set_cancle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/rl_login_center"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="15dp"
- android:background="@drawable/btn_set_cancle" >
- </RelativeLayout>
- </RelativeLayout>
|