From f2850af66864642bb4dcfed61920bcc9bb27dbcf Mon Sep 17 00:00:00 2001 From: kkogorou Date: Thu, 8 Jun 2017 18:10:43 +0900 Subject: [PATCH] Changed deprecated attribute android:singleLine="true" -> android:maxLines="1" --- 4-RecyclerView/src/main/res/layout/item_list.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4-RecyclerView/src/main/res/layout/item_list.xml b/4-RecyclerView/src/main/res/layout/item_list.xml index d7f9547..78c4fa9 100644 --- a/4-RecyclerView/src/main/res/layout/item_list.xml +++ b/4-RecyclerView/src/main/res/layout/item_list.xml @@ -47,7 +47,7 @@ android:layout_toRightOf="@+id/list_avatar" android:textColor="@color/medium_grey" android:ellipsize="end" - android:singleLine="true" + android:maxLines="1" tools:text="@string/item_desc" android:textAppearance="?attr/textAppearanceListItem" android:textSize="@dimen/list_body" />