mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
72 lines
3.2 KiB
XML
72 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:background="@color/white"
|
|
android:choiceMode="singleChoice"
|
|
android:dividerHeight="0dp"
|
|
android:fitsSystemWindows="true"
|
|
android:orientation="vertical"
|
|
tools:context="com.habitrpg.android.habitica.ui.fragments.NavigationDrawerFragment">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/menuHeaderView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="80dp"
|
|
android:background="@color/brand_200"
|
|
android:paddingTop="24dp"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<com.habitrpg.android.habitica.ui.views.RoundedCornerLayout
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_marginRight="@dimen/spacing_large">
|
|
<com.habitrpg.android.habitica.ui.AvatarView
|
|
android:id="@+id/avatarView"
|
|
android:layout_width="70dp"
|
|
android:layout_height="70dp"
|
|
android:layout_gravity="center"/>
|
|
</com.habitrpg.android.habitica.ui.views.RoundedCornerLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/toolbarTitle"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:singleLine="true"
|
|
style="@style/TextAppearance.AppCompat.Widget.ActionBar.Title"
|
|
tools:text="Habitica"
|
|
android:textColor="@color/white"/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/messagesButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/transparent"
|
|
android:src="@drawable/menu_messages"
|
|
android:layout_marginLeft="16dp"/>
|
|
<ImageButton
|
|
android:id="@+id/settingsButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/transparent"
|
|
android:src="@drawable/menu_settings"
|
|
android:layout_marginLeft="20dp"/>
|
|
</LinearLayout>
|
|
<com.habitrpg.android.habitica.ui.views.social.QuestMenuView
|
|
android:id="@+id/questMenuView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"/>
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/recyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
</LinearLayout>
|