123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265 |
- <?xml version="1.0" encoding="utf-8"?>
- <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/bdp_account_bg_upgrade_main"
- android:fadingEdge="vertical"
- android:fadingEdgeLength="20dip"
- android:requiresFadingEdge="vertical" >
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingBottom="8dip"
- android:paddingLeft="15dip"
- android:paddingRight="15dip"
- android:paddingTop="8dip" >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:orientation="vertical" >
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="7dip"
- android:drawableLeft="@drawable/bdp_account_icon_upgrade_tip"
- android:drawablePadding="6dip"
- android:text="@string/bdp_account_upgrade_tip"
- android:textColor="#ffdff2ff"
- android:textSize="14sp" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="10dip"
- android:layout_marginTop="20dip"
- android:gravity="center"
- android:orientation="horizontal"
- android:paddingLeft="10dip"
- android:paddingRight="10dip"
- android:weightSum="2" >
- <TextView
- android:id="@+id/txtTabLogin"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:text="@string/bdp_account_upgrade_tab_login"
- android:textColor="#ffffffff"
- android:textSize="18sp" />
- <TextView
- android:id="@+id/txtTabRegister"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:text="@string/bdp_account_upgrade_tab_register"
- android:textColor="#ffffffff"
- android:textSize="18sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/bdp_bg_light_gray_round"
- android:orientation="vertical"
- android:paddingLeft="10dip"
- android:paddingRight="10dip" >
- <!-- 账号 -->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="40dip"
- android:gravity="center_vertical"
- android:orientation="horizontal" >
- <EditText
- android:id="@+id/edtAccount"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5dip"
- android:layout_weight="1"
- android:background="@null"
- android:hint="@string/bdp_account_login_hint_account_baidu"
- android:maxLength="80"
- android:singleLine="true"
- android:textColor="@color/bdp_black"
- android:textColorHint="@color/bdp_color_cccccc"
- android:textCursorDrawable="@null"
- android:textSize="15sp" />
- <ImageView
- android:id="@+id/imgAccountDel"
- android:layout_width="30dip"
- android:layout_height="40dip"
- android:contentDescription="@string/bdp_image"
- android:scaleType="center"
- android:src="@drawable/bdp_icon_text_clear_selector"
- android:visibility="invisible" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1px"
- android:background="#ffd1d1d1" />
- <!-- 密码 -->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="40dip"
- android:gravity="center_vertical"
- android:orientation="horizontal" >
- <EditText
- android:id="@+id/edtPass"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5dip"
- android:layout_weight="1"
- android:background="@null"
- android:hint="@string/bdp_account_login_hint_pass"
- android:imeOptions="actionDone"
- android:inputType="textPassword"
- android:maxLength="30"
- android:singleLine="true"
- android:textColor="@color/bdp_black"
- android:textColorHint="@color/bdp_color_cccccc"
- android:textCursorDrawable="@null"
- android:textSize="15sp" />
- <ImageView
- android:id="@+id/imgPassDel"
- android:layout_width="30dip"
- android:layout_height="40dip"
- android:contentDescription="@string/bdp_image"
- android:scaleType="center"
- android:src="@drawable/bdp_icon_text_clear_selector"
- android:visibility="invisible" />
- <ImageView
- android:id="@+id/imgShowPwd"
- android:layout_width="wrap_content"
- android:layout_height="40dip"
- android:contentDescription="@string/bdp_image"
- android:src="@drawable/bdp_account_icon_pwd_hidden" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/linVerifycode"
- android:layout_width="match_parent"
- android:layout_height="40dip"
- android:layout_marginTop="3dip"
- android:background="@drawable/bdp_bg_light_gray_round_no_padding"
- android:gravity="center"
- android:orientation="horizontal"
- android:paddingLeft="10dip"
- android:visibility="gone" >
- <EditText
- android:id="@+id/edtVerifycode"
- android:layout_width="0dip"
- android:layout_height="40dip"
- android:layout_marginBottom="3dip"
- android:layout_marginLeft="5dip"
- android:layout_marginTop="3dip"
- android:layout_weight="1"
- android:background="@null"
- android:hint="@string/bdp_account_login_hint_verifycode"
- android:maxLength="30"
- android:singleLine="true"
- android:textColor="@color/bdp_black"
- android:textColorHint="@color/bdp_color_text_hint"
- android:textCursorDrawable="@null"
- android:textSize="15sp" />
- <ImageView
- android:id="@+id/imgVerifycodeDel"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="5dip"
- android:contentDescription="@string/bdp_image"
- android:src="@drawable/bdp_icon_text_clear_selector"
- android:visibility="invisible" />
- <FrameLayout
- android:layout_width="70dip"
- android:layout_height="40dip" >
- <ImageView
- android:id="@+id/imgVerifycode"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:contentDescription="@string/bdp_image"
- android:paddingBottom="2dip"
- android:paddingTop="2dip"
- android:scaleType="fitXY"
- android:visibility="invisible" />
- <RelativeLayout
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" >
- <ImageView
- android:id="@+id/imgVerifycodeLoading"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:layout_centerVertical="true"
- android:background="@drawable/bdp_anim_loading_small_blue"
- android:contentDescription="@string/bdp_image" />
- </RelativeLayout>
- </FrameLayout>
- <ImageView
- android:id="@+id/imgChangeVerifycode"
- android:layout_width="wrap_content"
- android:layout_height="40dip"
- android:contentDescription="@string/bdp_image"
- android:scaleType="fitXY"
- android:src="@drawable/bdp_account_icon_code_refresh_selector" />
- </LinearLayout>
- <Button
- android:id="@+id/btnSubmit"
- android:layout_width="match_parent"
- android:layout_height="40dip"
- android:layout_marginBottom="10dip"
- android:layout_marginTop="18dip"
- android:background="@drawable/bdp_btn_blue_bg_normal"
- android:enabled="false"
- android:text="@string/bdp_account_login"
- android:textColor="@color/bdp_white"
- android:textSize="18sp" />
- <TextView
- android:id="@+id/txtFastUpgrade"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="5dip"
- android:padding="5dip"
- android:text="@string/bdp_account_upgrade_fast"
- android:textColor="@color/bdp_color_color_666666"
- android:textSize="14sp" />
- </LinearLayout>
- <ImageView
- android:id="@+id/imgClose"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- android:contentDescription="@string/bdp_image"
- android:padding="5dip"
- android:scaleType="centerInside"
- android:src="@drawable/bdp_account_icon_upgrade_close_selector" />
- </RelativeLayout>
- </ScrollView>
|