2018-07-27 13:07:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-09-09 19:44:46 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-03-29 14:17:41 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_height="match_parent"
|
2019-12-26 14:45:02 +00:00
|
|
|
android:background="?attr/colorSurface"
|
2021-09-16 12:59:31 +00:00
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
android:orientation="vertical">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-09-09 19:44:46 +00:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/appBarLayout"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-12-01 15:27:01 +00:00
|
|
|
android:background="@android:color/transparent"
|
2019-09-29 09:25:47 +00:00
|
|
|
app:liftOnScroll="true">
|
2018-09-09 19:44:46 +00:00
|
|
|
|
2019-09-29 08:37:57 +00:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
2018-09-09 19:44:46 +00:00
|
|
|
android:id="@+id/toolbar"
|
2018-12-04 15:34:26 +00:00
|
|
|
style="@style/Toolbar"
|
2021-09-08 18:30:20 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-07-19 21:00:30 +00:00
|
|
|
app:navigationIcon="@drawable/ic_keyboard_backspace_black"
|
2020-02-25 06:44:46 +00:00
|
|
|
app:title="@string/profile"
|
2019-10-02 18:54:39 +00:00
|
|
|
app:titleTextAppearance="@style/ToolbarTextAppearanceNormal" />
|
2018-09-09 19:44:46 +00:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
2020-05-20 22:53:09 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-10-04 13:31:40 +00:00
|
|
|
android:layout_height="match_parent"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:orientation="vertical"
|
2019-09-29 09:25:47 +00:00
|
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
|
2018-09-09 19:44:46 +00:00
|
|
|
|
2020-10-04 13:31:40 +00:00
|
|
|
<com.google.android.material.imageview.ShapeableImageView
|
|
|
|
android:id="@+id/bannerImage"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2021-09-08 18:30:20 +00:00
|
|
|
android:layout_margin="8dp"
|
2020-10-04 13:31:40 +00:00
|
|
|
android:scaleType="centerCrop"
|
|
|
|
app:layout_constraintDimensionRatio="21:10"
|
2020-05-20 22:53:09 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-10-04 13:31:40 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:shapeAppearanceOverlay="@style/circleImageView"
|
|
|
|
app:srcCompat="@drawable/material_design_default" />
|
2019-09-29 09:25:47 +00:00
|
|
|
|
2020-10-04 13:31:40 +00:00
|
|
|
<code.name.monkey.retromusic.views.RetroShapeableImageView
|
|
|
|
android:id="@+id/userImage"
|
|
|
|
android:layout_width="72dp"
|
|
|
|
android:layout_height="72dp"
|
|
|
|
android:layout_gravity="center"
|
2020-05-20 22:53:09 +00:00
|
|
|
android:layout_marginStart="16dp"
|
2020-10-04 13:31:40 +00:00
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:scaleType="centerCrop"
|
2021-09-12 14:19:37 +00:00
|
|
|
android:transitionName="user_image"
|
2020-10-04 13:31:40 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/bannerImage"
|
|
|
|
app:retroCornerSize="36dp"
|
|
|
|
app:srcCompat="@drawable/ic_person_flat" />
|
2020-05-20 22:53:09 +00:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/nameContainer"
|
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
2020-10-04 13:31:40 +00:00
|
|
|
android:layout_width="0dp"
|
2020-05-20 22:53:09 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
app:hintAnimationEnabled="true"
|
|
|
|
app:hintEnabled="true"
|
2020-10-04 13:31:40 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/userImage"
|
2020-05-20 22:53:09 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-10-04 13:31:40 +00:00
|
|
|
app:layout_constraintStart_toEndOf="@id/userImage"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/userImage">
|
2020-05-20 22:53:09 +00:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/name"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-05-20 22:53:09 +00:00
|
|
|
android:autofillHints="name"
|
|
|
|
android:hint="@string/my_name"
|
|
|
|
android:importantForAutofill="yes"
|
|
|
|
android:inputType="textPersonName|textCapWords|text"
|
|
|
|
android:textAppearance="@style/TextViewSubtitle1"
|
|
|
|
tools:text="@tools:sample/full_names" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
2018-09-09 19:44:46 +00:00
|
|
|
|
2019-04-05 10:45:09 +00:00
|
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
2018-09-09 19:44:46 +00:00
|
|
|
android:id="@+id/next"
|
2019-04-05 10:45:09 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-04-05 10:45:09 +00:00
|
|
|
android:layout_gravity="bottom"
|
2021-09-12 14:19:37 +00:00
|
|
|
android:layout_marginHorizontal="16dp"
|
|
|
|
android:layout_marginBottom="70dp"
|
2021-10-23 11:55:48 +00:00
|
|
|
android:fitsSystemWindows="false"
|
2019-04-05 10:45:09 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/save"
|
2020-07-19 21:00:30 +00:00
|
|
|
app:icon="@drawable/ic_save"
|
2019-05-11 16:01:15 +00:00
|
|
|
app:iconGravity="textStart" />
|
2018-09-09 19:44:46 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|