Skip to content

Commit af7db6f

Browse files
authored
fix fab shadow issue (#5413) (#5416)
1 parent 7b7f43e commit af7db6f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

V2rayNG/app/src/main/res/layout/activity_main.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
android:layout_width="wrap_content"
9595
android:layout_height="wrap_content"
9696
android:layout_gravity="bottom|end"
97+
android:layout_marginBottom="-16dp"
9798
android:layout_marginEnd="@dimen/padding_spacing_dp16">
9899

99100
<com.google.android.material.floatingactionbutton.FloatingActionButton
@@ -106,6 +107,7 @@
106107
android:contentDescription="@string/title_server"
107108
android:focusable="true"
108109
android:src="@android:drawable/ic_menu_mylocation"
110+
app:useCompatPadding="true"
109111
app:layout_anchorGravity="bottom|right|end" />
110112

111113
<com.google.android.material.floatingactionbutton.FloatingActionButton
@@ -120,6 +122,7 @@
120122
android:nextFocusLeft="@+id/layout_test"
121123
android:src="@drawable/ic_play_24dp"
122124
app:tint="@color/colorWhite"
125+
app:useCompatPadding="true"
123126
app:layout_anchorGravity="bottom|right|end" />
124127

125128
</FrameLayout>

0 commit comments

Comments
 (0)