Warning, /network/kdeconnect-android/res/layout/widget_remotecommandplugin.xml is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="utf-8"?> 0002 0003 <!-- 0004 SPDX-FileCopyrightText: 2018 Nicolas Fella <nicolas.fella@gmx.de> 0005 0006 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0007 --> 0008 0009 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 0010 xmlns:tools="http://schemas.android.com/tools" 0011 android:orientation="vertical" 0012 android:background="@color/activity_background" 0013 android:theme="@style/KdeConnectTheme" 0014 android:layout_height="match_parent" 0015 android:layout_width="match_parent" 0016 tools:ignore="RtlSymmetry"> 0017 0018 <LinearLayout 0019 android:id="@+id/widget_title_wrapper" 0020 android:background="@color/on_secondary" 0021 android:gravity="center_vertical|start" 0022 android:layout_width="match_parent" 0023 android:layout_height="wrap_content"> 0024 0025 <ImageView 0026 android:id="@+id/widget_title_icon" 0027 android:padding="8dip" 0028 android:paddingEnd="6dip" 0029 android:layout_width="wrap_content" 0030 android:layout_height="wrap_content" 0031 android:tint="@color/text_color" 0032 android:src="@drawable/ic_kde_24dp" 0033 android:contentDescription="@string/device_icon_description" 0034 tools:ignore="UseAppTint"/> <!-- can't use app:tint in RemoteView --> 0035 0036 <TextView 0037 android:id="@+id/widget_title_text" 0038 android:layout_width="wrap_content" 0039 android:layout_height="wrap_content" 0040 android:ellipsize="marquee" 0041 android:textColor="@color/text_color" 0042 android:text="@string/kde_connect" 0043 android:fadingEdge="horizontal" 0044 android:singleLine="true" 0045 android:textAppearance="?android:attr/textAppearanceMedium" /> 0046 </LinearLayout> 0047 0048 <ListView 0049 android:id="@+id/widget_command_list" 0050 android:layout_width="match_parent" 0051 android:layout_height="match_parent" 0052 android:addStatesFromChildren="true" 0053 android:visibility="gone" 0054 android:orientation="vertical" /> 0055 0056 <TextView 0057 android:id="@+id/widget_error_text" 0058 android:layout_width="match_parent" 0059 android:layout_height="match_parent" 0060 android:drawablePadding="8dip" 0061 android:gravity="center_vertical" 0062 android:paddingStart="8dip" 0063 android:text="@string/runcommand_notreachable" 0064 android:textAppearance="?android:attr/textAppearanceMedium" 0065 android:drawableStart="@drawable/ic_error_outline_48dp" 0066 tools:ignore="UseCompatTextViewDrawableXml" /> <!-- can't use app:drawableStart in RemoteView --> 0067 </LinearLayout>