RetroMusicPlayer/app/src/main/res/layout-xlarge/fragment_name.xml
2018-08-30 14:59:32 +05:30

120 lines
No EOL
5.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginEnd="64dp"
android:layout_marginStart="64dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
fontPath="@string/circular_std_black"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:text="@string/title_user_info"
android:textAppearance="@style/TextAppearance.AppCompat.Display2"
android:textColor="?android:attr/textColorPrimary"
android:textStyle="bold"
tools:ignore="MissingPrefix" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingEnd="16dp"
android:paddingStart="16dp"
android:text="@string/summary_user_info"
android:textAppearance="@style/TextAppearance.AppCompat.Body2" />
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="-16dp"
android:layout_marginEnd="38dp"
android:layout_marginStart="38dp"
android:layout_marginTop="16dp"
app:cardCornerRadius="16dp"
app:cardElevation="16dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/gradient_3"
android:orientation="vertical"
android:padding="16dp">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:hint="@string/my_name"
android:padding="12dp"
android:textColor="@color/md_white_1000"
android:textColorHint="?android:attr/textColorSecondary" />
</LinearLayout>
<FrameLayout
android:id="@+id/image_container"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="128dp"
android:scaleType="centerCrop" />
<TextView
android:layout_width="88dp"
android:layout_height="88dp"
android:layout_gravity="center"
android:layout_margin="16dp"
android:background="@drawable/color_circle_gradient"
android:gravity="center"
android:text="@string/add_photo"
android:textAllCaps="true"
android:textColor="@color/md_white_1000" />
<code.name.monkey.retromusic.views.CircularImageView
android:id="@+id/user_image"
android:layout_width="88dp"
android:layout_height="88dp"
android:layout_gravity="center" />
<code.name.monkey.retromusic.views.IconImageView
android:id="@+id/banner_select"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:background="?roundSelector"
android:padding="16dp"
app:srcCompat="@drawable/ic_edit_white_24dp" />
</FrameLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>
<ImageButton
android:id="@+id/next"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="16dp"
android:background="@drawable/color_circle_gradient"
android:elevation="8dp"
android:padding="16dp"
app:srcCompat="@drawable/ic_arrow_forward_white_24dp" />
</FrameLayout>