Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout 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"
- tools:context=".ui.page.detail.DetailActivity">
- <include
- android:id="@+id/toolbar"
- layout="@layout/custom_toolbar"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <androidx.core.widget.NestedScrollView
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/toolbar">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/layout_photo"
- android:layout_width="match_parent"
- android:layout_height="120dp"
- android:background="#FF353434"
- app:layout_constraintTop_toTopOf="parent">
- <ImageView
- android:id="@+id/image_user"
- android:layout_width="105dp"
- android:layout_height="105dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="16dp"
- android:layout_marginLeft="16dp"
- android:layout_marginEnd="16dp"
- android:layout_marginRight="16dp"
- android:layout_marginBottom="30dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_photo">
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_name"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="26dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etName"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Nama Lengkap"
- android:text="Kamaludin Akbar" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_nik"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_name">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etNik"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="NIK (Nomor Induk Kependudukan)"
- android:text="323432423423432" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_gender"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_nik">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etGender"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Jenis Kelamin"
- android:text="LAKI-LAKI" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_gol"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_gender">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etBloodType"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Golongan Darah"
- android:text="B" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_status"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_gol">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etStatus"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Status Kawin"
- android:text="Belum Kawin" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_agama"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_status">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etAgama"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Agama"
- android:text="ISLAM" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_birth"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_agama">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etBirth"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Tempat/Tanggal Lahir"
- android:text="KUNINGAN, 03-11-1996" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_age"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_birth">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etAge"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Usia"
- android:text="23 TAHUN" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_job"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_age">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etJob"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Pekerjaan"
- android:text="SWASTA" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_province"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="30dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_job">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etProvince"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Provinsi"
- android:text="Jakarta" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_regent"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="30dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_province">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etRegent"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Kabupaten Kota"
- tools:text="Kebayoran Lama" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_district"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="30dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_regent">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etDistrict"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Kecamatan"
- tools:text="Jakarta" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_village"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="30dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_district">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etVillage"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Kelurahan"
- tools:text="Larangan Indah" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_postalCode"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="30dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_village">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etPostalCode"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Kode Pos"
- tools:text="10000" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_rtrw"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="30dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_postalCode">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etRtRw"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="RT/RW"
- tools:text="Larangan" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/layout_address"
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="30dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/layout_rtrw">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/etAddress"
- style="@style/DetailTextInfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:hint="Alamat Lengkap"
- android:text="DUKUHWALUH RT. 3/RW. 8 " />
- </com.google.android.material.textfield.TextInputLayout>
- <TextView
- android:id="@+id/tvHeaderPhone"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="2dp"
- android:text="No. Telepon"
- android:textSize="14sp"
- app:layout_constraintTop_toBottomOf="@id/layout_address" />
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/rvPhones"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="4dp"
- android:layout_marginTop="5dp"
- app:layout_constraintTop_toBottomOf="@id/tvHeaderPhone" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.core.widget.NestedScrollView>
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement