Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c45abb3 authored by kaiyiz's avatar kaiyiz Committed by Gerrit - the friendly Code Review server
Browse files

DocumentsUI: Fix the issue of download status was displayed incompletely

The layout arrangement of date, size and summary are unreasonable.
Text was ellipsized when summary has too much characters.

Reconfigure "layout_weight" of date, size and summary can fix this
issue.

CRs-Fixed: 619201

Change-Id: I0c00d08d4793a38b80988378b4b510bdb3bf8720
parent bfe13dfb
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -92,8 +92,9 @@

            <TextView
                android:id="@+id/date"
                android:layout_width="90dp"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:singleLine="true"
                android:ellipsize="end"
                android:textAlignment="viewStart"
@@ -101,8 +102,9 @@

            <TextView
                android:id="@+id/size"
                android:layout_width="90dp"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:layout_marginStart="8dp"
                android:singleLine="true"
                android:ellipsize="end"
@@ -113,7 +115,7 @@
                android:id="@android:id/summary"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:layout_weight="2"
                android:layout_marginStart="8dp"
                android:singleLine="true"
                android:ellipsize="end"