fedilab-Android-App/app/src/main/res/layout/activity_about.xml

274 lines
10 KiB
XML
Raw Normal View History

2019-09-06 17:55:14 +02:00
<?xml version="1.0" encoding="utf-8"?><!--
2017-05-05 16:36:04 +02:00
Copyright 2017 Thomas Schneider
2019-05-18 11:10:30 +02:00
This file is a part of Fedilab
2017-05-05 16:36:04 +02:00
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.
2019-05-18 11:10:30 +02:00
Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
2017-05-05 16:36:04 +02:00
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
2019-05-18 11:10:30 +02:00
You should have received a copy of the GNU General Public License along with Fedilab; if not,
2017-05-05 16:36:04 +02:00
see <http://www.gnu.org/licenses>.
-->
2017-09-03 10:36:27 +02:00
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2017-10-01 15:02:38 +02:00
xmlns:tools="http://schemas.android.com/tools"
2017-05-05 16:36:04 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-09-06 17:55:14 +02:00
android:orientation="vertical">
2019-07-29 14:48:53 +02:00
<LinearLayout
2017-05-05 16:36:04 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-06 17:55:14 +02:00
android:orientation="vertical">
2017-09-03 10:36:27 +02:00
<!-- About app name -->
<TextView
2019-11-15 16:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-09-03 10:36:27 +02:00
android:layout_gravity="center_horizontal"
2019-11-15 16:32:25 +01:00
android:layout_marginTop="10dp"
2017-09-03 10:36:27 +02:00
android:gravity="center_horizontal"
android:text="@string/app_name"
2019-11-15 16:32:25 +01:00
android:textSize="20sp" />
2017-09-03 10:36:27 +02:00
<!-- About version -->
<TextView
android:id="@+id/about_version"
2019-11-15 16:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-09-03 10:36:27 +02:00
android:layout_gravity="center_horizontal"
2019-11-15 16:32:25 +01:00
android:layout_marginTop="10dp"
2017-09-03 10:36:27 +02:00
android:gravity="center_horizontal"
2019-11-15 16:32:25 +01:00
android:textSize="16sp" />
2017-09-03 10:36:27 +02:00
<!-- About developer -->
<TextView
2017-09-02 19:15:29 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2017-09-03 10:36:27 +02:00
android:layout_gravity="center_vertical"
2019-11-15 16:32:25 +01:00
android:layout_marginTop="10dp"
2017-09-03 10:36:27 +02:00
android:gravity="center_vertical"
2019-11-15 16:32:25 +01:00
android:padding="5dp"
android:text="@string/about_developer"
2019-11-15 16:32:25 +01:00
android:textColor="?colorAccent"
2019-09-06 17:55:14 +02:00
android:textSize="16sp" />
2019-05-18 11:10:30 +02:00
<app.fedilab.android.helper.ExpandableHeightListView
2017-09-02 19:15:29 +02:00
android:id="@+id/lv_developers"
android:layout_width="match_parent"
2017-09-03 10:36:27 +02:00
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:divider="@null"
android:scrollbars="none" />
2019-09-06 17:55:14 +02:00
2019-02-08 19:11:54 +01:00
<TextView
android:id="@+id/txt_developers"
android:layout_width="match_parent"
2019-11-15 16:32:25 +01:00
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:textSize="18sp"
android:visibility="gone" />
2018-05-12 11:28:58 +02:00
<Button
android:id="@+id/about_support"
style="@style/Base.Widget.AppCompat.Button.Colored"
android:layout_width="wrap_content"
2019-11-15 16:32:25 +01:00
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:text="@string/support_the_app_on_liberapay" />
2018-05-12 11:28:58 +02:00
2018-08-19 14:58:56 +02:00
<Button
android:id="@+id/about_support_paypal"
style="@style/Base.Widget.AppCompat.Button.Colored"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:layout_gravity="center"
android:gravity="center"
android:text="PayPal"
2018-09-19 10:16:44 +02:00
tools:ignore="HardcodedText" />
2019-09-06 17:55:14 +02:00
2017-10-01 15:02:38 +02:00
<TextView
android:id="@+id/about_website"
2019-11-15 16:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-10-01 15:02:38 +02:00
android:layout_gravity="center"
2019-11-15 16:32:25 +01:00
android:autoLink="web"
2017-10-01 15:02:38 +02:00
android:gravity="center"
android:padding="10dp"
2019-02-06 14:29:55 +01:00
android:text="https://fedilab.app"
2019-11-15 16:32:25 +01:00
android:textSize="16sp"
2017-10-01 15:02:38 +02:00
tools:ignore="HardcodedText" />
2018-11-09 07:02:55 +01:00
<!-- About UX/UI designer -->
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
2019-11-15 16:32:25 +01:00
android:layout_marginTop="10dp"
2018-11-09 07:02:55 +01:00
android:gravity="center_vertical"
2019-11-15 16:32:25 +01:00
android:padding="5dp"
android:text="@string/thanks_text_ux"
android:textColor="?colorAccent"
android:textSize="16sp" />
2018-11-09 07:02:55 +01:00
2019-05-18 11:10:30 +02:00
<app.fedilab.android.helper.ExpandableHeightListView
2018-11-09 07:02:55 +01:00
android:id="@+id/lv_ux"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:divider="@null"
android:scrollbars="none" />
2019-09-06 17:55:14 +02:00
2019-02-08 19:11:54 +01:00
<TextView
android:id="@+id/txt_ux"
android:layout_width="match_parent"
2019-11-15 16:32:25 +01:00
android:layout_height="wrap_content"
android:textSize="16sp"
android:visibility="gone" />
2018-11-18 10:09:32 +01:00
2019-02-08 19:11:54 +01:00
<TextView
android:layout_width="match_parent"
2019-11-15 16:32:25 +01:00
android:layout_height="wrap_content"
android:textSize="16sp"
android:visibility="gone" />
2018-11-09 07:02:55 +01:00
2018-04-19 18:19:54 +02:00
2019-11-16 18:36:08 +01:00
<!-- About contributors -->
2017-10-08 11:54:41 +02:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
2019-11-15 16:32:25 +01:00
android:layout_marginTop="10dp"
2017-10-08 11:54:41 +02:00
android:gravity="center_vertical"
2019-11-15 16:32:25 +01:00
android:padding="5dp"
2019-11-16 18:36:08 +01:00
android:text="@string/thanks_text_dev"
2019-11-15 16:32:25 +01:00
android:textColor="?colorAccent"
android:textSize="16sp" />
2017-10-08 11:54:41 +02:00
2019-05-18 11:10:30 +02:00
<app.fedilab.android.helper.ExpandableHeightListView
2019-11-16 18:36:08 +01:00
android:id="@+id/lv_contributors"
2017-10-08 11:54:41 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:divider="@null"
android:scrollbars="none" />
2019-09-06 17:55:14 +02:00
2019-02-08 19:11:54 +01:00
<TextView
android:id="@+id/txt_thankyou1"
android:layout_width="match_parent"
2019-11-15 16:32:25 +01:00
android:layout_height="wrap_content"
android:textSize="16sp"
android:visibility="gone" />
2019-09-06 17:55:14 +02:00
2019-02-08 19:11:54 +01:00
<TextView
android:id="@+id/txt_thankyou2"
android:layout_width="match_parent"
2019-11-15 16:32:25 +01:00
android:layout_height="wrap_content"
android:textSize="16sp"
android:visibility="gone" />
2017-10-01 15:02:38 +02:00
2017-09-03 10:36:27 +02:00
<!-- About license -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-09-03 10:36:27 +02:00
android:orientation="horizontal"
android:padding="5dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="2"
android:gravity="center"
android:text="@string/about_license"
2019-09-06 17:55:14 +02:00
android:textSize="16sp" />
2017-09-03 10:36:27 +02:00
<Button
android:id="@+id/about_license"
style="@style/Base.Widget.AppCompat.Button.Colored"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
2019-09-06 17:55:14 +02:00
android:text="@string/about_license_action" />
2017-09-03 10:36:27 +02:00
</LinearLayout>
<!-- About license -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-09-03 10:36:27 +02:00
android:orientation="horizontal"
android:padding="5dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="2"
android:gravity="center"
android:text="@string/about_code"
2019-09-06 17:55:14 +02:00
android:textSize="16sp" />
2017-09-03 10:36:27 +02:00
<Button
android:id="@+id/about_code"
style="@style/Base.Widget.AppCompat.Button.Colored"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
2019-09-06 17:55:14 +02:00
android:text="@string/about_code_action" />
2017-09-03 10:36:27 +02:00
</LinearLayout>
2019-05-18 16:52:15 +02:00
<!-- About The Kinrar\'s API -->
2017-09-03 10:36:27 +02:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-09-03 10:36:27 +02:00
android:orientation="horizontal"
android:padding="5dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="2"
android:gravity="center"
android:text="@string/about_thekinrar"
2019-09-06 17:55:14 +02:00
android:textSize="16sp" />
2017-09-03 10:36:27 +02:00
<Button
android:id="@+id/about_thekinrar"
style="@style/Base.Widget.AppCompat.Button.Colored"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
2019-09-06 17:55:14 +02:00
android:text="@string/about_thekinrar_action" />
2017-09-03 10:36:27 +02:00
</LinearLayout>
2019-05-18 16:52:15 +02:00
<!-- About Trunk\'s API -->
2018-09-12 10:36:19 +02:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="5dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="2"
android:gravity="center"
android:text="@string/about_trunk"
2019-09-06 17:55:14 +02:00
android:textSize="16sp" />
2018-09-12 10:36:19 +02:00
<Button
android:id="@+id/about_trunk"
style="@style/Base.Widget.AppCompat.Button.Colored"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
2019-09-06 17:55:14 +02:00
android:text="@string/about_trunk_action" />
2018-09-12 10:36:19 +02:00
</LinearLayout>
2017-07-07 19:26:26 +02:00
</LinearLayout>
2017-09-03 10:36:27 +02:00
</ScrollView>