Warning, /network/kdeconnect-android/res/layout/fragment_about.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="utf-8"?>
0002 
0003 <!--
0004 SPDX-FileCopyrightText: 2021 Maxim Leshchenko <cnmaks90@gmail.com>
0005 
0006 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0007 -->
0008 
0009 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
0010     xmlns:tools="http://schemas.android.com/tools"
0011     android:layout_width="match_parent"
0012     android:layout_height="match_parent"
0013     xmlns:app="http://schemas.android.com/apk/res-auto"
0014     android:fillViewport="true">
0015 
0016     <LinearLayout
0017         android:id="@+id/about_layout"
0018         android:orientation="vertical"
0019         android:layout_width="match_parent"
0020         android:layout_height="wrap_content">
0021 
0022         <com.google.android.material.card.MaterialCardView
0023             xmlns:card_view="https://schemas.android.com/apk/res-auto"
0024             android:id="@+id/general_info_card"
0025             android:background="?android:attr/selectableItemBackground"
0026             android:layout_width="match_parent"
0027             android:layout_height="wrap_content"
0028             android:layout_margin="12dp"
0029             android:clickable="false"
0030             android:focusable="false"
0031             card_view:cardUseCompatPadding="true">
0032 
0033             <LinearLayout
0034                 android:orientation="vertical"
0035                 android:layout_width="match_parent"
0036                 android:layout_height="wrap_content"
0037                 android:padding="12dp">
0038 
0039                 <LinearLayout
0040                     android:orientation="horizontal"
0041                     android:layout_height="wrap_content"
0042                     android:layout_width="match_parent">
0043 
0044                     <ImageView
0045                         android:id="@+id/app_icon"
0046                         android:layout_width="52dp"
0047                         android:layout_height="52dp"
0048                         android:layout_gravity="top"
0049                         android:paddingTop="@dimen/nav_header_vertical_spacing"
0050                         android:paddingBottom="4dp"
0051                         android:contentDescription="@string/kde_connect"
0052                         tools:src="@drawable/icon" />
0053 
0054                     <LinearLayout
0055                         android:orientation="vertical"
0056                         android:layout_gravity="center_vertical"
0057                         android:layout_height="wrap_content"
0058                         android:layout_width="match_parent">
0059 
0060                         <TextView
0061                             android:id="@+id/app_name"
0062                             android:layout_width="match_parent"
0063                             android:layout_height="wrap_content"
0064                             tools:text="Application Name"
0065                             android:textAppearance="?attr/textAppearanceHeadline6" />
0066 
0067                         <TextView
0068                             android:id="@+id/app_version"
0069                             android:layout_width="wrap_content"
0070                             android:layout_height="wrap_content"
0071                             tools:text="Version 1.xy.z" />
0072                     </LinearLayout>
0073                 </LinearLayout>
0074 
0075             </LinearLayout>
0076         </com.google.android.material.card.MaterialCardView>
0077 
0078         <org.kde.kdeconnect.UserInterface.About.AutoGridLayout
0079             android:id="@+id/info_buttons_layout"
0080             android:layout_width="wrap_content"
0081             android:layout_height="wrap_content"
0082             android:layout_gravity="center"
0083             android:columnCount="3"
0084             app:columnWidth="84dp"
0085             app:changeColumnCountIfTheyHaveOnlyOneElement="true">
0086 
0087             <FrameLayout
0088                 android:id="@+id/report_bug_button"
0089                 style="@style/AboutButton">
0090 
0091                 <TextView
0092                     android:text="@string/report_bug"
0093                     app:drawableTopCompat="@drawable/ic_baseline_bug_report_24"
0094                     style="@style/AboutButton.TextView" />
0095             </FrameLayout>
0096 
0097             <FrameLayout
0098                 android:id="@+id/donate_button"
0099                 style="@style/AboutButton">
0100 
0101                 <TextView
0102                     android:text="@string/donate"
0103                     app:drawableTopCompat="@drawable/ic_baseline_attach_money_24"
0104                     style="@style/AboutButton.TextView" />
0105             </FrameLayout>
0106 
0107             <FrameLayout
0108                 android:id="@+id/source_code_button"
0109                 style="@style/AboutButton">
0110 
0111                 <TextView
0112                     android:text="@string/source_code"
0113                     app:drawableTopCompat="@drawable/ic_baseline_code_24"
0114                     style="@style/AboutButton.TextView" />
0115             </FrameLayout>
0116 
0117             <FrameLayout
0118                 android:id="@+id/licenses_button"
0119                 style="@style/AboutButton">
0120 
0121                 <TextView
0122                     android:text="@string/licenses"
0123                     app:drawableTopCompat="@drawable/ic_baseline_gavel_24"
0124                     style="@style/AboutButton.TextView" />
0125             </FrameLayout>
0126 
0127             <FrameLayout
0128                 android:id="@+id/about_kde_button"
0129                 style="@style/AboutButton">
0130 
0131                 <TextView
0132                     android:text="@string/about_kde"
0133                     app:drawableTopCompat="@drawable/ic_kde_24dp"
0134                     style="@style/AboutButton.TextView" />
0135             </FrameLayout>
0136 
0137             <FrameLayout
0138                 android:id="@+id/website_button"
0139                 style="@style/AboutButton">
0140 
0141                 <TextView
0142                     android:text="@string/website"
0143                     app:drawableTopCompat="@drawable/ic_baseline_web_24"
0144                     style="@style/AboutButton.TextView" />
0145             </FrameLayout>
0146         </org.kde.kdeconnect.UserInterface.About.AutoGridLayout>
0147 
0148         <com.google.android.material.card.MaterialCardView
0149             xmlns:card_view="https://schemas.android.com/apk/res-auto"
0150             android:layout_width="match_parent"
0151             android:layout_height="wrap_content"
0152             android:layout_margin="12dp"
0153             style="@style/Widget.Material3.CardView.Elevated"
0154             card_view:cardUseCompatPadding="true">
0155 
0156             <LinearLayout
0157                 android:orientation="vertical"
0158                 android:layout_gravity="center_vertical"
0159                 android:layout_height="wrap_content"
0160                 android:layout_width="match_parent"
0161                 android:padding="12dp">
0162 
0163                 <TextView
0164                     android:layout_width="match_parent"
0165                     android:layout_height="wrap_content"
0166                     android:text="@string/authors"
0167                     android:textAppearance="?attr/textAppearanceHeadline6" />
0168 
0169                 <org.kde.kdeconnect.UserInterface.About.AdapterLinearLayout
0170                     android:id="@+id/authors_list"
0171                     android:layout_width="match_parent"
0172                     android:layout_height="wrap_content"
0173                     android:padding="0dp" />
0174 
0175                 <TextView
0176                     android:id="@+id/authors_footer_text"
0177                     android:layout_height="wrap_content"
0178                     android:layout_width="wrap_content"
0179                     android:textSize="14sp"
0180                     android:layout_marginTop="8dp"
0181                     android:paddingStart="4dp"
0182                     tools:text="Everyone else who has contributed to KDE Connect over the years"
0183                     tools:ignore="RtlSymmetry" />
0184             </LinearLayout>
0185         </com.google.android.material.card.MaterialCardView>
0186     </LinearLayout>
0187 </ScrollView>