diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-05-15 13:36:24 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-05-15 13:37:17 +0300 |
| commit | 0fdd5cc6c35a602487ddbeaeec60693ce48fd6f0 (patch) | |
| tree | e830c2cc3395b8a71c3e266dd50e02ef637cc1bc /org.fox.ttrss/src/main/res | |
| parent | 50c5e76e25e3b8ff58aa829365ca1ec87c0d574e (diff) | |
bring back display of host specific to linked article (if differs from site_url), properly hide loading indicator on api error
Diffstat (limited to 'org.fox.ttrss/src/main/res')
3 files changed, 42 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/fragment_article.xml b/org.fox.ttrss/src/main/res/layout/fragment_article.xml index eba96d75..0fe8163b 100755 --- a/org.fox.ttrss/src/main/res/layout/fragment_article.xml +++ b/org.fox.ttrss/src/main/res/layout/fragment_article.xml @@ -57,6 +57,20 @@ android:textColor="?colorPrimary" android:textSize="12sp" /> + <TextView + android:id="@+id/link_host" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" + tools:text="example.com" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textAlignment="viewStart" + android:layout_weight="1" + android:fontFamily="sans-serif-light" + android:layout_marginTop="8dp" + android:textColor="?colorPrimary" + android:textSize="12sp" /> + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row.xml b/org.fox.ttrss/src/main/res/layout/headlines_row.xml index 3659589d..3c0ecb20 100755 --- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml @@ -77,6 +77,20 @@ </LinearLayout> + <TextView + android:id="@+id/link_host" + android:layout_width="match_parent" + android:layout_marginTop="8dp" + android:layout_below="@+id/linearLayout2" + android:layout_height="wrap_content" + android:ellipsize="middle" + android:fontFamily="sans-serif-light" + android:singleLine="true" + android:textAlignment="viewStart" + android:textColor="?colorSecondary" + android:textSize="12sp" + tools:text="example.com" /> + </RelativeLayout> </TableRow> diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml index 3365f476..7cae0fb1 100755 --- a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml @@ -78,6 +78,20 @@ </LinearLayout> + <TextView + android:id="@+id/link_host" + android:layout_width="match_parent" + android:layout_marginTop="8dp" + android:layout_below="@+id/linearLayout2" + android:layout_height="wrap_content" + android:ellipsize="middle" + android:fontFamily="sans-serif-light" + android:singleLine="true" + android:textAlignment="viewStart" + android:textColor="?colorSecondary" + android:textSize="12sp" + tools:text="example.com" /> + </RelativeLayout> </TableRow> |