349 lines
14 KiB
XML
349 lines
14 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2017 Thomas Schneider
|
|
|
|
This file is a part of Mastalab
|
|
|
|
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.
|
|
|
|
Mastalab 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 Mastalab; 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:orientation="vertical"
|
|
>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
>
|
|
<!-- About app name -->
|
|
<TextView
|
|
android:layout_marginTop="20dp"
|
|
android:textSize="22sp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:gravity="center_horizontal"
|
|
android:text="@string/app_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
<!-- About version -->
|
|
<TextView
|
|
android:layout_marginTop="10dp"
|
|
android:id="@+id/about_version"
|
|
android:textSize="18sp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:gravity="center_horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<!-- About developer -->
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|center_horizontal"
|
|
android:layout_marginTop="10dp"
|
|
android:clickable="true"
|
|
android:gravity="center_vertical"
|
|
android:padding="5dp"
|
|
android:text="@string/about_developer"
|
|
android:textColor="?colorAccent"
|
|
android:textSize="16sp"
|
|
android:focusable="true" />
|
|
|
|
<fr.gouv.etalab.mastodon.helper.ExpandableHeightListView
|
|
android:id="@+id/lv_developers"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|center_horizontal"
|
|
android:layout_marginLeft="150dp"
|
|
android:layout_marginRight="150dp"
|
|
android:divider="@null"
|
|
android:scrollbars="none"/>
|
|
|
|
<Button
|
|
android:id="@+id/about_support"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
android:text="@string/support_the_app_on_liberapay"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
<Button
|
|
android:id="@+id/about_support_paypal"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
android:text="PayPal"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/about_wiki"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:textSize="16sp"
|
|
android:padding="10dp"
|
|
android:autoLink="web"
|
|
android:text="WIKI"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<TextView
|
|
android:id="@+id/about_website"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:textSize="16sp"
|
|
android:padding="10dp"
|
|
android:autoLink="web"
|
|
android:text="https://mastalab.app"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<!-- About UX/UI designer -->
|
|
<TextView
|
|
android:id="@+id/about_thanks_ux"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|center_horizontal"
|
|
android:layout_marginTop="10dp"
|
|
android:gravity="center_vertical|center_horizontal"
|
|
android:padding="5dp"
|
|
android:text="@string/thanks_text_ux"
|
|
android:textColor="?colorAccent"
|
|
android:textSize="16sp" />
|
|
|
|
<fr.gouv.etalab.mastodon.helper.ExpandableHeightListView
|
|
android:id="@+id/lv_ux"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|center_horizontal"
|
|
android:layout_marginLeft="150dp"
|
|
android:layout_marginRight="150dp"
|
|
android:divider="@null"
|
|
android:scrollbars="none" />
|
|
|
|
<!-- About Help desk -->
|
|
<TextView
|
|
android:id="@+id/about_thanks_support"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|center_horizontal"
|
|
android:layout_marginTop="10dp"
|
|
android:gravity="center_vertical|center_horizontal"
|
|
android:padding="5dp"
|
|
android:text="@string/thanks_text_support"
|
|
android:textColor="?colorAccent"
|
|
android:textSize="16sp" />
|
|
|
|
<fr.gouv.etalab.mastodon.helper.ExpandableHeightListView
|
|
android:id="@+id/lv_support"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|center_horizontal"
|
|
android:layout_marginLeft="150dp"
|
|
android:layout_marginRight="150dp"
|
|
android:divider="@null"
|
|
android:scrollbars="none" />
|
|
|
|
<!-- About banner designer -->
|
|
<TextView
|
|
android:id="@+id/about_thanks_banner"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|center_horizontal"
|
|
android:layout_marginTop="10dp"
|
|
android:padding="5dp"
|
|
android:text="@string/thanks_text_banner"
|
|
android:textColor="?colorAccent"
|
|
android:textSize="16sp"/>
|
|
|
|
<fr.gouv.etalab.mastodon.helper.ExpandableHeightListView
|
|
android:id="@+id/lv_banners"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|center_horizontal"
|
|
android:layout_marginLeft="150dp"
|
|
android:layout_marginRight="150dp"
|
|
android:divider="@null"
|
|
android:scrollbars="none"/>
|
|
<!-- About logo designer -->
|
|
<TextView
|
|
android:id="@+id/about_thanks_logo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|center_horizontal"
|
|
android:layout_marginTop="10dp"
|
|
android:padding="5dp"
|
|
android:text="@string/thanks_text_logo"
|
|
android:textColor="?colorAccent"
|
|
android:textSize="16sp"/>
|
|
|
|
<fr.gouv.etalab.mastodon.helper.ExpandableHeightListView
|
|
android:id="@+id/lv_designers"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|center_horizontal"
|
|
android:layout_marginLeft="150dp"
|
|
android:layout_marginRight="150dp"
|
|
android:divider="@null"
|
|
android:scrollbars="none"/>
|
|
|
|
<!-- About contributors -->
|
|
|
|
<TextView
|
|
android:id="@+id/about_thanks_dev"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|center_horizontal"
|
|
android:layout_marginTop="10dp"
|
|
android:gravity="center_vertical"
|
|
android:padding="5dp"
|
|
android:text="@string/thanks_text_dev"
|
|
android:textColor="?colorAccent"
|
|
android:textSize="16sp"/>
|
|
|
|
<fr.gouv.etalab.mastodon.helper.ExpandableHeightListView
|
|
android:id="@+id/lv_contributors"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|center_horizontal"
|
|
android:layout_marginLeft="150dp"
|
|
android:layout_marginRight="150dp"
|
|
android:divider="@null"
|
|
android:scrollbars="none"/>
|
|
|
|
<!-- About license -->
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:padding="20dp"
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:text="@string/about_license"
|
|
android:textSize="18sp"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:layout_width="200dp"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button
|
|
android:id="@+id/about_license"
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
android:layout_width="165dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/about_license_action"/>
|
|
</LinearLayout>
|
|
|
|
<!-- About license -->
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:padding="18sp"
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:text="@string/about_code"
|
|
android:textSize="16sp"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:layout_width="200dp"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button
|
|
android:id="@+id/about_code"
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
android:layout_width="165dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/about_code_action"/>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<!-- About The Kinrar's API -->
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:padding="20dp"
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:textSize="18sp"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:clickable="true"
|
|
android:layout_width="200dp"
|
|
android:text="@string/about_thekinrar"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="true" />
|
|
|
|
<Button
|
|
android:id="@+id/about_thekinrar"
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
android:layout_width="165dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/about_thekinrar_action"/>
|
|
</LinearLayout>
|
|
|
|
<!-- About Trunk's API -->
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:padding="20dp"
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:textSize="18sp"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:clickable="true"
|
|
android:layout_width="200dp"
|
|
android:text="@string/about_trunk"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="true" />
|
|
|
|
<Button
|
|
android:id="@+id/about_trunk"
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
android:layout_width="165dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/about_trunk_action"/>
|
|
</LinearLayout>
|
|
|
|
<!-- About translation -->
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:padding="18sp"
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:text="@string/about_yandex"
|
|
android:textSize="16sp"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:layout_width="200dp"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button
|
|
android:id="@+id/about_translation"
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
android:layout_width="165dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/about_yandex_action"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView> |