Initial commit
This commit is contained in:
70
resources/res/layout/activity_verify_catcha.xml
Normal file
70
resources/res/layout/activity_verify_catcha.xml
Normal file
@@ -0,0 +1,70 @@
|
||||
<?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:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.ubt.jimu.widgets.NavigationBarView
|
||||
android:id="@+id/nbv_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:nbv_mode="left"
|
||||
app:nbv_title="@string/hint_captcha"/>
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true">
|
||||
<TextView
|
||||
android:textSize="@dimen/theme_13sp"
|
||||
android:textColor="@color/theme_txt_light"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:maxWidth="400dp"
|
||||
android:text="@string/tip_change_device_title"/>
|
||||
<RelativeLayout
|
||||
android:id="@+id/captchaParent"
|
||||
style="@style/theme_input_view_style">
|
||||
<ImageView
|
||||
android:id="@+id/img_icon"
|
||||
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:gravity="center"
|
||||
android:id="@+id/countDownTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/theme_input_height"
|
||||
android:layout_marginLeft="6dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:text="@string/get_captcha"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"/>
|
||||
<View
|
||||
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_centerVertical="true"
|
||||
android:layout_toStartOf="@+id/countDownTextView"
|
||||
android:layout_toEndOf="@+id/img_icon"
|
||||
style="@style/theme_edit_text_style"/>
|
||||
</RelativeLayout>
|
||||
<com.ubtech.view.widget.UButton
|
||||
android:enabled="false"
|
||||
android:id="@+id/btnVerify"
|
||||
android:layout_marginTop="18dp"
|
||||
android:text="@string/ok"
|
||||
style="@style/btn_blue_middle_style"/>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user