Commit 6df7a85f authored by Sajal Narang's avatar Sajal Narang Committed by GitHub

Merge pull request #255 from unstablebrainiac/text-overflow

Prevent text overflow for large font size
parents 87f9e375 14346adc
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="80dp" android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="horizontal">
<de.hdodenhof.circleimageview.CircleImageView <de.hdodenhof.circleimageview.CircleImageView
...@@ -48,6 +48,8 @@ ...@@ -48,6 +48,8 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Object Title" android:text="Object Title"
android:maxLines="2"
android:ellipsize="end"
android:textColor="?attr/themeColorInverse" android:textColor="?attr/themeColorInverse"
android:textSize="18sp" /> android:textSize="18sp" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment