Skip to content

Commit a0bd51c

Browse files
style(file-list): fix share icon alignment in list view
Signed-off-by: Andy Scherzinger <[email protected]>
1 parent 81110dd commit a0bd51c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224

225225
<ImageView
226226
android:id="@+id/unreadComments"
227-
android:layout_width="48dp"
227+
android:layout_width="wrap_content"
228228
android:layout_height="match_parent"
229229
android:clickable="true"
230230
android:contentDescription="@string/unread_comments"
@@ -237,15 +237,15 @@
237237

238238
<ImageView
239239
android:id="@+id/sharedIcon"
240-
android:layout_width="48dp"
240+
android:layout_width="wrap_content"
241241
android:layout_height="wrap_content"
242242
android:layout_gravity="top"
243243
android:clickable="true"
244244
android:contentDescription="@string/shared_icon_share"
245245
android:focusable="true"
246246
android:minHeight="@dimen/min_list_item_size"
247247
android:paddingStart="@dimen/list_item_share_right_margin"
248-
android:paddingEnd="@dimen/list_item_share_right_margin"
248+
android:paddingEnd="4dp"
249249
android:src="@drawable/ic_unshared"
250250
tools:visibility="visible" />
251251

@@ -280,8 +280,8 @@
280280
android:contentDescription="@string/overflow_menu"
281281
android:focusable="true"
282282
android:minHeight="@dimen/min_list_item_size"
283-
android:paddingStart="12dp"
284-
android:paddingEnd="12dp"
283+
android:paddingStart="@dimen/list_item_share_right_margin"
284+
android:paddingEnd="@dimen/list_item_share_right_margin"
285285
android:src="@drawable/ic_dots_vertical" />
286286

287287
</LinearLayout>

0 commit comments

Comments
 (0)