RetroMusicPlayer/app/src/main/res/layout/fragment_user_info.xml

100 lines
4.4 KiB
XML
Raw Normal View History

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