245 lines
9.7 KiB
XML
245 lines
9.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:background="@color/backgroundColor"
|
|
>
|
|
<com.ck.ckcollar.app.widget.CKLinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="20dp"
|
|
android:orientation="vertical"
|
|
android:gravity="center_horizontal"
|
|
>
|
|
|
|
<com.ck.ckcollar.app.widget.CKImageView
|
|
android:id="@+id/loginImage"
|
|
android:layout_width="120dp"
|
|
android:layout_height="120dp"
|
|
android:layout_marginTop="43dp"
|
|
android:src="@mipmap/image_login_logo"
|
|
>
|
|
|
|
</com.ck.ckcollar.app.widget.CKImageView>
|
|
|
|
|
|
<com.ck.ckcollar.app.widget.CKLinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginTop="30dp"
|
|
android:gravity="center_vertical"
|
|
>
|
|
<com.ck.ckcollar.app.widget.CKTextView
|
|
android:id="@+id/btnCodeLogin"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?attr/appTextColor"
|
|
android:text="@string/code_login"
|
|
android:textStyle="bold"
|
|
android:textSize="16dp"
|
|
></com.ck.ckcollar.app.widget.CKTextView>
|
|
|
|
<View
|
|
android:layout_width="40dp"
|
|
android:layout_height="0dp"
|
|
></View>
|
|
<com.ck.ckcollar.app.widget.CKTextView
|
|
android:id="@+id/btnPasswordLogin"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?attr/appTextSecondColor"
|
|
android:textSize="16dp"
|
|
android:text="@string/password_login"
|
|
android:textStyle="bold"
|
|
></com.ck.ckcollar.app.widget.CKTextView>
|
|
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:background="@drawable/bg_login_input"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="20dp"
|
|
android:layout_marginTop="23dp"
|
|
>
|
|
|
|
<com.ck.ckcollar.app.widget.CKImageView
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@mipmap/image_login_phone"
|
|
></com.ck.ckcollar.app.widget.CKImageView>
|
|
|
|
|
|
<com.ck.ckcollar.app.widget.CKEditView
|
|
android:id="@+id/editLoginName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:background="#00000000"
|
|
android:hint="@string/input_login_name"
|
|
android:textColorHint="@color/textSecondColor"
|
|
android:textSize="14sp"
|
|
android:textColor="@color/textColor"
|
|
android:paddingLeft="5dp"
|
|
android:maxLines="1"
|
|
></com.ck.ckcollar.app.widget.CKEditView>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:background="@drawable/bg_login_input"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="20dp"
|
|
android:layout_marginTop="20dp"
|
|
>
|
|
|
|
<com.ck.ckcollar.app.widget.CKImageView
|
|
android:id="@+id/imageCode"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@mipmap/image_login_code"
|
|
></com.ck.ckcollar.app.widget.CKImageView>
|
|
|
|
<com.ck.ckcollar.app.widget.CKEditView
|
|
android:id="@+id/editLoginPwd"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:background="#00000000"
|
|
android:hint="@string/input_code"
|
|
android:textColorHint="@color/textSecondColor"
|
|
android:textSize="14sp"
|
|
android:textColor="@color/textColor"
|
|
android:paddingLeft="5dp"
|
|
android:inputType="text"
|
|
android:maxLines="1"
|
|
></com.ck.ckcollar.app.widget.CKEditView>
|
|
|
|
<com.ck.ckcollar.app.widget.CKSendCodeButton
|
|
android:id="@+id/btnSendCode"
|
|
android:layout_width="100dp"
|
|
android:layout_height="33dp"
|
|
android:text="@string/send_code"
|
|
android:background="@drawable/bg_send_code_button_enable"
|
|
android:textSize="13sp"
|
|
android:textColor="@color/textColor"
|
|
android:layout_marginRight="10dp"
|
|
></com.ck.ckcollar.app.widget.CKSendCodeButton>
|
|
</LinearLayout>
|
|
|
|
<com.ck.ckcollar.app.widget.CKLinearLayout
|
|
android:id="@+id/btnCheck"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginTop="46dp"
|
|
android:gravity="center_vertical"
|
|
>
|
|
<ImageView
|
|
android:id="@+id/check"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@mipmap/image_check_unselect"
|
|
></ImageView>
|
|
<com.ck.ckcollar.app.widget.CKTextView
|
|
android:id="@+id/textAgreement"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="2dp"
|
|
android:textSize="12sp"
|
|
android:textColor="@color/textSecondColor"
|
|
></com.ck.ckcollar.app.widget.CKTextView>
|
|
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
|
<com.ck.ckcollar.app.widget.CKButton
|
|
android:id="@+id/btnLogin"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:layout_marginTop="20dp"
|
|
android:text="登录"
|
|
android:textColor="@color/buttonTextColor"
|
|
android:background="@drawable/bg_login_button"
|
|
></com.ck.ckcollar.app.widget.CKButton>
|
|
|
|
<com.ck.ckcollar.app.widget.CKButton
|
|
android:id="@+id/btnQuickLogin"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@drawable/bg_login_button"
|
|
android:text="临时快捷登录"
|
|
android:textColor="@color/buttonTextColor"
|
|
android:visibility="gone"/>
|
|
|
|
<com.ck.ckcollar.app.widget.CKLinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="30dp"
|
|
android:orientation="horizontal"
|
|
android:layout_marginTop="15dp"
|
|
android:gravity="center_horizontal"
|
|
>
|
|
|
|
<com.ck.ckcollar.app.widget.CKTextView
|
|
android:id="@+id/btnRegister"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:text="@string/register_now"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp"
|
|
></com.ck.ckcollar.app.widget.CKTextView>
|
|
|
|
<View
|
|
android:id="@+id/view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:visibility="gone"
|
|
></View>
|
|
<com.ck.ckcollar.app.widget.CKTextView
|
|
android:id="@+id/btnLost"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:text="@string/lost"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp"
|
|
android:visibility="gone"
|
|
></com.ck.ckcollar.app.widget.CKTextView>
|
|
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
|
<com.ck.ckcollar.app.widget.CKLinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
>
|
|
|
|
<View
|
|
android:layout_width="40dp"
|
|
android:layout_height="1dp"
|
|
android:background="#D8D8D8"
|
|
android:layout_marginRight="20dp"
|
|
></View>
|
|
<com.ck.ckcollar.app.widget.CKButton
|
|
android:id="@+id/btnWX"
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:background="@mipmap/image_login_wx"
|
|
></com.ck.ckcollar.app.widget.CKButton>
|
|
|
|
<View
|
|
android:layout_width="40dp"
|
|
android:layout_height="1dp"
|
|
android:background="#D8D8D8"
|
|
android:layout_marginLeft="20dp"
|
|
></View>
|
|
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
|
|
|
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
|
|
|
|
|
</com.ck.ckcollar.app.widget.CKLinearLayout>
|