mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-08 11:47:25 +01:00
252 lines
12 KiB
XML
252 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
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"
|
|
android:background="?attr/backgroundColor"
|
|
tools:openDrawer="start">
|
|
|
|
<include
|
|
layout="@layout/app_bar_main"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<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"
|
|
android:background="?attr/backgroundColor">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/nav_drawer_recycler_view_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scrollbars="vertical"
|
|
android:clipToPadding="false" />
|
|
|
|
<!--<androidx.core.widget.NestedScrollView
|
|
android:id="@+id/nested_scroll_view_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scrollbars="vertical"
|
|
android:clipToPadding="false">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<include
|
|
android:id="@+id/nav_header_main_activity"
|
|
layout="@layout/nav_header_main" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/all_drawer_items_linear_layout_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/account_label_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="16dp"
|
|
android:text="@string/label_account"
|
|
android:textSize="?attr/font_default" />
|
|
|
|
<TextView
|
|
android:id="@+id/profile_text_view_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:padding="16dp"
|
|
android:drawableStart="@drawable/ic_account_circle_24dp"
|
|
android:drawablePadding="32dp"
|
|
android:text="@string/profile"
|
|
android:textColor="@color/primaryTextColor"
|
|
android:textSize="?attr/font_default"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/subscriptions_text_view_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:padding="16dp"
|
|
android:drawableStart="@drawable/ic_subscritptions_bottom_app_bar_24dp"
|
|
android:drawablePadding="32dp"
|
|
android:text="@string/subscriptions"
|
|
android:textColor="@color/primaryTextColor"
|
|
android:textSize="?attr/font_default"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/multi_reddits_text_view_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:padding="16dp"
|
|
android:drawableStart="@drawable/ic_multi_reddit_24dp"
|
|
android:drawablePadding="32dp"
|
|
android:text="@string/multi_reddit"
|
|
android:textColor="@color/primaryTextColor"
|
|
android:textSize="?attr/font_default"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/inbox_text_view_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:padding="16dp"
|
|
android:drawableStart="@drawable/ic_inbox_24dp"
|
|
android:drawablePadding="32dp"
|
|
android:text="@string/inbox"
|
|
android:textColor="@color/primaryTextColor"
|
|
android:textSize="?attr/font_default"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/post_label_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="16dp"
|
|
android:text="@string/label_post"
|
|
android:textSize="?attr/font_default" />
|
|
|
|
<TextView
|
|
android:id="@+id/upvoted_text_view_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:padding="16dp"
|
|
android:drawableStart="@drawable/ic_arrow_upward_black_24dp"
|
|
android:drawablePadding="32dp"
|
|
android:text="@string/upvoted"
|
|
android:textColor="@color/primaryTextColor"
|
|
android:textSize="?attr/font_default"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/downvoted_text_view_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:padding="16dp"
|
|
android:drawableStart="@drawable/ic_arrow_downward_black_24dp"
|
|
android:drawablePadding="32dp"
|
|
android:text="@string/downvoted"
|
|
android:textColor="@color/primaryTextColor"
|
|
android:textSize="?attr/font_default"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/hidden_text_view_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:padding="16dp"
|
|
android:drawableStart="@drawable/ic_outline_lock_24dp"
|
|
android:drawablePadding="32dp"
|
|
android:text="@string/hidden"
|
|
android:textColor="@color/primaryTextColor"
|
|
android:textSize="?attr/font_default"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/saved_text_view_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:padding="16dp"
|
|
android:drawableStart="@drawable/ic_outline_bookmarks_24dp"
|
|
android:drawablePadding="32dp"
|
|
android:text="@string/saved"
|
|
android:textColor="@color/primaryTextColor"
|
|
android:textSize="?attr/font_default"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/gilded_text_view_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:padding="16dp"
|
|
android:drawableStart="@drawable/ic_star_border_24dp"
|
|
android:drawablePadding="32dp"
|
|
android:text="@string/gilded"
|
|
android:textColor="@color/primaryTextColor"
|
|
android:textSize="?attr/font_default"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
<View
|
|
android:id="@+id/divider_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="@color/dividerColor" />
|
|
|
|
<TextView
|
|
android:id="@+id/night_mode_toggle_text_view_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:padding="16dp"
|
|
android:drawablePadding="32dp"
|
|
android:textColor="@color/primaryTextColor"
|
|
android:textSize="?attr/font_default"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/settings_text_view_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:padding="16dp"
|
|
android:drawableStart="@drawable/ic_settings_24dp"
|
|
android:drawablePadding="32dp"
|
|
android:text="@string/settings"
|
|
android:textColor="@color/primaryTextColor"
|
|
android:textSize="?attr/font_default"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
</LinearLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/account_recycler_view_main_activity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="gone" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>-->
|
|
|
|
</com.google.android.material.navigation.NavigationView>
|
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|