Skip to content

Commit 1b66113

Browse files
tronkunikit19
authored andcommitted
fix: Fab size issue (#2461)
1 parent e8412ea commit 1b66113

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/src/main/res/layout/item_card_similar_events.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@
4747

4848
<com.google.android.material.floatingactionbutton.FloatingActionButton
4949
android:id="@+id/shareFab"
50-
android:layout_width="@dimen/fab_width"
51-
android:layout_height="@dimen/fab_height"
52-
android:layout_marginEnd="@dimen/fab_margin_80dp"
50+
android:layout_width="wrap_content"
51+
android:layout_height="wrap_content"
5352
app:fabCustomSize="@dimen/fab_height"
53+
android:layout_marginEnd="@dimen/fab_margin_80dp"
5454
android:background="@android:color/white"
5555
android:scaleType="center"
5656
app:backgroundTint="@android:color/white"
@@ -63,8 +63,8 @@
6363

6464
<com.google.android.material.floatingactionbutton.FloatingActionButton
6565
android:id="@+id/favoriteFab"
66-
android:layout_width="@dimen/fab_width"
67-
android:layout_height="@dimen/fab_height"
66+
android:layout_width="wrap_content"
67+
android:layout_height="wrap_content"
6868
app:fabCustomSize="@dimen/fab_height"
6969
android:layout_marginEnd="@dimen/fab_margin_right"
7070
android:background="@android:color/white"

0 commit comments

Comments
 (0)