From 285630e14952c95bcd1aa95c80e0a9cb824ac6ee Mon Sep 17 00:00:00 2001 From: Hossain Khan Date: Mon, 21 Nov 2016 21:57:11 -0500 Subject: [PATCH] [FIXED] Imageview max width and heing was not working. Used solution from http://stackoverflow.com/questions/3530328/android-imageview-not-respecting-maxwidth --- tv/src/main/res/layout/text_icon_card_feed.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tv/src/main/res/layout/text_icon_card_feed.xml b/tv/src/main/res/layout/text_icon_card_feed.xml index 6c4ceeb..bc1a807 100644 --- a/tv/src/main/res/layout/text_icon_card_feed.xml +++ b/tv/src/main/res/layout/text_icon_card_feed.xml @@ -87,8 +87,9 @@ android:id="@+id/feed_provider_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:adjustViewBounds="true" android:maxWidth="100dp" - android:maxHeight="80dp" + android:maxHeight="70dp" android:layout_marginRight="10dp" android:layout_marginBottom="10dp" android:layout_alignParentBottom="true"