mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-22 01:51:47 +00:00
We had a mix of specific colors and theme-based Material You colors. This aims to remove any hardcoded color so the app only uses the colors from the current theme.
47 lines
1.6 KiB
XML
47 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
SPDX-FileCopyrightText: 2021 Philip Cohn-Cort <cliabhach@gmail.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
-->
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/error_message_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="16dp"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/error_message_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:importantForAccessibility="no"
|
|
android:paddingEnd="8dip"
|
|
android:paddingStart="0dip"
|
|
android:src="@drawable/ic_error_outline_48dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/not_reachable_message"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/unreachable_description"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
tools:visibility="visible" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|