Warning, /network/kdeconnect-android/res/layout/view_pair_request.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 Philip Cohn-Cort <cliabhach@gmail.com>
0005 
0006 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0007 -->
0008 
0009 <LinearLayout
0010     xmlns:android="http://schemas.android.com/apk/res/android"
0011     xmlns:app="http://schemas.android.com/apk/res-auto"
0012     xmlns:tools="http://schemas.android.com/tools"
0013     android:id="@+id/pairing_buttons"
0014     android:layout_width="match_parent"
0015     android:layout_height="wrap_content"
0016     android:layout_gravity="top"
0017     android:orientation="vertical"
0018     android:padding="@dimen/activity_vertical_margin"
0019     android:visibility="gone"
0020     tools:visibility="visible">
0021 
0022     <ProgressBar
0023         android:id="@+id/pair_progress"
0024         android:layout_width="fill_parent"
0025         android:layout_height="wrap_content"
0026         android:visibility="gone" />
0027 
0028     <TextView
0029         android:id="@+id/pair_message"
0030         android:layout_width="wrap_content"
0031         android:layout_height="wrap_content"
0032         android:layout_marginBottom="8dip"
0033         android:text="@string/device_not_paired"
0034         android:textAppearance="?android:attr/textAppearanceMedium" />
0035 
0036     <TextView
0037         android:id="@+id/pair_verification"
0038         android:layout_width="wrap_content"
0039         android:layout_height="wrap_content"
0040         android:drawablePadding="5dp"
0041         android:layout_marginBottom="8dip"
0042         android:visibility="gone"
0043         android:textAppearance="?android:attr/textAppearanceMedium"
0044         app:drawableStartCompat="@drawable/ic_key" />
0045 
0046     <com.google.android.material.button.MaterialButton
0047         android:id="@+id/pair_button"
0048         android:layout_width="match_parent"
0049         android:layout_height="wrap_content"
0050         android:text="@string/request_pairing" />
0051 
0052 
0053     <LinearLayout
0054         android:id="@+id/pair_request_buttons"
0055         android:layout_width="match_parent"
0056         android:layout_height="wrap_content"
0057         android:layout_gravity="center"
0058         android:visibility="gone"
0059         android:paddingVertical="4dp"
0060         tools:visibility="visible">
0061 
0062         <com.google.android.material.button.MaterialButton
0063             android:id="@+id/accept_button"
0064             android:layout_width="fill_parent"
0065             android:layout_height="wrap_content"
0066             android:layout_weight="1"
0067             android:text="@string/pairing_accept" />
0068 
0069         <android.widget.Space
0070                 android:layout_width="8dp"
0071                 android:layout_height="8dp" />
0072 
0073         <com.google.android.material.button.MaterialButton
0074             android:id="@+id/reject_button"
0075             android:layout_width="fill_parent"
0076             android:layout_height="wrap_content"
0077             android:layout_weight="1"
0078             android:text="@string/pairing_reject" />
0079 
0080     </LinearLayout>
0081 </LinearLayout>