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"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:paddingTop="@dimen/dimen4dp"
|
|
|
|
android:paddingBottom="@dimen/dimen4dp">
|
2022-06-26 09:16:35 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
2022-06-26 09:16:35 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2023-03-26 08:11:59 +02:00
|
|
|
style="?attr/materialCardViewElevatedStyle"
|
2022-08-26 19:00:08 +02:00
|
|
|
app:cardElevation="@dimen/dimen0dp">
|
|
|
|
|
|
|
|
<LinearLayout
|
2022-06-26 09:16:35 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
|
|
android:background="?attr/materialCardBackgroundColor"
|
|
|
|
android:padding="@dimen/dimen12dp"
|
|
|
|
android:orientation="vertical">
|
2022-06-26 09:16:35 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/wiki_info_frame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
tools:ignore="UseCompoundDrawables">
|
2022-06-26 09:16:35 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/image_avatar"
|
|
|
|
android:layout_width="@dimen/dimen24dp"
|
|
|
|
android:layout_height="@dimen/dimen24dp"
|
|
|
|
android:layout_marginStart="0dp"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:contentDescription="@string/wiki"
|
|
|
|
android:src="@drawable/ic_android"/>
|
2022-06-26 09:16:35 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/page_name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/wiki"/>
|
2022-06-26 09:16:35 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
</LinearLayout>
|
2022-06-26 09:16:35 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<View
|
|
|
|
android:id="@+id/spacerView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginBottom="8dp"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/wiki_detail_info_frame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/wiki_last_updated_by"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?attr/hintColor"
|
|
|
|
android:textSize="13sp"
|
|
|
|
android:text="@string/wikiAuthor"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/wiki_menu_frame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:gravity="center_vertical|end"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:paddingRight="5dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/wiki_menu"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginStart="3dp"
|
|
|
|
android:layout_marginEnd="0dp"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
app:srcCompat="@drawable/ic_dotted_menu_horizontal"
|
|
|
|
app:tint="?attr/iconsColor"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2022-06-26 09:16:35 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2022-06-26 09:16:35 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|