summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/drawer_status_simple.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/drawer_status_simple.xml')
-rw-r--r--app/src/main/res/layout/drawer_status_simple.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/app/src/main/res/layout/drawer_status_simple.xml b/app/src/main/res/layout/drawer_status_simple.xml
index f74127091..baa53c424 100644
--- a/app/src/main/res/layout/drawer_status_simple.xml
+++ b/app/src/main/res/layout/drawer_status_simple.xml
@@ -14,17 +14,21 @@
You should have received a copy of the GNU General Public License along with Fedilab; if not,
see <http://www.gnu.org/licenses>
-->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/cardview_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginHorizontal="12dp"
- android:layout_marginTop="12dp"
+ android:layout_marginHorizontal="@dimen/card_margin"
+ android:layout_marginTop="@dimen/card_margin"
android:clipChildren="false"
- android:clipToPadding="false">
+ android:clipToPadding="false"
+ app:cardElevation="0dp"
+ app:strokeWidth="0dp">
<View
+ android:id="@+id/divider_card"
android:layout_width="match_parent"
android:layout_height="1px"
android:background="?colorOutline" />
@@ -98,4 +102,4 @@
tools:text="@tools:sample/lorem/random" />
</androidx.appcompat.widget.LinearLayoutCompat>
-</RelativeLayout> \ No newline at end of file
+</com.google.android.material.card.MaterialCardView> \ No newline at end of file