jimu-decompiled/resources/res/layout/activity_telephone_update.xml
2025-05-13 19:24:51 +02:00

99 lines
4.8 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:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:gravity="center"
android:layout_gravity="center"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/countryCodeParent"
style="@style/theme_input_view_style">
<ImageView
android:id="@+id/im_address_icon"
android:background="@drawable/ic_address"
android:layout_width="@dimen/theme_input_icon_size"
android:layout_height="@dimen/theme_input_icon_size"
android:layout_centerVertical="true"/>
<TextView
android:textSize="@dimen/dp32"
android:textColor="@color/theme_input_txt"
android:gravity="center_vertical"
android:id="@+id/countryCodeTextView"
android:layout_width="wrap_content"
android:layout_height="@dimen/theme_input_height"
android:layout_marginLeft="@dimen/theme_input_margin_left"
android:text="中国+86"
android:layout_toRightOf="@+id/im_address_icon"
android:layout_centerVertical="true"/>
</RelativeLayout>
<RelativeLayout
android:layout_marginTop="@dimen/dp10"
style="@style/theme_input_view_style">
<ImageView
android:id="@+id/im_telephone_icon"
android:background="@drawable/ic_telephone"
android:layout_width="@dimen/theme_input_icon_size"
android:layout_height="@dimen/theme_input_icon_size"
android:layout_centerVertical="true"/>
<com.ubt.jimu.widgets.ClearEditText
android:id="@+id/telephoneEditText"
android:layout_marginLeft="@dimen/theme_input_margin_left"
android:layout_marginRight="@dimen/dp20w"
android:hint="@string/toast_phone_number_null"
android:layout_toRightOf="@+id/im_telephone_icon"
android:layout_centerVertical="true"
android:inputType="textEmailAddress"
style="@style/theme_edit_text_style"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/captchaParent"
android:layout_marginTop="@dimen/dp10"
style="@style/theme_input_view_style">
<ImageView
android:id="@+id/im_captcha_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_marginRight="@dimen/dp20w"
android:text="@string/get_captcha"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
<View
android:id="@+id/splitLineView"
android:background="@color/color_community_line"
android:layout_width="@dimen/theme_input_divider_width"
android:layout_height="@dimen/theme_input_divider_height"
android:layout_marginRight="@dimen/dp_10"
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_captcha"
android:maxLength="6"
android:layout_toLeftOf="@+id/splitLineView"
android:layout_toRightOf="@+id/im_captcha_icon"
android:layout_centerVertical="true"
android:inputType="number"
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/title_telephone_update"/>
</FrameLayout>