UntrackMe-app-android-redir.../app/src/main/res/layout/activity_about.xml

284 lines
11 KiB
XML
Raw Normal View History

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">
2020-01-25 15:51:45 +01:00
<LinearLayout
2020-01-25 10:25:02 +01:00
android:layout_width="match_parent"
2020-01-25 15:51:45 +01:00
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"
2020-01-25 10:25:02 +01:00
android:layout_width="match_parent"
2020-01-25 15:51:45 +01:00
android:layout_height="wrap_content" />
2020-01-25 10:25:02 +01:00
2020-01-25 15:51:45 +01:00
<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" />
2020-01-25 10:25:02 +01:00
2020-01-25 15:51:45 +01:00
<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">
2020-01-25 10:25:02 +01:00
2020-01-25 15:51:45 +01:00
<LinearLayout
android:padding="5dp"
2020-01-25 10:25:02 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-01-25 15:51:45 +01:00
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>
2020-01-25 10:25:02 +01:00
<LinearLayout
2020-01-25 15:51:45 +01:00
android:layout_width="0dp"
android:layout_weight="3"
2020-01-25 10:25:02 +01:00
android:layout_height="wrap_content"
2020-01-25 15:51:45 +01:00
android:orientation="vertical">
<TextView
android:textSize="16sp"
android:id="@+id/developer_mastodon"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textStyle="bold"
android:text="\@fedilab@toot.fedilab.org"
tools:ignore="HardcodedText" />
2020-01-25 10:25:02 +01:00
<LinearLayout
2020-01-25 15:51:45 +01:00
android:layout_marginTop="10dp"
android:layout_width="match_parent"
2020-01-25 10:25:02 +01:00
android:layout_height="wrap_content"
2020-01-25 15:51:45 +01:00
android:orientation="horizontal">
2020-01-25 10:25:02 +01:00
<TextView
android:textSize="16sp"
2020-01-25 15:51:45 +01:00
android:id="@+id/framagit"
android:text="Framagit"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
2020-01-25 10:25:02 +01:00
tools:ignore="HardcodedText" />
<TextView
2020-01-25 15:47:10 +01:00
android:textSize="16sp"
2020-01-25 15:51:45 +01:00
android:id="@+id/github"
android:text="Github"
android:layout_width="0dp"
2020-01-25 10:25:02 +01:00
android:layout_height="wrap_content"
2020-01-25 15:51:45 +01:00
android:layout_weight="1"
2020-01-25 10:25:02 +01:00
tools:ignore="HardcodedText" />
2020-01-25 15:51:45 +01:00
<TextView
android:textSize="16sp"
android:id="@+id/codeberg"
android:text="Codeberg"
android:layout_width="0dp"
2020-01-25 10:25:02 +01:00
android:layout_height="wrap_content"
2020-01-25 15:51:45 +01:00
android:layout_weight="1"
tools:ignore="HardcodedText" />
2020-01-25 10:25:02 +01:00
</LinearLayout>
</LinearLayout>
2020-01-25 15:51:45 +01:00
</LinearLayout>
</androidx.cardview.widget.CardView>
<!-- Idea from info -->
2020-02-17 17:32:28 +01:00
<TextView
android:layout_width="match_parent"
2020-01-25 15:51:45 +01:00
android:layout_height="wrap_content"
2020-02-17 17:32:28 +01:00
android:text="@string/Donate"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginBottom="20dp"
android:orientation="horizontal">
<Button
style="@style/Widget.AppCompat.Button.Colored"
android:textColor="@android:color/white"
android:layout_marginTop="10dp"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Paypal"
android:id="@+id/donate_paypal"
android:layout_marginEnd="10dp"
android:layout_marginRight="10dp"
tools:ignore="HardcodedText"
/>
<Button
style="@style/Widget.AppCompat.Button.Colored"
android:textColor="@android:color/white"
android:layout_marginTop="10dp"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Liberapay"
android:id="@+id/donate_liberapay"
android:layout_marginStart="10dp"
android:layout_marginLeft="10dp"
tools:ignore="HardcodedText" />
</LinearLayout>
2020-01-25 15:51:45 +01:00
2020-02-17 17:59:06 +01:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Wiki"
tools:ignore="HardcodedText" />
<Button
style="@style/Widget.AppCompat.Button.Colored"
android:textColor="@android:color/white"
android:layout_marginTop="10dp"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/how_to"
android:paddingRight="30dp"
android:paddingStart="30dp"
android:paddingEnd="30dp"
android:paddingLeft="30dp"
android:id="@+id/how_to"
android:layout_marginStart="10dp"
android:layout_marginLeft="10dp"
android:layout_marginBottom="20dp"
/>
2020-01-25 15:51:45 +01:00
<!-- About the app -->
<TextView
android:layout_margin="10dp"
android:textStyle="bold"
android:textSize="16sp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/about_the_app"
/>
2020-01-25 10:25:02 +01:00
2020-01-25 15:51:45 +01:00
<!-- 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"
2020-01-25 15:47:10 +01:00
android:layout_height="wrap_content"
2020-01-25 15:51:45 +01:00
android:layout_weight="1"
android:text="@string/source_code"
2020-01-25 15:47:10 +01:00
/>
2020-01-25 15:51:45 +01:00
<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>
2020-01-25 10:25:02 +01:00
2020-01-25 15:51:45 +01:00
<!-- Support info -->
<LinearLayout
android:layout_marginTop="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
2020-01-25 10:25:02 +01:00
<TextView
2020-01-25 15:51:45 +01:00
android:layout_width="0dp"
2020-01-25 10:25:02 +01:00
android:layout_height="wrap_content"
2020-01-25 15:51:45 +01:00
android:layout_weight="1"
android:text="@string/issue_tracker"
2020-01-25 10:25:02 +01:00
/>
2020-01-25 15:51:45 +01:00
<TextView
android:layout_marginStart="5dp"
android:id="@+id/issue_tracker"
android:layout_width="0dp"
2020-01-25 10:25:02 +01:00
android:layout_height="wrap_content"
2020-01-25 15:51:45 +01:00
android:layout_weight="3"
android:autoLink="web"
android:text="https://framagit.org/tom79/nitterizeme/issues"
tools:ignore="HardcodedText"
android:layout_marginLeft="5dp" />
</LinearLayout>
2020-01-25 10:25:02 +01:00
2020-01-25 15:51:45 +01:00
<!-- 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"
2020-01-25 10:25:02 +01:00
android:layout_height="wrap_content"
2020-01-25 15:51:45 +01:00
android:layout_weight="1"
android:text="@string/license"
/>
<TextView
android:layout_marginStart="5dp"
android:id="@+id/license"
android:layout_width="0dp"
2020-01-25 10:25:02 +01:00
android:layout_height="wrap_content"
2020-01-25 15:51:45 +01:00
android:layout_weight="3"
android:text="GPL3"
tools:ignore="HardcodedText"
android:layout_marginLeft="5dp" />
2020-01-25 10:25:02 +01:00
</LinearLayout>
2020-01-25 15:51:45 +01:00
</LinearLayout>
2020-01-25 10:25:02 +01:00
</ScrollView>