Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a736c74 authored by Tony Mak's avatar Tony Mak
Browse files

Centeralize items in a row in share sheet

The weight sum is wrong, it should be 3 as we have 3 "SpaceLayout"
in between 4 items. Indeed, we do not need to specify weightSum
explicitly, the UI framework will do it for us.

Fix: 68978578

Test: Build and observe the padding

Change-Id: I39fc73a0cfb1b557021a9393ff92dd76340b5f22
parent a7d81598
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -22,8 +22,7 @@
              android:layout_height="100dp"
              android:gravity="start|top"
              android:paddingStart="@dimen/chooser_grid_padding"
              android:paddingEnd="@dimen/chooser_grid_padding"
              android:weightSum="4">
              android:paddingEnd="@dimen/chooser_grid_padding">

</LinearLayout>