Deskana has uploaded a new change for review.
https://gerrit.wikimedia.org/r/186330
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(-)
git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia
refs/changes/30/186330/1
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: newchange
Gerrit-Change-Id: I8e46ee064226cb60687e3ca7f9906828f95d5bd4
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Deskana <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits