mirror of
https://invent.kde.org/network/kdeconnect-android.git
synced 2025-10-06 00:23:01 +02:00
Apps are edge-to-edge by default on devices running Android 15 https://developer.android.com/develop/ui/views/layout/edge-to-edge Fix: https://bugs.kde.org/show_bug.cgi?id=495999
139 lines
6.1 KiB
XML
139 lines
6.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
SPDX-FileCopyrightText: 2021 Maxim Leshchenko <cnmaks90@gmail.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
-->
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
tools:context="org.kde.kdeconnect.UserInterface.About.AboutKDEActivity"
|
|
android:fitsSystemWindows="true">
|
|
|
|
<include layout="@layout/toolbar" android:id="@+id/toolbar_layout" />
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fillViewport="true"
|
|
android:clipToPadding="false"
|
|
android:id="@+id/scroll_view"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/about_layout"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:drawablePadding="8dp"
|
|
android:gravity="center_vertical"
|
|
android:layout_margin="24dp"
|
|
android:text="@string/kde_be_free"
|
|
android:textAppearance="?attr/textAppearanceHeadline6"
|
|
app:drawableLeftCompat="@drawable/ic_kde_48dp"
|
|
app:drawableStartCompat="@drawable/ic_kde_48dp"/>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
xmlns:card_view="https://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:layout_marginBottom="12dp"
|
|
card_view:cardCornerRadius="12dp"
|
|
card_view:cardUseCompatPadding="true">
|
|
|
|
<TextView
|
|
android:id="@+id/about_text_view"
|
|
android:layout_height="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:padding="12dp"
|
|
android:textIsSelectable="true"
|
|
tools:text="@string/about_kde_about" />
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
xmlns:card_view="https://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:layout_marginBottom="12dp"
|
|
card_view:cardCornerRadius="12dp"
|
|
card_view:cardUseCompatPadding="true">
|
|
|
|
<TextView
|
|
android:id="@+id/report_bugs_or_wishes_text_view"
|
|
android:layout_height="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:padding="12dp"
|
|
android:textIsSelectable="true"
|
|
tools:text="@string/about_kde_report_bugs_or_wishes" />
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
xmlns:card_view="https://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:layout_marginBottom="12dp"
|
|
card_view:cardCornerRadius="12dp"
|
|
card_view:cardUseCompatPadding="true">
|
|
|
|
<TextView
|
|
android:id="@+id/join_kde_text_view"
|
|
android:layout_height="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:padding="12dp"
|
|
android:textIsSelectable="true"
|
|
tools:text="@string/about_kde_join_kde" />
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
xmlns:card_view="https://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:layout_marginBottom="12dp"
|
|
card_view:cardCornerRadius="12dp"
|
|
card_view:cardUseCompatPadding="true">
|
|
|
|
<TextView
|
|
android:id="@+id/support_kde_text_view"
|
|
android:layout_height="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:padding="12dp"
|
|
android:textIsSelectable="true"
|
|
tools:text="@string/about_kde_support_kde" />
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="256dp"
|
|
android:layout_gravity="center"
|
|
android:contentDescription="@string/konqi"
|
|
android:paddingBottom="12dp"
|
|
android:src="@drawable/konqi" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|