aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorxbzk <xbzk@noreply.localhost>2025-06-15 08:53:41 +0000
committercrueter <crueter@noreply.localhost>2025-06-15 08:53:41 +0000
commitf3e00b633e1f075bb508fed3f13bfb6ed9f2207d (patch)
treeeb35050944de9df92c1103b3e74a7c4c1840e2c6 /src
parentcc7f2808edfa77d34e259529d81f973e5aa1b305 (diff)
multiplayer lobby search dialog send button clipping fix (#188)
fix for send button. Co-authored-by: Allison Cunha <allisonbzk@gmail.com> Co-authored-by: crueter <swurl@swurl.xyz> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/188 Reviewed-by: crueter <crueter@noreply.localhost> Co-authored-by: xbzk <xbzk@noreply.localhost> Co-committed-by: xbzk <xbzk@noreply.localhost>
Diffstat (limited to 'src')
-rw-r--r--src/android/app/src/main/res/layout/dialog_lobby_browser.xml26
1 files changed, 16 insertions, 10 deletions
diff --git a/src/android/app/src/main/res/layout/dialog_lobby_browser.xml b/src/android/app/src/main/res/layout/dialog_lobby_browser.xml
index a016e48823..138d099601 100644
--- a/src/android/app/src/main/res/layout/dialog_lobby_browser.xml
+++ b/src/android/app/src/main/res/layout/dialog_lobby_browser.xml
@@ -70,9 +70,10 @@
<com.google.android.material.card.MaterialCardView
android:id="@+id/search_background"
style="?attr/materialCardViewFilledStyle"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginStart="16dp"
+ android:layout_marginEnd="16dp"
android:layout_marginTop="12dp"
app:cardCornerRadius="24dp">
@@ -81,7 +82,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="16dp"
- android:layout_marginEnd="48dp"
+ android:layout_marginEnd="16dp"
android:orientation="horizontal">
<ImageView
@@ -109,22 +110,27 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_gravity="center_vertical|end"
- android:layout_marginEnd="16dp"
+ android:layout_marginEnd="48dp"
android:background="?attr/selectableItemBackground"
android:src="@drawable/ic_clear"
android:visibility="invisible"
app:tint="?attr/colorOnSurfaceVariant"
tools:visibility="visible" />
+ <ImageView
+ android:id="@+id/btn_submit"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
+ android:layout_gravity="center_vertical|end"
+ android:layout_marginEnd="16dp"
+ android:background="?attr/selectableItemBackground"
+ android:src="@drawable/ic_send"
+ android:contentDescription="@string/submit"
+ app:tint="?attr/colorOnSurfaceVariant"
+ tools:visibility="visible" />
+
</com.google.android.material.card.MaterialCardView>
- <com.google.android.material.button.MaterialButton
- android:id="@+id/btn_submit"
- style="@style/Widget.Material3.Button.ElevatedButton"
- android:layout_width="110dp"
- android:layout_height="48dp"
- android:layout_marginTop="12dp"
- android:text="@string/submit" />
</LinearLayout>