mirror of
https://invent.kde.org/network/kdeconnect-android.git
synced 2025-10-06 00:23:01 +02:00
64 lines
2.3 KiB
XML
64 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
SPDX-FileCopyrightText: 2018 Nicolas Fella <nicolas.fella@gmx.de
|
|
|
|
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
-->
|
|
|
|
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/sink_card"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:cardCornerRadius="8dp"
|
|
app:cardElevation="0dp"
|
|
app:contentPadding="8dp"
|
|
app:strokeWidth="1dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<RadioButton
|
|
android:id="@+id/systemvolume_label"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="start"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:paddingStart="14dp"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
tools:text="Device name" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/systemvolume_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="8dip"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageButton
|
|
android:id="@+id/systemvolume_mute"
|
|
android:layout_width="30dp"
|
|
android:layout_height="30dp"
|
|
android:background="@android:color/transparent"
|
|
android:contentDescription="@string/mute"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/ic_volume"/>
|
|
|
|
<SeekBar
|
|
android:id="@+id/systemvolume_seek"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:max="100" />
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|