<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView
	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">

	<LinearLayout
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:orientation="vertical">

		<include
			android:id="@+id/card_update"
			layout="@layout/layout_app_update"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:layout_margin="@dimen/margin_normal"
			android:visibility="gone"
			tools:visibility="visible" />

		<include
			android:id="@+id/layout_sync"
			layout="@layout/layout_synchronization"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:visibility="gone"
			tools:visibility="visible" />

		<com.google.android.material.divider.MaterialDivider
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:layout_marginVertical="@dimen/margin_small"
			android:visibility="gone"
			tools:visibility="visible" />

		<org.koitharu.kotatsu.settings.tools.views.MemoryUsageView
			android:id="@+id/memory_usage_view"
			android:layout_width="match_parent"
			android:layout_height="wrap_content" />

		<com.google.android.material.divider.MaterialDivider
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:layout_marginVertical="@dimen/margin_small" />

		<com.google.android.material.materialswitch.MaterialSwitch
			android:id="@+id/switch_incognito"
			style="?listItemTextViewStyle"
			android:layout_width="match_parent"
			android:layout_height="?android:listPreferredItemHeightSmall"
			android:drawableStart="@drawable/ic_incognito"
			android:drawablePadding="?android:listPreferredItemPaddingStart"
			android:paddingStart="?android:listPreferredItemPaddingStart"
			android:paddingEnd="?android:listPreferredItemPaddingEnd"
			android:text="@string/incognito_mode"
			android:textAppearance="?attr/textAppearanceButton"
			android:textColor="?attr/colorControlNormal" />

		<org.koitharu.kotatsu.base.ui.widgets.ListItemTextView
			android:id="@+id/button_downloads"
			android:layout_width="match_parent"
			android:layout_height="?android:listPreferredItemHeightSmall"
			android:drawableStart="@drawable/ic_download"
			android:drawablePadding="?android:listPreferredItemPaddingStart"
			android:paddingStart="?android:listPreferredItemPaddingStart"
			android:paddingEnd="?android:listPreferredItemPaddingEnd"
			android:text="@string/downloads"
			android:textAppearance="?attr/textAppearanceButton" />

		<org.koitharu.kotatsu.base.ui.widgets.ListItemTextView
			android:id="@+id/button_settings"
			android:layout_width="match_parent"
			android:layout_height="?android:listPreferredItemHeightSmall"
			android:drawableStart="@drawable/ic_settings"
			android:drawablePadding="?android:listPreferredItemPaddingStart"
			android:paddingStart="?android:listPreferredItemPaddingStart"
			android:paddingEnd="?android:listPreferredItemPaddingEnd"
			android:text="@string/settings"
			android:textAppearance="?attr/textAppearanceButton" />

	</LinearLayout>

</androidx.core.widget.NestedScrollView>
