2018-10-29 16:48:31 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-01-16 18:25:43 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-10-29 16:48:31 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-05-15 17:44:06 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-10-29 16:48:31 +00:00
|
|
|
android:id="@+id/stateView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2019-05-15 17:44:06 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:id="@+id/homeDrawerHeader"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
android:padding="16dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/homeDrawerHeaderAvatarView"
|
|
|
|
android:layout_width="64dp"
|
|
|
|
android:layout_height="64dp"
|
|
|
|
android:layout_marginTop="24dp"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:src="@tools:sample/avatars" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/homeDrawerUsernameView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/homeDrawerHeaderAvatarView"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/homeDrawerHeaderAvatarView"
|
|
|
|
tools:text="@tools:sample/full_names" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/homeDrawerUserIdView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/homeDrawerUsernameView"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/homeDrawerUsernameView"
|
|
|
|
tools:text="@tools:sample/full_names" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/homeDrawerHeaderSettingsView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/homeDrawerUserIdView" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2018-10-29 16:48:31 +00:00
|
|
|
|
|
|
|
<FrameLayout
|
2019-05-15 17:44:06 +00:00
|
|
|
android:id="@+id/homeDrawerGroupListContainer"
|
2018-10-29 16:48:31 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2019-05-15 17:44:06 +00:00
|
|
|
android:background="@android:color/white"
|
2018-10-29 16:48:31 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-05-15 17:44:06 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/homeDrawerHeader" />
|
2018-10-29 16:48:31 +00:00
|
|
|
|
2019-01-16 18:25:43 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|