diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/audioplayer_fragment.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/layout/downloadlog_item.xml | 114 | ||||
-rw-r--r-- | app/src/main/res/layout/external_player_fragment.xml | 119 | ||||
-rw-r--r-- | app/src/main/res/layout/feed_item_list_fragment.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/feedinfo.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/feeditemlist_header.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/feeditemlist_item.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/layout/gpodnetauth_credentials.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/gpodnetauth_device.xml | 48 | ||||
-rw-r--r-- | app/src/main/res/layout/home_fragment.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/layout/nav_listitem.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/nextcloud_auth_dialog.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/onlinefeedview_activity.xml | 257 |
13 files changed, 281 insertions, 280 deletions
diff --git a/app/src/main/res/layout/audioplayer_fragment.xml b/app/src/main/res/layout/audioplayer_fragment.xml index 9b1650a76..a9964089c 100644 --- a/app/src/main/res/layout/audioplayer_fragment.xml +++ b/app/src/main/res/layout/audioplayer_fragment.xml @@ -11,7 +11,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="top" - android:background="?attr/background_elevated" android:elevation="8dp" tools:layout_height="@dimen/external_player_height" /> diff --git a/app/src/main/res/layout/downloadlog_item.xml b/app/src/main/res/layout/downloadlog_item.xml index f55e0f25e..9ca19b531 100644 --- a/app/src/main/res/layout/downloadlog_item.xml +++ b/app/src/main/res/layout/downloadlog_item.xml @@ -1,78 +1,80 @@ <?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:id="@+id/container" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="horizontal" - android:gravity="center_vertical" - android:baselineAligned="false" - android:descendantFocusability="blocksDescendants"> + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/container" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:gravity="center_vertical" + android:baselineAligned="false" + android:descendantFocusability="blocksDescendants"> <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginBottom="@dimen/listitem_threeline_verticalpadding" - android:layout_marginRight="@dimen/listitem_threeline_textrightpadding" - android:layout_marginEnd="@dimen/listitem_threeline_textrightpadding" - android:layout_marginTop="@dimen/listitem_threeline_verticalpadding" - android:layout_marginLeft="16dp" - android:layout_marginStart="16dp" - android:layout_weight="1" - android:orientation="vertical"> + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginBottom="@dimen/listitem_threeline_verticalpadding" + android:layout_marginRight="@dimen/listitem_threeline_textrightpadding" + android:layout_marginEnd="@dimen/listitem_threeline_textrightpadding" + android:layout_marginTop="@dimen/listitem_threeline_verticalpadding" + android:layout_marginLeft="16dp" + android:layout_marginStart="16dp" + android:layout_weight="1" + android:orientation="vertical"> <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="horizontal" - android:gravity="center_vertical"> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:gravity="center_vertical"> <com.joanzapata.iconify.widget.IconTextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginEnd="4dp" - android:padding="2dp" - android:id="@+id/txtvIcon" - android:textSize="18sp" - android:gravity="center"/> + android:id="@+id/txtvIcon" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginEnd="4dp" + android:padding="2dp" + android:textSize="18sp" + android:gravity="center" /> <TextView - android:id="@+id/txtvTitle" - style="@style/AntennaPod.TextView.ListItemPrimaryTitle" - android:layout_width="match_parent" - android:layout_height="wrap_content" - tools:text="@sample/episodes.json/data/title" - android:maxLines="1" - android:ellipsize="end" - tools:background="@android:color/holo_blue_light"/> + android:id="@+id/txtvTitle" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:maxLines="1" + android:ellipsize="end" + style="@style/AntennaPod.TextView.ListItemPrimaryTitle" + tools:text="@sample/episodes.json/data/title" + tools:background="@android:color/holo_blue_light" /> </LinearLayout> <TextView - android:id="@+id/status" - style="@style/AntennaPod.TextView.ListItemSecondaryTitle" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - tools:text="Media file - 01/01/1970"/> + android:id="@+id/status" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + style="@style/AntennaPod.TextView.ListItemSecondaryTitle" + tools:text="Media file - 01/01/1970" /> <TextView - android:id="@+id/txtvReason" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:textSize="14sp" - android:textColor="@color/download_failed_red" - tools:text="@string/design_time_downloaded_log_failure_reason"/> + android:id="@+id/txtvReason" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textSize="14sp" + android:textColor="?attr/icon_red" + tools:text="@string/design_time_downloaded_log_failure_reason" /> <TextView - android:id="@+id/txtvTapForDetails" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:textSize="14sp" - android:textColor="?android:attr/textColorSecondary" - android:text="@string/download_error_tap_for_details"/> + android:id="@+id/txtvTapForDetails" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textSize="14sp" + android:textColor="?android:attr/textColorSecondary" + android:text="@string/download_error_tap_for_details" /> </LinearLayout> - <include layout="@layout/secondary_action"/> + <include + layout="@layout/secondary_action" /> + </LinearLayout> diff --git a/app/src/main/res/layout/external_player_fragment.xml b/app/src/main/res/layout/external_player_fragment.xml index fa881e622..4969215d9 100644 --- a/app/src/main/res/layout/external_player_fragment.xml +++ b/app/src/main/res/layout/external_player_fragment.xml @@ -1,81 +1,80 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - xmlns:app="http://schemas.android.com/apk/res-auto" - android:id="@+id/fragmentLayout" - android:layout_width="match_parent" - android:layout_height="@dimen/external_player_height" - android:background="?attr/selectableItemBackground" - android:orientation="vertical"> + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/fragmentLayout" + android:layout_width="match_parent" + android:layout_height="@dimen/external_player_height" + android:background="?attr/selectableItemBackground" + android:orientation="vertical"> <LinearLayout - android:layout_width="match_parent" - android:layout_height="0dp" - android:gravity="center_vertical" - android:layout_weight="1"> + android:layout_width="match_parent" + android:layout_height="0dp" + android:gravity="center_vertical" + android:layout_weight="1"> <ImageView - android:id="@+id/imgvCover" - android:contentDescription="@string/media_player" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:adjustViewBounds="true" - android:cropToPadding="true" - android:maxWidth="96dp" - android:scaleType="fitCenter" - android:background="@color/non_square_icon_background" - tools:src="@tools:sample/avatars"/> - + android:id="@+id/imgvCover" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:contentDescription="@string/media_player" + android:adjustViewBounds="true" + android:cropToPadding="true" + android:maxWidth="96dp" + android:scaleType="fitCenter" + android:background="@color/non_square_icon_background" + tools:src="@tools:sample/avatars" /> <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_weight="1" - android:orientation="vertical" - android:layout_marginLeft="16dp" - android:layout_marginStart="16dp"> + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:orientation="vertical" + android:layout_marginLeft="16dp" + android:layout_marginStart="16dp"> <TextView - android:id="@+id/txtvTitle" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - style="@style/Base.TextAppearance.AppCompat.Body1" - android:ellipsize="end" - android:maxLines="1" - tools:text="Episode title that is too long and will cause the text to wrap"/> + android:id="@+id/txtvTitle" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:ellipsize="end" + android:maxLines="1" + style="@style/Base.TextAppearance.AppCompat.Body1" + tools:text="Episode title that is too long and will cause the text to wrap" /> <TextView - android:id="@+id/txtvAuthor" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - style="@style/TextAppearance.AppCompat.Body1" - android:textColor="?android:attr/textColorSecondary" - android:ellipsize="end" - android:maxLines="1" - tools:text="Episode author that is too long and will cause the text to wrap"/> - </LinearLayout> + android:id="@+id/txtvAuthor" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="?android:attr/textColorSecondary" + android:ellipsize="end" + android:maxLines="1" + style="@style/TextAppearance.AppCompat.Body1" + tools:text="Episode author that is too long and will cause the text to wrap" /> + </LinearLayout> <de.danoeh.antennapod.view.PlayButton - android:id="@+id/butPlay" - android:layout_width="52dp" - android:layout_height="match_parent" - android:contentDescription="@string/pause_label" - android:background="?attr/selectableItemBackground" - app:srcCompat="@drawable/ic_play_48dp" - android:scaleType="fitCenter" - android:padding="8dp" - tools:src="@drawable/ic_play_48dp"/> + android:id="@+id/butPlay" + android:layout_width="52dp" + android:layout_height="match_parent" + android:contentDescription="@string/pause_label" + android:background="?attr/selectableItemBackground" + android:scaleType="fitCenter" + android:padding="8dp" + app:srcCompat="@drawable/ic_play_48dp" + tools:src="@drawable/ic_play_48dp" /> </LinearLayout> <ProgressBar - android:id="@+id/episodeProgress" - android:layout_width="match_parent" - android:layout_height="4dp" - style="?attr/progressBarTheme" - android:indeterminate="false" - tools:progress="100"/> + android:id="@+id/episodeProgress" + android:layout_width="match_parent" + android:layout_height="4dp" + android:indeterminate="false" + style="?android:attr/progressBarStyleHorizontal" + tools:progress="100" /> </LinearLayout> diff --git a/app/src/main/res/layout/feed_item_list_fragment.xml b/app/src/main/res/layout/feed_item_list_fragment.xml index 043929e32..b96789ba2 100644 --- a/app/src/main/res/layout/feed_item_list_fragment.xml +++ b/app/src/main/res/layout/feed_item_list_fragment.xml @@ -23,7 +23,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/image_readability_tint" - style="@style/BigBlurryBackground" + android:scaleType="centerCrop" app:layout_collapseMode="parallax" app:layout_collapseParallaxMultiplier="0.6" /> diff --git a/app/src/main/res/layout/feedinfo.xml b/app/src/main/res/layout/feedinfo.xml index af4aa2570..9771bd7fc 100644 --- a/app/src/main/res/layout/feedinfo.xml +++ b/app/src/main/res/layout/feedinfo.xml @@ -26,7 +26,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/image_readability_tint" - style="@style/BigBlurryBackground" + android:scaleType="centerCrop" app:layout_collapseMode="parallax" app:layout_collapseParallaxMultiplier="0.6" /> diff --git a/app/src/main/res/layout/feeditemlist_header.xml b/app/src/main/res/layout/feeditemlist_header.xml index 6bd31ed9d..ba8b4fcd8 100644 --- a/app/src/main/res/layout/feeditemlist_header.xml +++ b/app/src/main/res/layout/feeditemlist_header.xml @@ -145,7 +145,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="2dp" - android:background="@color/download_failed_red" + android:background="?attr/icon_red" android:gravity="center" android:textColor="@color/white" android:visibility="gone" diff --git a/app/src/main/res/layout/feeditemlist_item.xml b/app/src/main/res/layout/feeditemlist_item.xml index dfedbdddf..a5246265a 100644 --- a/app/src/main/res/layout/feeditemlist_item.xml +++ b/app/src/main/res/layout/feeditemlist_item.xml @@ -109,8 +109,7 @@ android:layout_width="14sp" android:layout_height="14sp" android:contentDescription="@string/is_inbox_label" - app:srcCompat="@drawable/ic_inbox" - app:tint="?attr/colorAccent" /> + app:srcCompat="@drawable/ic_inbox" /> <ImageView android:id="@+id/ivIsVideo" @@ -214,7 +213,7 @@ android:layout_weight="1" android:max="100" android:layout_margin="4dp" - style="?attr/progressBarTheme" + style="?android:attr/progressBarStyleHorizontal" tools:background="@android:color/holo_blue_light" /> <TextView diff --git a/app/src/main/res/layout/gpodnetauth_credentials.xml b/app/src/main/res/layout/gpodnetauth_credentials.xml index 91224744b..e318f11d9 100644 --- a/app/src/main/res/layout/gpodnetauth_credentials.xml +++ b/app/src/main/res/layout/gpodnetauth_credentials.xml @@ -58,7 +58,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" - android:textColor="@color/download_failed_red" + android:textColor="?attr/icon_red" android:textSize="@dimen/text_size_small" android:maxLines="2" android:ellipsize="end" 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> diff --git a/app/src/main/res/layout/home_fragment.xml b/app/src/main/res/layout/home_fragment.xml index fca9406a8..3ef602334 100644 --- a/app/src/main/res/layout/home_fragment.xml +++ b/app/src/main/res/layout/home_fragment.xml @@ -34,7 +34,7 @@ android:layout_height="80dp" android:layout_marginBottom="8dp" android:layout_gravity="start" - android:src="@drawable/ic_curved_arrow" /> + app:srcCompat="@drawable/ic_curved_arrow" /> <ImageView android:id="@+id/icon" @@ -42,7 +42,7 @@ android:layout_height="64dp" android:layout_gravity="center_horizontal" android:layout_marginBottom="16dp" - android:src="@mipmap/ic_launcher" /> + app:srcCompat="@mipmap/ic_launcher" /> <TextView android:layout_width="match_parent" diff --git a/app/src/main/res/layout/nav_listitem.xml b/app/src/main/res/layout/nav_listitem.xml index 0aca5eb7d..e0a7f9ed0 100644 --- a/app/src/main/res/layout/nav_listitem.xml +++ b/app/src/main/res/layout/nav_listitem.xml @@ -58,8 +58,7 @@ android:layout_toLeftOf="@id/txtvCount" android:visibility="gone" app:srcCompat="@drawable/ic_error" - app:tint="@color/download_failed_red" - tools:background="@android:color/holo_green_dark" + app:tint="?attr/icon_red" tools:text="!" /> <TextView diff --git a/app/src/main/res/layout/nextcloud_auth_dialog.xml b/app/src/main/res/layout/nextcloud_auth_dialog.xml index 345eec88b..08cf05ef9 100644 --- a/app/src/main/res/layout/nextcloud_auth_dialog.xml +++ b/app/src/main/res/layout/nextcloud_auth_dialog.xml @@ -51,7 +51,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" - android:textColor="@color/download_failed_red" + android:textColor="?attr/icon_red" android:layout_marginBottom="16dp" /> <Button diff --git a/app/src/main/res/layout/onlinefeedview_activity.xml b/app/src/main/res/layout/onlinefeedview_activity.xml index f1297baf4..9e89e8a0f 100644 --- a/app/src/main/res/layout/onlinefeedview_activity.xml +++ b/app/src/main/res/layout/onlinefeedview_activity.xml @@ -1,168 +1,171 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout - 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" + 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/transparentBackground" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <androidx.cardview.widget.CardView + android:id="@+id/card" android:layout_width="match_parent" android:layout_height="match_parent" - android:id="@+id/transparentBackground"> + android:layout_margin="32dp" + android:elevation="16dp" + app:cardCornerRadius="4dp"> - <androidx.cardview.widget.CardView + <FrameLayout android:layout_width="match_parent" android:layout_height="match_parent" - app:cardCornerRadius="4dp" - android:layout_margin="32dp" - android:elevation="16dp" - android:id="@+id/card"> - - <FrameLayout - android:orientation="vertical" - android:layout_width="match_parent" - android:layout_height="match_parent"> + android:orientation="vertical"> <ProgressBar - style="?android:attr/progressBarStyle" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:id="@+id/progressBar" - android:layout_gravity="center"/> + android:id="@+id/progressBar" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + style="?android:attr/progressBarStyle" /> <LinearLayout - android:id="@+id/feed_display_container" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical"> + android:id="@+id/feed_display_container" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> <RelativeLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="@color/feed_image_bg"> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@color/feed_image_bg"> <ImageView - android:id="@+id/backgroundImage" - style="@style/BigBlurryBackground" - android:layout_width="match_parent" - android:layout_height="@dimen/feeditemlist_header_height"/> + android:id="@+id/backgroundImage" + android:layout_width="match_parent" + android:layout_height="@dimen/feeditemlist_header_height" + android:scaleType="centerCrop" /> <ImageView - android:id="@+id/coverImage" - android:layout_width="@dimen/thumbnail_length_onlinefeedview" - android:layout_height="@dimen/thumbnail_length_onlinefeedview" - android:layout_alignParentLeft="true" - android:layout_alignParentStart="true" - android:layout_alignParentTop="true" - android:layout_centerVertical="true" - android:layout_marginBottom="16dp" - android:layout_marginLeft="16dp" - android:layout_marginStart="16dp" - android:layout_marginTop="16dp" - android:importantForAccessibility="no" - tools:src="@tools:sample/avatars"/> + android:id="@+id/coverImage" + android:layout_width="@dimen/thumbnail_length_onlinefeedview" + android:layout_height="@dimen/thumbnail_length_onlinefeedview" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:layout_alignParentTop="true" + android:layout_centerVertical="true" + android:layout_marginBottom="16dp" + android:layout_marginLeft="16dp" + android:layout_marginStart="16dp" + android:layout_marginTop="16dp" + android:importantForAccessibility="no" + tools:src="@tools:sample/avatars" /> <TextView - android:id="@+id/titleLabel" - style="@style/AntennaPod.TextView.Heading" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_alignParentTop="true" - android:layout_marginBottom="16dp" - android:layout_marginLeft="16dp" - android:layout_marginStart="16dp" - android:layout_marginTop="16dp" - android:layout_marginRight="16dp" - android:layout_marginEnd="16dp" - android:layout_alignParentEnd="true" - android:layout_alignParentRight="true" - android:layout_toRightOf="@id/coverImage" - android:layout_toEndOf="@id/coverImage" - android:ellipsize="end" - android:maxLines="2" - android:shadowColor="@color/black" - android:shadowRadius="3" - android:textColor="@color/white" - tools:text="Podcast title"/> + android:id="@+id/titleLabel" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_marginBottom="16dp" + android:layout_marginLeft="16dp" + android:layout_marginStart="16dp" + android:layout_marginTop="16dp" + android:layout_marginRight="16dp" + android:layout_marginEnd="16dp" + android:layout_alignParentEnd="true" + android:layout_alignParentRight="true" + android:layout_toRightOf="@id/coverImage" + android:layout_toEndOf="@id/coverImage" + android:ellipsize="end" + android:maxLines="2" + android:shadowColor="@color/black" + android:shadowRadius="3" + android:textColor="@color/white" + style="@style/AntennaPod.TextView.Heading" + tools:text="Podcast title" /> <TextView - android:id="@+id/author_label" - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_below="@id/titleLabel" - android:layout_marginBottom="16dp" - android:layout_marginLeft="16dp" - android:layout_marginStart="16dp" - android:layout_marginRight="16dp" - android:layout_marginEnd="16dp" - android:layout_alignParentEnd="true" - android:layout_alignParentRight="true" - android:layout_toRightOf="@id/coverImage" - android:layout_toEndOf="@id/coverImage" - android:ellipsize="end" - android:lines="1" - android:shadowColor="@color/black" - android:shadowRadius="3" - android:textColor="@color/white" - android:textSize="@dimen/text_size_small" - tools:text="Podcast author"/> + android:id="@+id/author_label" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_below="@id/titleLabel" + android:layout_marginBottom="16dp" + android:layout_marginLeft="16dp" + android:layout_marginStart="16dp" + android:layout_marginRight="16dp" + android:layout_marginEnd="16dp" + android:layout_alignParentEnd="true" + android:layout_alignParentRight="true" + android:layout_toRightOf="@id/coverImage" + android:layout_toEndOf="@id/coverImage" + android:ellipsize="end" + android:lines="1" + android:shadowColor="@color/black" + android:shadowRadius="3" + android:textColor="@color/white" + android:textSize="@dimen/text_size_small" + tools:text="Podcast author" /> + </RelativeLayout> <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginStart="8dp" - android:layout_marginEnd="8dp" - android:layout_marginBottom="16dp" - android:orientation="vertical"> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginStart="8dp" + android:layout_marginEnd="8dp" + android:layout_marginBottom="16dp" + android:orientation="vertical"> <Spinner - android:id="@+id/alternate_urls_spinner" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="8dp" - android:dropDownWidth="match_parent" - android:padding="8dp" - android:textColor="?android:attr/textColorPrimary" - android:textSize="@dimen/text_size_micro" /> + android:id="@+id/alternate_urls_spinner" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:dropDownWidth="match_parent" + android:padding="8dp" + android:textColor="?android:attr/textColorPrimary" + android:textSize="@dimen/text_size_micro" /> <Button - android:id="@+id/subscribeButton" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginStart="8dp" - android:layout_marginTop="16dp" - android:layout_marginEnd="8dp" - android:focusable="false" - android:text="@string/subscribe_label" /> + android:id="@+id/subscribeButton" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginStart="8dp" + android:layout_marginTop="16dp" + android:layout_marginEnd="8dp" + android:focusable="false" + android:text="@string/subscribe_label" /> <CheckBox - android:id="@+id/autoDownloadCheckBox" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="left" - android:focusable="false" - android:checked="true" - android:text="@string/auto_download_label" - android:visibility="gone" - tools:visibility="visible" /> + android:id="@+id/autoDownloadCheckBox" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_gravity="left" + android:focusable="false" + android:checked="true" + android:text="@string/auto_download_label" + android:visibility="gone" + tools:visibility="visible" /> <Button - android:id="@+id/stopPreviewButton" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_margin="8dp" - android:focusable="false" - android:text="@string/stop_preview" - android:visibility="gone" - tools:visibility="visible" /> + android:id="@+id/stopPreviewButton" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_margin="8dp" + android:focusable="false" + android:text="@string/stop_preview" + android:visibility="gone" + tools:visibility="visible" /> </LinearLayout> <ListView - android:id="@+id/listView" - android:layout_width="match_parent" - android:layout_height="match_parent"/> + android:id="@+id/listView" + android:layout_width="match_parent" + android:layout_height="match_parent" /> </LinearLayout> </FrameLayout> + </androidx.cardview.widget.CardView> -</LinearLayout>
\ No newline at end of file + +</LinearLayout> |