denser account switcher

this one's for @experiencersinternational
This commit is contained in:
sk 2023-06-01 18:46:53 +02:00
parent 41cb0f2e09
commit 798a43906f
2 changed files with 3 additions and 2 deletions

View File

@ -104,7 +104,7 @@ public class AccountSwitcherSheet extends BottomSheet{
adapter.addAdapter(new AccountsAdapter()); adapter.addAdapter(new AccountsAdapter());
if (!externalShare) { if (!externalShare) {
adapter.addAdapter(new ClickableSingleViewRecyclerAdapter(makeSimpleListItem(R.string.add_account, R.drawable.ic_add_24px), () -> { adapter.addAdapter(new ClickableSingleViewRecyclerAdapter(makeSimpleListItem(R.string.add_account, R.drawable.ic_fluent_add_24_regular), () -> {
Nav.go(activity, CustomWelcomeFragment.class, null); Nav.go(activity, CustomWelcomeFragment.class, null);
dismiss(); dismiss();
})); }));

View File

@ -9,7 +9,8 @@
android:id="@+id/avatar" android:id="@+id/avatar"
android:layout_width="40dp" android:layout_width="40dp"
android:layout_height="40dp" android:layout_height="40dp"
android:layout_margin="16dp" android:layout_marginHorizontal="16dp"
android:layout_marginVertical="12dp"
android:layout_alignParentStart="true" android:layout_alignParentStart="true"
android:layout_centerInParent="true" android:layout_centerInParent="true"
android:importantForAccessibility="no"/> android:importantForAccessibility="no"/>