30 lines
No EOL
8.5 KiB
XML
30 lines
No EOL
8.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout android:background="@color/theme_white" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<ScrollView android:id="@id/settings_account_scroll" android:layout_width="fill_parent" android:layout_height="fill_parent">
|
|
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
|
<RelativeLayout android:id="@id/settings_account_verification" android:background="@color/theme_status_red" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="40.0dip">
|
|
<TextView android:textSize="11.0sp" android:textColor="@color/theme_white" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/unverified_account_title_mobile" android:layout_centerInParent="true" fontPath="@string/font_whitney_semibold" />
|
|
<TextView android:textSize="11.0sp" android:textColor="@color/theme_white" android:id="@id/settings_account_verification_resend" android:background="@drawable/drawable_button_white" android:paddingLeft="12.0dip" android:paddingTop="5.0dip" android:paddingRight="12.0dip" android:paddingBottom="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="6.0dip" android:text="@string/unverified_account_button_mobile" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:layout_marginEnd="6.0dip" android:layout_alignParentEnd="true" />
|
|
</RelativeLayout>
|
|
<RelativeLayout android:background="@color/theme_white_3_alpha_25" android:layout_width="fill_parent" android:layout_height="160.0dip">
|
|
<LinearLayout android:orientation="vertical" android:id="@id/settings_account_avatar_wrap" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="32.0dip" android:layout_centerHorizontal="true">
|
|
<RelativeLayout android:background="@drawable/drawable_overlay_image_circle" android:layout_width="wrap_content" android:layout_height="wrap_content">
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/settings_account_avatar" android:layout_width="@dimen/avatar_size_extra_large" android:layout_height="@dimen/avatar_size_extra_large" android:layout_margin="3.0dip" style="@style/Avatar.Large" />
|
|
</RelativeLayout>
|
|
<TextView android:textSize="11.0sp" android:textColor="@color/theme_purple_brand" android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:text="@string/edit" fontPath="@string/font_whitney_semibold" />
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
<TextView android:textSize="@dimen/settings_option_text_header" android:textColor="@color/theme_grey_2" android:background="@drawable/drawable_bg_settings_header" android:paddingLeft="@dimen/settings_option_padding" android:paddingTop="@dimen/settings_option_padding_header_top" android:paddingRight="@dimen/settings_option_padding" android:paddingBottom="@dimen/settings_option_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/form_label_username" fontPath="@string/font_whitney_semibold" />
|
|
<EditText android:textSize="@dimen/settings_option_text_item" android:textColor="@color/theme_grey_channels" android:textColorHint="@color/theme_grey_1" android:gravity="center_vertical" android:id="@id/settings_account_username" android:background="@drawable/drawable_bg_settings_item" android:paddingLeft="@dimen/settings_option_padding" android:paddingTop="20.0dip" android:paddingRight="@dimen/settings_option_padding" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/form_label_username" android:inputType="text" fontPath="@string/font_whitney_medium" />
|
|
<TextView android:textSize="@dimen/settings_option_text_header" android:textColor="@color/theme_grey_2" android:background="@drawable/drawable_bg_settings_header" android:paddingLeft="@dimen/settings_option_padding" android:paddingTop="@dimen/settings_option_padding_header_top" android:paddingRight="@dimen/settings_option_padding" android:paddingBottom="@dimen/settings_option_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/form_label_email" fontPath="@string/font_whitney_semibold" />
|
|
<EditText android:textSize="@dimen/settings_option_text_item" android:textColor="@color/theme_grey_channels" android:textColorHint="@color/theme_grey_1" android:gravity="center_vertical" android:id="@id/settings_account_email" android:background="@drawable/drawable_bg_settings_item" android:paddingLeft="@dimen/settings_option_padding" android:paddingTop="20.0dip" android:paddingRight="@dimen/settings_option_padding" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/form_label_email" android:inputType="textEmailAddress" fontPath="@string/font_whitney_medium" />
|
|
<TextView android:textSize="@dimen/settings_option_text_header" android:textColor="@color/theme_grey_2" android:background="@drawable/drawable_bg_settings_header" android:paddingLeft="@dimen/settings_option_padding" android:paddingTop="@dimen/settings_option_padding_header_top" android:paddingRight="@dimen/settings_option_padding" android:paddingBottom="@dimen/settings_option_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/form_label_current_password" fontPath="@string/font_whitney_semibold" />
|
|
<EditText android:textSize="@dimen/settings_option_text_item" android:textColor="@color/theme_grey_channels" android:textColorHint="@color/theme_grey_1" android:gravity="center_vertical" android:id="@id/settings_account_password" android:background="@drawable/drawable_bg_settings_item" android:paddingLeft="@dimen/settings_option_padding" android:paddingTop="20.0dip" android:paddingRight="@dimen/settings_option_padding" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/form_label_current_password" android:inputType="textPassword" fontPath="@string/font_whitney_medium" />
|
|
<TextView android:textSize="@dimen/settings_option_text_header" android:textColor="@color/theme_grey_2" android:background="@drawable/drawable_bg_settings_header" android:paddingLeft="@dimen/settings_option_padding" android:paddingTop="@dimen/settings_option_padding_header_top" android:paddingRight="@dimen/settings_option_padding" android:paddingBottom="@dimen/settings_option_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/form_label_new_password" fontPath="@string/font_whitney_semibold" />
|
|
<EditText android:textSize="@dimen/settings_option_text_item" android:textColor="@color/theme_grey_channels" android:textColorHint="@color/theme_grey_1" android:gravity="center_vertical" android:id="@id/settings_account_password_new" android:background="@drawable/drawable_bg_settings_item" android:paddingLeft="@dimen/settings_option_padding" android:paddingTop="20.0dip" android:paddingRight="@dimen/settings_option_padding" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/form_label_new_password" android:inputType="textPassword" fontPath="@string/font_whitney_medium" />
|
|
<TextView android:textSize="11.0sp" android:textColor="@color/theme_grey_2" android:gravity="end|center" android:id="@id/settings_account_version" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="fill_parent" android:layout_height="50.0dip" fontPath="@string/font_whitney_medium" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
<android.support.design.widget.FloatingActionButton android:id="@id/settings_account_save" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="16.0dip" android:src="@drawable/icon_save" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" android:layout_alignParentEnd="true" app:elevation="@dimen/app_elevation" app:backgroundTint="@color/theme_purple_brand" />
|
|
</RelativeLayout> |