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: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-04-23 02:03:29 +02:00
|
|
|
<com.google.android.material.navigation.NavigationView
|
|
|
|
android:id="@+id/nav_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="start">
|
|
|
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
2019-08-20 04:56:41 +02:00
|
|
|
android:id="@+id/nested_scroll_view_main_activity"
|
2019-04-23 02:03:29 +02:00
|
|
|
android:layout_width="match_parent"
|
2018-07-29 14:25:55 +02:00
|
|
|
android:layout_height="match_parent"
|
2019-08-20 04:56:41 +02:00
|
|
|
android:scrollbars="vertical"
|
|
|
|
android:clipToPadding="false">
|
2018-07-29 14:25:55 +02:00
|
|
|
|
2019-04-23 02:03:29 +02:00
|
|
|
<LinearLayout
|
2018-07-28 07:45:01 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-04-23 02:03:29 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/nav_header_main_activity"
|
|
|
|
layout="@layout/nav_header_main" />
|
2018-07-29 14:25:55 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
2019-08-08 14:05:45 +02:00
|
|
|
android:id="@+id/all_drawer_items_linear_layout_main_activity"
|
2018-07-29 14:25:55 +02:00
|
|
|
android:layout_width="match_parent"
|
2018-07-28 07:45:01 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-08-08 14:05:45 +02:00
|
|
|
android:orientation="vertical">
|
2018-07-29 14:25:55 +02:00
|
|
|
|
2019-08-19 11:57:04 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/account_label_main_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="16dp"
|
2019-09-20 15:27:00 +02:00
|
|
|
android:text="@string/label_account"
|
|
|
|
android:textSize="?attr/font_default" />
|
2019-08-19 11:57:04 +02:00
|
|
|
|
2019-08-08 14:05:45 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/profile_linear_layout_main_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:src="@drawable/ic_outline_account_circle_24px"
|
|
|
|
android:tint="@color/primaryTextColor"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/profile"
|
2019-09-20 15:27:00 +02:00
|
|
|
android:textColor="@color/primaryTextColor"
|
|
|
|
android:textSize="?attr/font_default" />
|
2019-08-08 14:05:45 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/subscriptions_linear_layout_main_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:src="@drawable/ic_outline_check_circle_outline_24px"
|
|
|
|
android:tint="@color/primaryTextColor"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/subscriptions"
|
2019-09-20 15:27:00 +02:00
|
|
|
android:textColor="@color/primaryTextColor"
|
|
|
|
android:textSize="?attr/font_default" />
|
2019-08-08 14:05:45 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-08-18 10:03:58 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/inbox_linear_layout_main_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:src="@drawable/ic_outline_inbox_24px"
|
|
|
|
android:tint="@color/primaryTextColor"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/inbox"
|
2019-09-20 15:27:00 +02:00
|
|
|
android:textColor="@color/primaryTextColor"
|
|
|
|
android:textSize="?attr/font_default" />
|
2019-08-18 10:03:58 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-08-19 11:57:04 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/post_label_main_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="16dp"
|
2019-09-20 15:27:00 +02:00
|
|
|
android:text="@string/label_post"
|
|
|
|
android:textSize="?attr/font_default" />
|
2019-08-19 11:57:04 +02:00
|
|
|
|
2019-08-14 09:54:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/upvoted_linear_layout_main_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:src="@drawable/ic_arrow_upward_black_24dp"
|
|
|
|
android:tint="@color/primaryTextColor"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/upvoted"
|
2019-09-20 15:27:00 +02:00
|
|
|
android:textColor="@color/primaryTextColor"
|
|
|
|
android:textSize="?attr/font_default" />
|
2019-08-14 09:54:08 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/downvoted_linear_layout_main_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:src="@drawable/ic_arrow_downward_black_24dp"
|
|
|
|
android:tint="@color/primaryTextColor"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/downvoted"
|
2019-09-20 15:27:00 +02:00
|
|
|
android:textColor="@color/primaryTextColor"
|
|
|
|
android:textSize="?attr/font_default" />
|
2019-08-14 09:54:08 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/hidden_linear_layout_main_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="32dp"
|
2019-09-22 15:28:28 +02:00
|
|
|
android:src="@drawable/ic_outline_lock"
|
2019-08-14 09:54:08 +02:00
|
|
|
android:tint="@color/primaryTextColor"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/hidden"
|
2019-09-20 15:27:00 +02:00
|
|
|
android:textColor="@color/primaryTextColor"
|
|
|
|
android:textSize="?attr/font_default" />
|
2019-08-14 09:54:08 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/saved_linear_layout_main_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:src="@drawable/ic_outline_bookmarks_24px"
|
|
|
|
android:tint="@color/primaryTextColor"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/saved"
|
2019-09-20 15:27:00 +02:00
|
|
|
android:textColor="@color/primaryTextColor"
|
|
|
|
android:textSize="?attr/font_default" />
|
2019-08-14 09:54:08 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/gilded_linear_layout_main_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:src="@drawable/ic_outline_star_border_24px"
|
|
|
|
android:tint="@color/primaryTextColor"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/gilded"
|
2019-09-20 15:27:00 +02:00
|
|
|
android:textColor="@color/primaryTextColor"
|
|
|
|
android:textSize="?attr/font_default" />
|
2019-08-14 09:54:08 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-08-08 14:05:45 +02:00
|
|
|
<View
|
2019-08-09 11:15:41 +02:00
|
|
|
android:id="@+id/divider_main_activity"
|
2019-08-08 14:05:45 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="@color/dividerColor" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/settings_linear_layout_main_activity"
|
|
|
|
android:layout_width="match_parent"
|
2019-07-10 09:59:47 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-08-08 14:05:45 +02:00
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:src="@drawable/ic_outline_settings_24px"
|
|
|
|
android:tint="@color/primaryTextColor"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/settings"
|
2019-09-20 15:27:00 +02:00
|
|
|
android:textColor="@color/primaryTextColor"
|
|
|
|
android:textSize="?attr/font_default" />
|
2019-08-08 14:05:45 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
2019-07-10 09:59:47 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-08-08 14:05:45 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/account_recycler_view_main_activity"
|
2019-04-23 02:03:29 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-08-08 14:05:45 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="gone" />
|
2019-04-23 02:03:29 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
2018-07-28 07:45:01 +02:00
|
|
|
|
2019-04-23 02:03:29 +02:00
|
|
|
</androidx.core.widget.NestedScrollView>
|
2018-07-28 07:45:01 +02:00
|
|
|
|
2019-04-23 02:03:29 +02: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>
|