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 5f1cbc365..8a1036472 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 @@ -154,8 +154,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()); @@ -177,6 +175,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/item_metadata.xml b/app/src/main/res/layout/item_metadata.xml index e49537c31..31dedd880 100644 --- a/app/src/main/res/layout/item_metadata.xml +++ b/app/src/main/res/layout/item_metadata.xml @@ -4,8 +4,7 @@ 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"> - + + + android:layout_marginTop="8dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/metadata_type_view" /> - - - \ No newline at end of file + \ No newline at end of file