2018-07-26 17:04:44 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-02-21 10:24:23 +01:00
|
|
|
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-07-26 17:04:44 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/drawer_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
tools:openDrawer="start">
|
|
|
|
|
|
|
|
<include
|
|
|
|
layout="@layout/app_bar_main"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
2019-02-21 10:24:23 +01:00
|
|
|
<com.google.android.material.navigation.NavigationView
|
2018-07-29 14:25:55 +02:00
|
|
|
android:id="@+id/nav_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2019-02-27 06:15:32 +01:00
|
|
|
android:layout_gravity="start">
|
2018-07-29 14:25:55 +02:00
|
|
|
|
2019-02-21 10:24:23 +01:00
|
|
|
<androidx.core.widget.NestedScrollView
|
2018-07-28 07:45:01 +02:00
|
|
|
android:layout_width="match_parent"
|
2018-07-29 18:11:05 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scrollbars="vertical">
|
2018-07-29 14:25:55 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2018-07-28 07:45:01 +02:00
|
|
|
android:layout_height="wrap_content"
|
2018-07-29 14:25:55 +02:00
|
|
|
android:orientation="vertical">
|
2018-07-28 07:45:01 +02:00
|
|
|
|
2018-07-29 14:25:55 +02:00
|
|
|
<include
|
|
|
|
android:id="@+id/nav_header_main_activity"
|
|
|
|
layout="@layout/nav_header_main" />
|
2018-07-28 07:45:01 +02:00
|
|
|
|
2018-07-29 14:25:55 +02:00
|
|
|
<LinearLayout
|
2019-01-11 04:33:32 +01:00
|
|
|
android:id="@+id/profile_linear_layout_main_activity"
|
2018-07-29 14:25:55 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="16dp"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:background="?attr/selectableItemBackground">
|
2018-07-28 07:45:01 +02:00
|
|
|
|
2018-07-29 14:25:55 +02:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
2019-01-04 09:02:11 +01:00
|
|
|
android:src="@drawable/ic_outline_account_circle_24px"/>
|
2018-07-28 07:45:01 +02:00
|
|
|
|
2018-07-29 14:25:55 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/profile"
|
|
|
|
android:textColor="@android:color/black"
|
|
|
|
android:layout_gravity="center_vertical"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="#E0E0E0"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/following_label_main_activity"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/following"
|
2018-08-18 03:22:31 +02:00
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:visibility="gone"/>
|
2018-07-29 14:25:55 +02:00
|
|
|
|
2019-02-21 10:24:23 +01:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2018-07-29 14:25:55 +02:00
|
|
|
android:id="@+id/subscribed_user_recycler_view_main_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/subscriptions_label_main_activity"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/subscriptions"
|
2018-08-18 03:22:31 +02:00
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:visibility="gone"/>
|
2018-07-29 14:25:55 +02:00
|
|
|
|
2019-02-21 10:24:23 +01:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2018-07-29 14:25:55 +02:00
|
|
|
android:id="@+id/subscribed_subreddit_recycler_view_main_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2018-07-28 07:45:01 +02:00
|
|
|
|
2019-02-21 10:24:23 +01:00
|
|
|
</androidx.core.widget.NestedScrollView>
|
2018-07-28 07:45:01 +02:00
|
|
|
|
2019-02-21 10:24:23 +01:00
|
|
|
</com.google.android.material.navigation.NavigationView>
|
2018-07-26 17:04:44 +02:00
|
|
|
|
2019-02-21 10:24:23 +01:00
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|