diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-05-09 09:37:01 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-05-09 09:37:01 +0300 |
| commit | b8d52ed6cf0a1cdf3a670811534d4689380cc622 (patch) | |
| tree | b1b2d49c5ce0f382969fa976f758bdb90252de93 /org.fox.ttrss/src/main/res/layout | |
| parent | 20c4ac9393faa5cd6318e8644864e8b6195288bb (diff) | |
add some corners to article header
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
| -rwxr-xr-x | org.fox.ttrss/src/main/res/layout/fragment_article.xml | 24 |
1 files changed, 12 insertions, 12 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 990ede49..a4fbc70c 100755 --- a/org.fox.ttrss/src/main/res/layout/fragment_article.xml +++ b/org.fox.ttrss/src/main/res/layout/fragment_article.xml @@ -18,12 +18,18 @@ <com.google.android.material.appbar.AppBarLayout android:layout_width="match_parent" + android:background="?colorSurfaceContainer" android:layout_height="match_parent"> - <LinearLayout + <com.google.android.material.card.MaterialCardView app:layout_scrollFlags="scroll|enterAlways" + app:strokeWidth="0dp" + app:shapeAppearance="@style/shape_appearance_article_header" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <LinearLayout android:id="@+id/article_header" - android:background="?colorSurface" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> @@ -59,7 +65,7 @@ android:layout_weight="1" android:fontFamily="sans-serif-light" android:layout_marginTop="8dp" - android:textColor="?colorSecondary" + android:textColor="?colorPrimary" android:textSize="12sp" /> <TextView @@ -112,22 +118,15 @@ </LinearLayout> - <com.google.android.material.divider.MaterialDivider - android:layout_width="match_parent" - android:layout_height="wrap_content"/> - <LinearLayout android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="?colorSurfaceContainer"> + android:layout_height="wrap_content"> <com.google.android.material.card.MaterialCardView android:id="@+id/note_container" android:layout_width="match_parent" app:cardBackgroundColor="?colorTertiaryContainer" - android:layout_marginTop="8dp" - android:layout_marginStart="8dp" - android:layout_marginEnd="8dp" + android:layout_margin="8dp" app:strokeWidth="0dp" android:layout_height="match_parent"> @@ -159,6 +158,7 @@ </LinearLayout> </LinearLayout> + </com.google.android.material.card.MaterialCardView> </com.google.android.material.appbar.AppBarLayout> |