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

193 lines
7.0 KiB
XML
Raw Normal View History

2017-06-20 18:48:20 +02:00
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 Thomas Schneider
2017-07-10 10:33:24 +02:00
This file is a part of Mastalab
2017-06-20 18:48:20 +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.
2017-07-10 10:33:24 +02:00
Mastalab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
2017-06-20 18:48:20 +02:00
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
2017-08-04 11:11:27 +02:00
You should have received a copy of the GNU General Public License along with Mastalab; if not,
2017-06-20 18:48:20 +02:00
see <http://www.gnu.org/licenses>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
2017-06-20 18:48:20 +02:00
>
<!-- 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 -->
2017-09-03 10:36:27 +02:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_marginTop="10dp"
2017-09-03 10:36:27 +02:00
android:clickable="true"
android:gravity="center_vertical"
android:padding="5dp"
2017-09-03 10:36:27 +02:00
android:text="@string/about_developer"
android:textColor="@color/mastodonC4"
2017-09-03 10:36:27 +02:00
android:textSize="16sp"/>
2017-09-03 10:36:27 +02:00
<fr.gouv.etalab.mastodon.helper.ExpandableHeightListView
android:id="@+id/lv_developers"
2017-06-20 18:48:20 +02:00
android:layout_width="match_parent"
2017-09-03 10:36:27 +02:00
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"/>
2017-09-03 10:36:27 +02:00
<TextView
android:id="@+id/about_thanks_dev"
android:layout_width="wrap_content"
2017-09-03 10:36:27 +02:00
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_marginTop="10dp"
2017-09-03 10:36:27 +02:00
android:gravity="center_vertical"
android:padding="5dp"
android:text="@string/thanks_text_dev"
android:textColor="@color/mastodonC4"
android:textSize="16sp"/>
2017-09-03 10:36:27 +02:00
<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"/>
2017-06-20 18:48:20 +02:00
<!-- 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" />
2017-06-20 18:48:20 +02:00
<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"/>
2017-06-20 18:48:20 +02:00
</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" />
2017-06-20 18:48:20 +02:00
<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"/>
2017-06-20 18:48:20 +02:00
</LinearLayout>
2017-07-10 14:13:29 +02:00
<!-- 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" />
<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>
2017-07-10 14:13:29 +02:00
<!-- 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" />
2017-07-10 14:13:29 +02:00
<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"/>
2017-07-10 14:13:29 +02:00
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:padding="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:text="@string/thanks_text"
android:layout_marginTop="20dp"
android:gravity="center_horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
2017-06-20 18:48:20 +02:00
</LinearLayout>