2020-01-25 10:25:02 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
/* Copyright 2020 Thomas Schneider
|
|
|
|
*
|
|
|
|
* This file is a part of NitterizeMe
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* NitterizeMe 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 NitterizeMe; if not,
|
|
|
|
* see <http://www.gnu.org/licenses>. */
|
|
|
|
-->
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:id="@+id/main_layout"
|
|
|
|
android:scrollbars="none"
|
|
|
|
android:layout_margin="@dimen/fab_margin"
|
|
|
|
tools:context=".AboutActivity">
|
|
|
|
<RelativeLayout
|
|
|
|
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:layout_marginTop="10dp"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:text="@string/app_name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:id="@+id/about_version"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/developer"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<!-- Developer info -->
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_marginTop="10dp">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:padding="5dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:baselineAligned="false">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
tools:ignore="UseCompoundDrawables">
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="tom79"
|
|
|
|
android:textSize="16sp"
|
|
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:src="@drawable/tom79_avatar"
|
|
|
|
tools:ignore="ContentDescription" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="3"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
2020-01-25 15:47:10 +01:00
|
|
|
android:textSize="16sp"
|
2020-01-25 10:25:02 +01:00
|
|
|
android:id="@+id/developer_mastodon"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textStyle="bold"
|
2020-01-25 11:00:55 +01:00
|
|
|
android:text="\@fedilab@toot.fedilab.org"
|
2020-01-25 10:25:02 +01:00
|
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<LinearLayout
|
2020-01-25 15:47:10 +01:00
|
|
|
android:layout_marginTop="10dp"
|
2020-01-25 10:25:02 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
2020-01-25 15:47:10 +01:00
|
|
|
android:textSize="16sp"
|
2020-01-25 10:25:02 +01:00
|
|
|
android:id="@+id/framagit"
|
|
|
|
android:text="Framagit"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<TextView
|
2020-01-25 15:47:10 +01:00
|
|
|
android:textSize="16sp"
|
2020-01-25 10:25:02 +01:00
|
|
|
android:id="@+id/github"
|
|
|
|
android:text="Github"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<TextView
|
2020-01-25 15:47:10 +01:00
|
|
|
android:textSize="16sp"
|
2020-01-25 10:25:02 +01:00
|
|
|
android:id="@+id/codeberg"
|
|
|
|
android:text="Codeberg"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
tools:ignore="HardcodedText" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<!-- Idea from info -->
|
|
|
|
|
2020-01-25 15:47:10 +01:00
|
|
|
<Button
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/Donate"
|
|
|
|
android:id="@+id/donate"
|
|
|
|
/>
|
2020-01-25 10:25:02 +01:00
|
|
|
|
|
|
|
<!-- About the app -->
|
|
|
|
<TextView
|
2020-01-25 15:47:10 +01:00
|
|
|
android:layout_margin="10dp"
|
2020-01-25 10:25:02 +01:00
|
|
|
android:textStyle="bold"
|
2020-01-25 15:47:10 +01:00
|
|
|
android:textSize="16sp"
|
2020-01-25 10:25:02 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/about_the_app"
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Code info -->
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/source_code"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:id="@+id/source_code"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="3"
|
|
|
|
android:autoLink="web"
|
|
|
|
android:text="https://framagit.org/tom79/nitterizeme"
|
|
|
|
tools:ignore="HardcodedText"
|
|
|
|
android:layout_marginLeft="5dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<!-- Support info -->
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/issue_tracker"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:id="@+id/issue_tracker"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="3"
|
|
|
|
android:autoLink="web"
|
|
|
|
android:text="https://framagit.org/tom79/nitterizeme/issues"
|
|
|
|
tools:ignore="HardcodedText"
|
|
|
|
android:layout_marginLeft="5dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<!-- License info -->
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/license"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:id="@+id/license"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="3"
|
|
|
|
android:text="GPL3"
|
|
|
|
tools:ignore="HardcodedText"
|
|
|
|
android:layout_marginLeft="5dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</ScrollView>
|