diff --git a/app/src/main/java/org/schabi/newpipe/fragments/detail/DescriptionFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/detail/DescriptionFragment.java index 92a571f37..9b1bf121b 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/detail/DescriptionFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/detail/DescriptionFragment.java @@ -151,8 +151,6 @@ public class DescriptionFragment extends BaseFragment { addMetadataItem(inflater, layout, false, R.string.metadata_category, streamInfo.getCategory()); - addTagsMetadataItem(inflater, layout); - addMetadataItem(inflater, layout, false, R.string.metadata_licence, streamInfo.getLicence()); @@ -174,6 +172,8 @@ public class DescriptionFragment extends BaseFragment { R.string.metadata_host, streamInfo.getHost()); addMetadataItem(inflater, layout, true, R.string.metadata_thumbnail_url, streamInfo.getThumbnailUrl()); + + addTagsMetadataItem(inflater, layout); } private void addMetadataItem(final LayoutInflater inflater, diff --git a/app/src/main/res/layout/chip.xml b/app/src/main/res/layout/chip.xml index f7a55fdf3..41e5223a9 100644 --- a/app/src/main/res/layout/chip.xml +++ b/app/src/main/res/layout/chip.xml @@ -2,8 +2,10 @@ \ No newline at end of file diff --git a/app/src/main/res/layout/item_metadata.xml b/app/src/main/res/layout/item_metadata.xml index 43dce5cfb..31dedd880 100644 --- a/app/src/main/res/layout/item_metadata.xml +++ b/app/src/main/res/layout/item_metadata.xml @@ -4,26 +4,17 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingTop="6dp" - android:paddingBottom="6dp"> - - + android:paddingVertical="6dp"> @@ -35,7 +26,7 @@ android:layout_marginStart="16dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="@+id/guideline" + app:layout_constraintStart_toEndOf="@+id/metadata_type_view" app:layout_constraintTop_toTopOf="parent" tools:text="Description Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed a ultricies ex. Integer sit amet sodales risus. Duis non mi et urna pretium bibendum." /> diff --git a/app/src/main/res/layout/item_metadata_tags.xml b/app/src/main/res/layout/item_metadata_tags.xml index 69225b353..febe3ff4a 100644 --- a/app/src/main/res/layout/item_metadata_tags.xml +++ b/app/src/main/res/layout/item_metadata_tags.xml @@ -2,45 +2,30 @@ - - + android:layout_height="match_parent" + android:fadeScrollbars="false"> - + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/metadata_type_view" /> - - \ No newline at end of file