2022-06-26 09:16:35 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2022-06-26 09:16:35 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingTop="6dp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:paddingBottom="12dp">
|
2022-06-26 09:16:35 +02:00
|
|
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
2022-06-26 09:16:35 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/wiki_list_head_frame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="8dp">
|
2022-06-26 09:16:35 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/bottom_sheet_header"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/wiki"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textSize="16sp"/>
|
2022-06-26 09:16:35 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<com.google.android.flexbox.FlexboxLayout
|
|
|
|
android:id="@+id/wiki_list_section"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:padding="4dp"
|
2022-08-15 16:26:02 +02:00
|
|
|
app:alignContent="center"
|
|
|
|
app:alignItems="flex_start"
|
|
|
|
app:flexWrap="wrap"
|
|
|
|
app:justifyContent="center">
|
2022-06-26 09:16:35 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/edit_wiki"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_width="100dp"
|
2022-06-26 09:16:35 +02:00
|
|
|
android:layout_height="100dp"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:gravity="center"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:padding="4dp"
|
2022-06-26 09:16:35 +02:00
|
|
|
android:text="@string/menuEditText"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textSize="16sp"
|
|
|
|
app:drawableTopCompat="@drawable/ic_edit"
|
|
|
|
app:layout_alignSelf="flex_start"/>
|
2022-06-26 09:16:35 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/delete_wiki"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_width="100dp"
|
2022-06-26 09:16:35 +02:00
|
|
|
android:layout_height="100dp"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:gravity="center"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:padding="4dp"
|
2022-06-26 09:16:35 +02:00
|
|
|
android:text="@string/menuDeleteText"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textSize="16sp"
|
|
|
|
app:drawableTopCompat="@drawable/ic_delete"
|
|
|
|
app:layout_alignSelf="flex_start"/>
|
2022-06-26 09:16:35 +02:00
|
|
|
|
|
|
|
</com.google.android.flexbox.FlexboxLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
|
|
|
</LinearLayout>
|