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"
|
|
|
|
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"
|
|
|
|
android:elevation="0dp"
|
|
|
|
app:elevation="0dp">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
2018-12-04 15:34:26 +00:00
|
|
|
style="@style/Toolbar"
|
2019-05-20 19:38:43 +00:00
|
|
|
app:navigationIcon="@drawable/ic_keyboard_backspace_black_24dp"
|
|
|
|
app:title="@string/profile" />
|
2018-09-09 19:44:46 +00:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:layout_margin="12dp"
|
|
|
|
app:cardCornerRadius="12dp"
|
2018-11-05 13:53:07 +00:00
|
|
|
app:cardUseCompatPadding="true">
|
2018-09-09 19:44:46 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
<FrameLayout
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/imageContainer"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:layout_height="match_parent">
|
2018-09-09 19:44:46 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/bannerImage"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="156dp"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
app:srcCompat="@drawable/material_design_default" />
|
2018-09-09 19:44:46 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
<View
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/bannerSelect"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="156dp"
|
|
|
|
android:background="@color/twenty_percent_black_overlay" />
|
2018-09-09 19:44:46 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
<code.name.monkey.retromusic.views.IconImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_gravity="center"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:background="?roundSelector"
|
|
|
|
android:padding="16dp"
|
2018-12-25 14:58:47 +00:00
|
|
|
app:srcCompat="@drawable/ic_add_photo_white_24dp" />
|
2018-09-09 19:44:46 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
<FrameLayout
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:layout_gravity="bottom"
|
2019-06-03 17:18:19 +00:00
|
|
|
android:layout_margin="8dp"
|
|
|
|
android:visibility="gone">
|
2018-11-05 13:53:07 +00:00
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.CircularImageView
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/userImage"
|
2018-11-05 13:53:07 +00:00
|
|
|
android:layout_width="72dp"
|
|
|
|
android:layout_height="72dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
app:civ_border="false"
|
|
|
|
app:civ_shadow="false"
|
|
|
|
app:srcCompat="@drawable/ic_person_flat" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:padding="12dp"
|
2018-12-25 14:58:47 +00:00
|
|
|
android:src="@drawable/ic_add_photo_white_24dp"
|
2018-11-05 13:53:07 +00:00
|
|
|
app:tint="?iconColor" />
|
|
|
|
</FrameLayout>
|
2018-09-09 19:44:46 +00:00
|
|
|
|
2018-11-05 13:53:07 +00:00
|
|
|
</FrameLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2018-09-09 19:44:46 +00:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2018-12-04 15:34:26 +00:00
|
|
|
android:id="@+id/nameContainer"
|
2019-03-28 13:32:53 +00:00
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
2019-06-03 17:18:19 +00:00
|
|
|
android:visibility="gone"
|
2019-03-28 13:32:53 +00:00
|
|
|
app:hintAnimationEnabled="true">
|
2018-09-09 19:44:46 +00:00
|
|
|
|
2019-03-25 12:43:43 +00:00
|
|
|
|
2018-09-09 19:44:46 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/my_name"
|
|
|
|
android:inputType="textPersonName|textCapWords|text"
|
2019-03-29 14:17:41 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
|
|
|
tools:text="@string/song" />
|
2019-03-25 12:43:43 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/bioContainer"
|
2019-03-28 13:32:53 +00:00
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
2019-03-25 12:43:43 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
2019-06-03 17:18:19 +00:00
|
|
|
android:visibility="gone"
|
2019-03-28 13:32:53 +00:00
|
|
|
app:hintAnimationEnabled="true">
|
2019-03-25 12:43:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/bio"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/bio"
|
|
|
|
android:inputType="textPersonName|textCapWords|text"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
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"
|
2018-09-09 19:44:46 +00:00
|
|
|
android:layout_margin="16dp"
|
2019-04-05 10:45:09 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/save"
|
2019-05-11 16:01:15 +00:00
|
|
|
app:icon="@drawable/ic_save_white_24dp"
|
|
|
|
app:iconGravity="textStart" />
|
2018-09-09 19:44:46 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|