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

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

DocumentsUI: Fix 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: Ic2db20a303dd1db7e2d3375e4b733d704daf393b
parent ea1eecb4
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -94,8 +94,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"
@@ -104,8 +105,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"
@@ -117,7 +119,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"