Skip to content

Commit fc7a2ea

Browse files
committed
fix: show the full description of space permissions
The description of a role in the space member permissions list was capped at two lines with a middle ellipsis. Android only applies a middle ellipsis to single-line text, so longer descriptions such as the one for "Can manage" were silently cut after the second line. The description now has room for four lines and uses an end ellipsis, which Android does apply to multi-line text, so anything longer is visibly truncated instead of hidden. Signed-off-by: Lennox <parththale02@gmail.com>
1 parent 394db04 commit fc7a2ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

owncloudApp/src/main/res/layout/role_item.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@
7474
android:text="@string/placeholder_sentence"
7575
android:textSize="13sp"
7676
android:textColor="@color/textColor"
77-
android:ellipsize="middle"
78-
android:maxLines="2"/>
77+
android:ellipsize="end"
78+
android:maxLines="4"/>
7979

8080
</LinearLayout>
8181

0 commit comments

Comments
 (0)