activity_about.xml

 1<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 2              xmlns:tools="http://schemas.android.com/tools"
 3              android:layout_width="match_parent"
 4              android:layout_height="match_parent"
 5              android:background="?attr/color_background_secondary"
 6              android:orientation="vertical"
 7              tools:context="eu.siacs.conversations.ui.AboutActivity">
 8
 9    <include layout="@layout/toolbar"/>
10
11    <ScrollView
12        android:layout_width="match_parent"
13        android:layout_height="match_parent">
14
15        <LinearLayout
16            android:layout_width="match_parent"
17            android:layout_height="wrap_content">
18
19            <androidx.cardview.widget.CardView
20                android:layout_width="match_parent"
21                android:layout_height="wrap_content"
22                android:layout_marginBottom="@dimen/activity_vertical_margin"
23                android:layout_marginLeft="@dimen/activity_horizontal_margin"
24                android:layout_marginRight="@dimen/activity_horizontal_margin"
25                android:layout_marginTop="@dimen/activity_vertical_margin">
26
27                <TextView
28                    android:layout_width="wrap_content"
29                    android:layout_height="wrap_content"
30                    android:autoLink="web"
31                    android:fontFamily="monospace"
32                    android:linksClickable="true"
33                    android:padding="@dimen/card_padding_regular"
34                    android:text="@string/pref_about_message"
35                    android:textAppearance="@style/TextAppearance.Conversations.Body1"
36                    android:typeface="monospace"/>
37            </androidx.cardview.widget.CardView>
38        </LinearLayout>
39    </ScrollView>
40</LinearLayout>