diff options
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
| -rwxr-xr-x | org.fox.ttrss/src/main/res/layout/fragment_article.xml | 2 | ||||
| -rw-r--r-- | org.fox.ttrss/src/main/res/layout/preference_material_switch.xml | 9 |
2 files changed, 10 insertions, 1 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 71cf89ce..e75980b0 100755 --- a/org.fox.ttrss/src/main/res/layout/fragment_article.xml +++ b/org.fox.ttrss/src/main/res/layout/fragment_article.xml @@ -24,7 +24,7 @@ <com.google.android.material.card.MaterialCardView app:layout_scrollFlags="scroll|enterAlways" app:strokeWidth="0dp" - app:shapeAppearance="@style/shape_appearance_article_header" + app:shapeAppearance="@style/ShapeAppearanceArticleHeader" android:layout_width="match_parent" android:layout_height="wrap_content"> diff --git a/org.fox.ttrss/src/main/res/layout/preference_material_switch.xml b/org.fox.ttrss/src/main/res/layout/preference_material_switch.xml new file mode 100644 index 00000000..94d654f0 --- /dev/null +++ b/org.fox.ttrss/src/main/res/layout/preference_material_switch.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Derived from https://github.com/androidx/androidx/blob/8cb282cc/preference/preference/res/layout/preference_widget_switch_compat.xml --> +<com.google.android.material.materialswitch.MaterialSwitch xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/switchWidget" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@null" + android:clickable="false" + android:focusable="false" />
\ No newline at end of file |