- <LinearLayout
- android:id="@+id/nav_header"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/side_nav_bar"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="@dimen/activity_vertical_margin"
- android:theme="@style/ThemeOverlay.AppCompat.Dark"
- app:layout_constraintTop_toTopOf="parent">
-
- <include layout="@layout/nav_header_logo" />
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="@dimen/activity_horizontal_margin"
- android:layout_marginEnd="@dimen/activity_horizontal_margin"
- android:gravity="center_vertical"
- android:orientation="vertical">
-
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/app_name"
- android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
-
- <TextView
- android:id="@+id/drawer_version_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="dummy version"
- tools:ignore="HardcodedText" />
- </LinearLayout>
-
- </LinearLayout>