164 lines
7.5 KiB
XML
164 lines
7.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
Copyright 2021 Thomas Schneider
|
|
|
|
This file is a part of Fedilab
|
|
|
|
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.
|
|
|
|
Fedilab 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 Fedilab; if not,
|
|
see <http://www.gnu.org/licenses>.
|
|
-->
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?android:windowBackground"
|
|
tools:context=".peertube.activities.LoginActivity">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="12dp">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:gravity="center_horizontal"
|
|
android:text="@string/invite_join_the_fediverse"
|
|
android:textAppearance="@style/TextAppearance.Material3.HeadlineMedium" />
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="12dp"
|
|
app:cardElevation="2dp">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="12dp">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/logo_mastodon"
|
|
android:layout_width="24sp"
|
|
android:layout_height="24sp"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="fitCenter"
|
|
android:src="@drawable/logo_mastodon" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_weight="1"
|
|
android:text="Mastodon"
|
|
android:textAppearance="@style/TextAppearance.Material3.HeadlineSmall"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/about_mastodon"
|
|
android:textAppearance="@style/TextAppearance.Material3.BodyMedium" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="- joinmastodon.org"
|
|
android:textAppearance="@style/TextAppearance.Material3.BodyMedium"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/join_mastodon"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/join_mastodon" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="12dp"
|
|
app:cardElevation="2dp">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="12dp">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/logo_peertube"
|
|
android:layout_width="24sp"
|
|
android:layout_height="24sp"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="fitCenter"
|
|
android:src="@drawable/peertube_icon" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_weight="1"
|
|
android:text="Peertube"
|
|
android:textAppearance="@style/TextAppearance.Material3.HeadlineSmall"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/about_peertube"
|
|
android:textAppearance="@style/TextAppearance.Material3.BodyMedium" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="- joinpeertube.org"
|
|
android:textAppearance="@style/TextAppearance.Material3.BodyMedium"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/join_peertube"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/join_peertube" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
</ScrollView> |