summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/drawer_account_list.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/drawer_account_list.xml')
-rw-r--r--app/src/main/res/layout/drawer_account_list.xml22
1 files changed, 14 insertions, 8 deletions
diff --git a/app/src/main/res/layout/drawer_account_list.xml b/app/src/main/res/layout/drawer_account_list.xml
index 06c946949..78b1b0af8 100644
--- a/app/src/main/res/layout/drawer_account_list.xml
+++ b/app/src/main/res/layout/drawer_account_list.xml
@@ -14,15 +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:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
+ 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="6dp"
+ android:layout_marginTop="6dp"
+ android:clipChildren="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" />
@@ -71,14 +77,14 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/list_action"
- style="@style/Widget.AppCompat.Button.Colored"
+ style="@style/Widget.Material3.Button.Icon"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginStart="12dp"
android:layout_marginTop="6dp"
- android:insetTop="0dp"
- android:insetBottom="0dp"
- android:padding="6dp"
+ android:padding="0dp"
+ app:iconGravity="textStart"
+ app:iconPadding="0dp"
app:icon="@drawable/ic_baseline_person_add_alt_1_24"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
@@ -86,4 +92,4 @@
</androidx.constraintlayout.widget.ConstraintLayout>
-</RelativeLayout>
+</com.google.android.material.card.MaterialCardView>