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

0001 <?xml version="1.0" encoding="utf-8"?>
0002 
0003 <!--
0004 SPDX-FileCopyrightText: 2023 Dmitry Yudin <dgyudin@gmail.com>
0005 
0006 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0007 -->
0008 
0009 <com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
0010     xmlns:app="http://schemas.android.com/apk/res-auto"
0011     xmlns:tools="http://schemas.android.com/tools"
0012     android:layout_width="match_parent"
0013     android:layout_height="wrap_content"
0014     android:layout_margin="4dp"
0015     style="@style/KdeConnectCardStyle.Filled"
0016     app:contentPadding="@dimen/view_default_padding"
0017     tools:layout_width="240dp">
0018 
0019     <LinearLayout
0020             android:layout_width="match_parent"
0021             android:layout_height="wrap_content"
0022             android:baselineAligned="false"
0023             android:gravity="center_vertical"
0024             android:layout_marginTop="8dp"
0025             android:minHeight="?android:attr/listPreferredItemHeight"
0026             android:orientation="vertical">
0027 
0028         <ImageView
0029                 android:id="@+id/list_item_entry_icon"
0030                 android:layout_width="wrap_content"
0031                 android:layout_height="match_parent"
0032                 android:layout_gravity="center_vertical"
0033                 android:contentDescription="@string/device_icon_description"
0034                 android:src="@drawable/ic_device_laptop_32dp"
0035                 android:layout_marginBottom="12dp"
0036                 app:tint="?attr/colorOnSurface" />
0037 
0038         <TextView
0039                 android:id="@+id/list_item_entry_title"
0040                 android:layout_width="wrap_content"
0041                 android:layout_height="wrap_content"
0042                 android:layout_gravity="center_vertical"
0043                 android:ellipsize="end"
0044                 android:lines="2"
0045                 android:text=""
0046                 android:textAppearance="?android:attr/textAppearanceMedium"
0047                 android:textColor="?attr/colorOnSurface"
0048                 tools:maxLength="30"
0049                 tools:text="@tools:sample/lorem/random" />
0050     </LinearLayout>
0051 </com.google.android.material.card.MaterialCardView>