2019-10-06 16:35:08 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
|
|
|
Copyright 2019 Thomas Schneider
|
|
|
|
|
|
|
|
This file is a part of Fedilab
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it under the terms of the
|
|
|
|
GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
|
|
|
|
Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
|
|
Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License along with Fedilab; if not,
|
|
|
|
see <http://www.gnu.org/licenses>.
|
|
|
|
-->
|
2019-11-15 16:32:25 +01:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-10-06 16:35:08 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
2019-11-15 16:32:25 +01:00
|
|
|
tools:context="app.fedilab.android.activities.TootActivity">
|
|
|
|
|
2019-10-06 16:35:08 +02:00
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_margin="@dimen/fab_margin"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
2019-10-06 16:35:08 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/preview"
|
|
|
|
android:layout_width="match_parent"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:layout_height="wrap_content" />
|
2019-10-06 16:35:08 +02:00
|
|
|
</ScrollView>
|
2019-11-15 16:32:25 +01:00
|
|
|
|
2019-10-06 16:35:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_marginTop="@dimen/settings_option_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_option_margin"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
2019-11-15 16:32:25 +01:00
|
|
|
|
2019-10-06 16:35:08 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:text="@string/report_mention"
|
|
|
|
android:textSize="16sp" />
|
2019-11-15 16:32:25 +01:00
|
|
|
|
2019-10-06 16:35:08 +02:00
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/report_mention"
|
|
|
|
android:layout_width="wrap_content"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:checked="true" />
|
2019-10-06 16:35:08 +02:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|