For #18226: Fixed display of tabs for when text size is set to largest (#19046)

- Made website titles clearly visible in Grid view of tab tray
- Made website URLs clearly visible in List view of tab tray
upstream-sync
Neha Binwal 3 years ago committed by GitHub
parent cf9a84eed5
commit ccfff640fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -51,10 +51,11 @@ A FrameLayout here is an efficient way of having a views stack while allowing:
<TextView
android:id="@+id/mozac_browser_tabstray_title"
android:layout_width="0dp"
android:layout_height="30dp"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:ellipsize="none"
android:fadingEdgeLength="25dp"
android:minHeight="30dp"
android:paddingHorizontal="7dp"
android:paddingVertical="5dp"
android:requiresFadingEdge="horizontal"

@ -67,7 +67,6 @@
android:ellipsize="end"
android:textColor="@color/tab_tray_item_text_normal_theme"
android:textSize="16sp"
android:lineSpacingExtra="4sp"
android:maxLines="2"
tools:text="Firefox"
app:layout_constraintEnd_toStartOf="@id/mozac_browser_tabstray_close"
@ -81,7 +80,6 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginTop="4dp"
android:layout_marginBottom="24dp"
android:layout_marginStart="12dp"
android:ellipsize="end"

Loading…
Cancel
Save