set maxlines=2 for article title in compact mode

This commit is contained in:
Andrew Dolgov 2017-07-16 22:28:23 +03:00
parent c91d41739b
commit 0cedb96894
5 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.fox.ttrss" package="org.fox.ttrss"
android:versionCode="448" android:versionCode="450"
android:versionName="1.214"> android:versionName="1.216">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

View File

@ -43,7 +43,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:singleLine="true" android:maxLines="2"
android:ellipsize="end" android:ellipsize="end"
android:text="Sample entry title" android:text="Sample entry title"
android:textColor="?headlineExcerptTextColor" android:textColor="?headlineExcerptTextColor"

View File

@ -44,7 +44,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:singleLine="true" android:maxLines="2"
android:ellipsize="end" android:ellipsize="end"
android:text="Sample entry title" android:text="Sample entry title"
android:textColor="?headlineSelectedTextColor" android:textColor="?headlineSelectedTextColor"

View File

@ -42,7 +42,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:singleLine="true" android:maxLines="2"
android:ellipsize="end" android:ellipsize="end"
android:text="Sample entry title" android:text="Sample entry title"
android:textColor="?headlineSelectedTextColor" android:textColor="?headlineSelectedTextColor"

View File

@ -44,7 +44,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:singleLine="true" android:maxLines="2"
android:ellipsize="end" android:ellipsize="end"
android:text="Sample entry title" android:text="Sample entry title"
android:textColor="?headlineUnreadTextColor" android:textColor="?headlineUnreadTextColor"