p7725_sdk_view_changepass.xml 2.93 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >

     <com.platform7725.gamesdk.view.TitleView
        android:id="@+id/change_password_title"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />

    <ScrollView 
         android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/p7725_sdk_background"
        >
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:padding="@dimen/p7725_distance" >

        <!-- 账号 -->

        <TextView
            style="@style/p7725_sdk_change_password_textview"
            android:text="@string/p7725_sdk_tv_login_input_username" />

        <TextView
            android:id="@+id/change_password_username"
            style="@style/p7725_sdk_change_password_edittext"
            android:textColor="@color/p7725_sdk_black_light"
            android:gravity="center_vertical"
             />

        <!-- 旧密码 -->

        <TextView
            style="@style/p7725_sdk_change_password_textview"
            android:text="@string/p7725_sdk_changepass_input_passold" />

        <EditText
            android:id="@+id/change_password_password_old"
            style="@style/p7725_sdk_change_password_edittext"
            android:inputType="textPassword"
            android:hint="@string/p7725_sdk_hint_changepass_input_pass" />

        <!-- 新密码 -->

        <TextView
            style="@style/p7725_sdk_change_password_textview"
            android:text="@string/p7725_sdk_changepass_input_passnew" />

        <EditText
            android:id="@+id/change_password_password_new"
            style="@style/p7725_sdk_change_password_edittext"
            android:inputType="textPassword"
            android:hint="@string/p7725_sdk_hint_changepass_input_passnew" />


        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@color/p7725_sdk_background"
            android:orientation="horizontal"
            android:layout_marginTop="@dimen/p7725_font_name_size"
             >

            <Button
                android:id="@+id/change_password_ok"
                style="@style/p7725_sdk_change_password_button"
                android:text="@string/p7725_sdk_btn_ok"
                android:layout_marginRight="@dimen/p7725_font_name_size"
                 />

            <Button
                android:id="@+id/change_password_back"
                style="@style/p7725_sdk_change_password_button"
                android:text="@string/p7725_sdk_btn_back"
                 />
        </LinearLayout>
    </LinearLayout>
</ScrollView>
</LinearLayout>