diff --git a/app/src/main/java/org/schabi/newpipelegacy/fragments/detail/VideoDetailFragment.java b/app/src/main/java/org/schabi/newpipelegacy/fragments/detail/VideoDetailFragment.java index 68eb6ba76..98b8d45cd 100644 --- a/app/src/main/java/org/schabi/newpipelegacy/fragments/detail/VideoDetailFragment.java +++ b/app/src/main/java/org/schabi/newpipelegacy/fragments/detail/VideoDetailFragment.java @@ -495,7 +495,7 @@ public boolean onLongClick(final View v) { private void toggleTitleAndDescription() { if (videoDescriptionRootLayout.getVisibility() == View.VISIBLE) { - videoTitleTextView.setMaxLines(1); + videoTitleTextView.setMaxLines(2); videoDescriptionRootLayout.setVisibility(View.GONE); videoDescriptionView.setFocusable(false); videoTitleToggleArrow.setImageResource( @@ -1149,7 +1149,7 @@ public void showLoading() { animateView(positionView, false, 50); videoTitleTextView.setText(name != null ? name : ""); - videoTitleTextView.setMaxLines(1); + videoTitleTextView.setMaxLines(2); animateView(videoTitleTextView, true, 0); videoDescriptionRootLayout.setVisibility(View.GONE); diff --git a/app/src/main/res/layout-large-land/fragment_video_detail.xml b/app/src/main/res/layout-large-land/fragment_video_detail.xml index 211d11a08..951b2956c 100644 --- a/app/src/main/res/layout-large-land/fragment_video_detail.xml +++ b/app/src/main/res/layout-large-land/fragment_video_detail.xml @@ -177,7 +177,7 @@ android:layout_marginEnd="30dp" android:layout_marginRight="30dp" android:ellipsize="end" - android:maxLines="1" + android:maxLines="2" android:paddingTop="12dp" android:paddingBottom="8dp" android:textAppearance="?android:attr/textAppearanceLarge" diff --git a/app/src/main/res/layout/activity_player_queue_control.xml b/app/src/main/res/layout/activity_player_queue_control.xml index 52cd67445..8fe7e351a 100644 --- a/app/src/main/res/layout/activity_player_queue_control.xml +++ b/app/src/main/res/layout/activity_player_queue_control.xml @@ -80,25 +80,24 @@ android:textSize="14sp" tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis nec aliquam augue, eget cursus est. Ut id tristique enim, ut scelerisque tellus. Sed ultricies ipsum non mauris ultricies, commodo malesuada velit porta." /> - - + + 12sp 12sp 14sp - 13sp - 13sp + 14sp + 14sp 15sp 12sp 12sp @@ -109,8 +109,8 @@ 14sp - 12sp - 12sp + 14sp + 14sp 12dp