2015-01-03 09:35:12 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2024-04-04 09:38:27 +00:00
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2018-03-18 08:30:22 +00:00
|
|
|
|
2024-04-04 09:38:27 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2015-01-03 09:35:12 +00:00
|
|
|
|
2024-04-04 09:38:27 +00:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/app_bar_layout"
|
2017-12-15 11:31:31 +00:00
|
|
|
android:layout_width="match_parent"
|
2024-04-04 09:38:27 +00:00
|
|
|
android:layout_height="wrap_content">
|
2015-01-03 09:35:12 +00:00
|
|
|
|
2024-04-04 09:38:27 +00:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/toolbar"
|
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"
|
2024-04-04 09:38:27 +00:00
|
|
|
android:minHeight="?attr/actionBarSize" />
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_above="@+id/button_bar"
|
|
|
|
android:layout_below="@id/app_bar_layout">
|
2018-02-18 08:26:12 +00:00
|
|
|
|
2024-04-04 09:38:27 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginTop="@dimen/activity_vertical_margin"
|
|
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin">
|
2017-12-15 11:31:31 +00:00
|
|
|
|
2024-04-04 09:38:27 +00:00
|
|
|
<LinearLayout
|
2017-12-15 11:31:31 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2024-04-04 09:38:27 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/card_padding_regular">
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/current_password_layout"
|
2018-02-18 08:26:12 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/current_password"
|
2024-04-04 09:38:27 +00:00
|
|
|
app:endIconMode="password_toggle">
|
2015-01-03 09:35:12 +00:00
|
|
|
|
2024-04-04 09:38:27 +00:00
|
|
|
<eu.siacs.conversations.ui.widget.TextInputEditText
|
|
|
|
android:id="@+id/current_password"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:inputType="textPassword" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/new_password_layout"
|
2018-02-18 08:26:12 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/new_password"
|
2024-04-04 09:38:27 +00:00
|
|
|
app:endIconMode="password_toggle">
|
|
|
|
|
|
|
|
<eu.siacs.conversations.ui.widget.TextInputEditText
|
|
|
|
android:id="@+id/new_password"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:inputType="textPassword" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
2018-02-18 08:26:12 +00:00
|
|
|
</LinearLayout>
|
2024-04-04 09:38:27 +00:00
|
|
|
</ScrollView>
|
2015-01-03 09:35:12 +00:00
|
|
|
|
2024-04-04 09:38:27 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/button_bar"
|
|
|
|
android:layout_width="wrap_content"
|
2017-12-15 11:31:31 +00:00
|
|
|
android:layout_height="wrap_content"
|
2024-04-04 09:38:27 +00:00
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:paddingHorizontal="16dp"
|
|
|
|
android:paddingVertical="8dp">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/cancel_button"
|
|
|
|
style="@style/Widget.Material3.Button.TextButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:text="@string/cancel" />
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/change_password_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:text="@string/change_password" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2015-01-03 09:35:12 +00:00
|
|
|
|
2024-04-04 09:38:27 +00:00
|
|
|
</RelativeLayout>
|
|
|
|
</layout>
|