summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/gpodnetauth_device.xml
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2022-12-15 23:18:14 +0100
committerByteHamster <info@bytehamster.com>2022-12-17 10:51:07 +0100
commit1d251492b08ca17852e4a8bb5b0a9638443da9b2 (patch)
treec34e5b60ceb3c94504f7d6ef26fb7dd097a4ae63 /app/src/main/res/layout/gpodnetauth_device.xml
parent690eb6af8de3f9b8bb55adfdd9f524abe9a7b022 (diff)
downloadAntennaPod-1d251492b08ca17852e4a8bb5b0a9638443da9b2.zip
Add support for Material You tinted theme
Diffstat (limited to 'app/src/main/res/layout/gpodnetauth_device.xml')
-rw-r--r--app/src/main/res/layout/gpodnetauth_device.xml48
1 files changed, 24 insertions, 24 deletions
diff --git a/app/src/main/res/layout/gpodnetauth_device.xml b/app/src/main/res/layout/gpodnetauth_device.xml
index 656ba0889..cb133f684 100644
--- a/app/src/main/res/layout/gpodnetauth_device.xml
+++ b/app/src/main/res/layout/gpodnetauth_device.xml
@@ -1,45 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
<com.google.android.material.textfield.TextInputEditText
- android:id="@+id/deviceName"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/gpodnetauth_device_name"
- android:lines="1"
- android:imeOptions="actionNext|flagNoFullscreen"/>
+ android:id="@+id/deviceName"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:hint="@string/gpodnetauth_device_name"
+ android:lines="1"
+ android:imeOptions="actionNext|flagNoFullscreen" />
</com.google.android.material.textfield.TextInputLayout>
<Button
- android:id="@+id/createDeviceButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="right|end"
- android:text="@string/gpodnetauth_create_device"/>
+ android:id="@+id/createDeviceButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right|end"
+ android:text="@string/gpodnetauth_create_device" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- style="@style/AntennaPod.TextView.Heading"
android:layout_marginTop="16dp"
- android:text="@string/gpodnetauth_existing_devices"/>
+ android:text="@string/gpodnetauth_existing_devices"
+ style="@style/AntennaPod.TextView.Heading" />
<TextView
android:id="@+id/deviceSelectError"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:textColor="@color/download_failed_red"
+ android:textColor="?attr/icon_red"
android:textSize="@dimen/text_size_small"
android:visibility="gone"
tools:text="Error message"
@@ -55,7 +55,7 @@
android:id="@+id/progbarCreateDevice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textColor="@color/download_failed_red"
+ android:textColor="?attr/icon_red"
android:visibility="gone" />
-</LinearLayout> \ No newline at end of file
+</LinearLayout>