jenkins-bot has submitted this change and it was merged.

Change subject: Fix improperly wrapping Wikidata descriptions in Nearby.
......................................................................


Fix improperly wrapping Wikidata descriptions in Nearby.

The Wikidata description TextView was erroneiously using match_parent for its
layout_width, which caused it to wrap strangely in the case that the
description was particularly long. This patch changes that to wrap_content so
that it displays properly.

Bug: T87401
Change-Id: I8e46ee064226cb60687e3ca7f9906828f95d5bd4
---
M wikipedia/res/layout/item_nearby_entry.xml
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  BearND: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wikipedia/res/layout/item_nearby_entry.xml 
b/wikipedia/res/layout/item_nearby_entry.xml
index b610bf0..8212b3c 100644
--- a/wikipedia/res/layout/item_nearby_entry.xml
+++ b/wikipedia/res/layout/item_nearby_entry.xml
@@ -45,7 +45,7 @@
         <TextView
             android:id="@+id/nearby_description"
             style="?android:textAppearanceSmall"
-            android:layout_width="match_parent"
+            android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_marginBottom="2dp"
             android:ellipsize="end"

-- 
To view, visit https://gerrit.wikimedia.org/r/186330
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8e46ee064226cb60687e3ca7f9906828f95d5bd4
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Deskana <[email protected]>
Gerrit-Reviewer: BearND <[email protected]>
Gerrit-Reviewer: Dbrant <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to