8000 Fix viewholder_bookmark layout for long Bookmark titles · roychowdhuryrohit-dev/Android@66c228e · GitHub
[go: up one dir, main page]

Skip to content

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,18 @@
1919
android:layout_marginLeft="16dp"
2020
android:background="?attr/selectableItemBackgroundBorderless"
2121
android:contentDescription="@string/content_description_bookmark_delete_button"/>
22-
<FrameLayout
22+
<LinearLayout
2323
android:layout_width="match_parent"
2424
android:layout_height="wrap_content"
25+
android:orientation="horizontal"
2526
android:layout_marginStart="16dp"
2627
android:layout_marginLeft="16dp"
2728
android:layout_marginEnd="16dp"
2829
android:layout_marginRight="16dp">
2930
<TextView
3031
android:id="@+id/bookmark_name_text_view"
31-
android:layout_width="match_parent"
32+
android:layout_width="0dp"
33+
android:layout_weight="1"
3234
android:layout_height="wrap_content"
3335
android:layout_gravity="center_vertical"/>
3436
<ImageView
@@ -40,5 +42,5 @@
4042
android:scaleType="center"
4143
android:src="@drawable/ic_reorder_black_24dp"
4244
android:contentDescription="@string/content_description_bookmark_drag_item"/>
43-
</FrameLayout>
45+
</LinearLayout>
4446
</LinearLayout>

0 commit comments

Comments
 (0)
0