2015-01-03 09:35:12 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-02-18 08:26:12 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/color_background_secondary">
|
2015-01-03 09:35:12 +00:00
|
|
|
|
2017-12-15 11:31:31 +00:00
|
|
|
<ScrollView
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_above="@+id/button_bar">
|
2015-01-03 09:35:12 +00:00
|
|
|
|
2018-02-18 08:26:12 +00:00
|
|
|
<android.support.v7.widget.CardView
|
2017-12-15 11:31:31 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
2018-02-18 08:26:12 +00:00
|
|
|
android:layout_marginTop="@dimen/activity_vertical_margin">
|
2015-01-03 09:35:12 +00:00
|
|
|
|
2018-02-18 08:26:12 +00:00
|
|
|
<LinearLayout
|
2017-12-15 11:31:31 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-02-17 06:09:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-02-18 08:26:12 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/infocard_padding">
|
|
|
|
|
2017-12-15 11:31:31 +00:00
|
|
|
|
2018-02-18 08:26:12 +00:00
|
|
|
<android.support.design.widget.TextInputLayout
|
2017-12-15 11:31:31 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-02-18 08:26:12 +00:00
|
|
|
app:passwordToggleDrawable="@drawable/visibility_toggle_drawable"
|
|
|
|
app:passwordToggleEnabled="true"
|
|
|
|
app:passwordToggleTint="?attr/color_text_secondary">
|
2017-12-15 11:31:31 +00:00
|
|
|
|
2018-02-18 08:26:12 +00:00
|
|
|
<android.support.design.widget.TextInputEditText
|
|
|
|
android:id="@+id/current_password"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:hint="@string/current_password"
|
|
|
|
android:inputType="textPassword"
|
|
|
|
android:textColor="?attr/color_text_primary"
|
|
|
|
android:textColorHint="?attr/color_text_secondary"
|
|
|
|
android:textSize="?attr/TextSizeBody"/>
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
2015-01-03 09:35:12 +00:00
|
|
|
|
2018-02-18 08:26:12 +00:00
|
|
|
<android.support.design.widget.TextInputLayout
|
2017-12-15 11:31:31 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-02-18 08:26:12 +00:00
|
|
|
app:passwordToggleDrawable="@drawable/visibility_toggle_drawable"
|
|
|
|
app:passwordToggleEnabled="true"
|
|
|
|
app:passwordToggleTint="?attr/color_text_secondary">
|
2015-01-03 09:35:12 +00:00
|
|
|
|
2018-02-18 08:26:12 +00:00
|
|
|
<android.support.design.widget.TextInputEditText
|
|
|
|
android:id="@+id/new_password"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:hint="@string/new_password"
|
|
|
|
android:inputType="textPassword"
|
|
|
|
android:textColor="?attr/color_text_primary"
|
|
|
|
android:textColorHint="?attr/color_text_secondary"
|
|
|
|
android:textSize="?attr/TextSizeBody"/>
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|
2017-12-15 11:31:31 +00:00
|
|
|
</ScrollView>
|
2015-01-03 09:35:12 +00:00
|
|
|
|
2017-12-15 11:31:31 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/button_bar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentRight="true">
|
2015-01-03 09:35:12 +00:00
|
|
|
|
2017-12-15 11:31:31 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/left_button"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2018-02-18 08:26:12 +00:00
|
|
|
android:text="@string/cancel"/>
|
2015-01-03 09:35:12 +00:00
|
|
|
|
2017-12-15 11:31:31 +00:00
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_marginBottom="7dp"
|
|
|
|
android:layout_marginTop="7dp"
|
2018-02-18 08:26:12 +00:00
|
|
|
android:background="?attr/divider"/>
|
2015-01-03 09:35:12 +00:00
|
|
|
|
2017-12-15 11:31:31 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/right_button"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2018-02-18 08:26:12 +00:00
|
|
|
android:text="@string/change_password"/>
|
2017-12-15 11:31:31 +00:00
|
|
|
</LinearLayout>
|
2015-01-03 09:35:12 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|