|
|
|
<?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="match_parent"
|
|
|
|
android:background="@color/black"
|
|
|
|
android:id="@+id/markdownBackground"
|
|
|
|
app:fitsSystemWindowsInsets="top|left|right">
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
app:cardCornerRadius="@dimen/card_corner_radius">
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/markdownView"
|
|
|
|
android:text="@string/loading"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="@dimen/markdown_border_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/markdownFooter"
|
|
|
|
android:text=""
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
</LinearLayout>
|