147 lines
7.1 KiB
XML
147 lines
7.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<RelativeLayout
|
|
android:paddingLeft="6dp"
|
|
android:paddingRight="6dp"
|
|
android:layout_width="@dimen/theme_input_width"
|
|
android:layout_height="wrap_content">
|
|
<RelativeLayout
|
|
android:id="@+id/rl_tips_input_error"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/theme_14dp">
|
|
<TextView
|
|
android:textSize="@dimen/theme_input_txt"
|
|
android:textColor="#ff0000"
|
|
android:gravity="center_vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/theme_input_height"
|
|
android:layout_marginLeft="@dimen/theme_input_margin_left"
|
|
android:text="@string/tips_account_error"
|
|
android:layout_centerVertical="true"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
android:id="@+id/countryCodeParent"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/theme_14dp">
|
|
<TextView
|
|
android:textSize="@dimen/theme_btn_txt"
|
|
android:textColor="@color/txt_00A9FF"
|
|
android:ellipsize="end"
|
|
android:id="@+id/countryCodeTextView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/theme_input_margin_left"
|
|
android:text="中国+86"
|
|
android:singleLine="true"/>
|
|
<ImageView
|
|
android:id="@+id/rightArrowImageView"
|
|
android:layout_width="@dimen/dp15"
|
|
android:layout_height="@dimen/dp15"
|
|
android:layout_marginLeft="@dimen/dp20"
|
|
android:src="@drawable/arrow_blue_right"
|
|
android:layout_toRightOf="@+id/countryCodeTextView"
|
|
android:layout_centerVertical="true"/>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:id="@+id/accountParent"
|
|
style="@style/theme_input_view_style">
|
|
<ImageView
|
|
android:background="@drawable/ic_account"
|
|
android:layout_width="@dimen/theme_input_icon_size"
|
|
android:layout_height="@dimen/theme_input_icon_size"/>
|
|
<com.ubt.jimu.widgets.ClearEditText
|
|
android:id="@+id/accountEditText"
|
|
android:layout_marginLeft="@dimen/theme_input_margin_left"
|
|
android:hint="@string/hint_account"
|
|
android:inputType="textEmailAddress"
|
|
style="@style/theme_edit_text_style"/>
|
|
</LinearLayout> >
|
|
<RelativeLayout
|
|
android:id="@+id/captchaParent"
|
|
style="@style/theme_input_view_style">
|
|
<ImageView
|
|
android:id="@+id/captchaTipView"
|
|
android:background="@drawable/ic_captcha"
|
|
android:layout_width="@dimen/theme_input_icon_size"
|
|
android:layout_height="@dimen/theme_input_icon_size"
|
|
android:layout_centerVertical="true"/>
|
|
<TextView
|
|
android:textSize="@dimen/theme_11sp"
|
|
android:textColor="@color/theme_action_txt"
|
|
android:id="@+id/countDownTextView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="6dp"
|
|
android:layout_marginRight="@dimen/theme_input_margin_right"
|
|
android:text="@string/get_captcha"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"/>
|
|
<View
|
|
android:id="@+id/splitLineView"
|
|
android:background="@color/theme_divider_line"
|
|
android:layout_width="@dimen/theme_input_divider_width"
|
|
android:layout_height="@dimen/theme_input_divider_height"
|
|
android:layout_toLeftOf="@+id/countDownTextView"
|
|
android:layout_centerVertical="true"/>
|
|
<com.ubt.jimu.widgets.ClearEditText
|
|
android:id="@+id/captchaEditText"
|
|
android:layout_marginLeft="@dimen/theme_input_margin_left"
|
|
android:hint="@string/hint_input_captcha"
|
|
android:maxLength="6"
|
|
android:layout_toLeftOf="@+id/splitLineView"
|
|
android:layout_toRightOf="@+id/captchaTipView"
|
|
android:layout_centerVertical="true"
|
|
android:inputType="number"
|
|
style="@style/theme_edit_text_style"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
android:id="@+id/passwordParent"
|
|
style="@style/theme_input_view_style">
|
|
<ImageView
|
|
android:id="@+id/passwordTipView"
|
|
android:background="@drawable/ic_password"
|
|
android:layout_width="@dimen/theme_input_icon_size"
|
|
android:layout_height="@dimen/theme_input_icon_size"
|
|
android:layout_centerVertical="true"/>
|
|
<ImageView
|
|
android:id="@+id/eyeImageView"
|
|
android:background="@drawable/ic_eye_show"
|
|
android:layout_width="@dimen/theme_input_icon_size"
|
|
android:layout_height="@dimen/theme_input_icon_size"
|
|
android:layout_marginRight="@dimen/theme_input_margin_right"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"/>
|
|
<com.ubt.jimu.widgets.ClearEditText
|
|
android:id="@+id/passwordEditText"
|
|
android:layout_marginLeft="@dimen/theme_input_margin_left"
|
|
android:hint="@string/hint_password"
|
|
android:maxLength="15"
|
|
android:layout_toLeftOf="@+id/eyeImageView"
|
|
android:layout_toRightOf="@+id/passwordTipView"
|
|
android:inputType="textPassword"
|
|
style="@style/theme_edit_text_style"/>
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
<com.ubt.jimu.widgets.NavigationBarView
|
|
android:id="@+id/nbv_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:nbv_mode="left_right"
|
|
app:nbv_title="@string/find_password"/>
|
|
</FrameLayout>
|