Commit 1a11c13b authored by MozLando's avatar MozLando
Browse files

Merge #5939



5939: Closes #5937: Update add_on list item title overflow fix r=Amejia481 a=psymoon
Co-authored-by: default avatarSimon Chae <chaesmn@gmail.com>
parents feddd369 05146818
......@@ -54,6 +54,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="bold"
android:ellipsize="end"
android:maxLines="1"
android:layout_marginBottom="6dp"
tools:text="uBlock Origin" />
......
......@@ -20,32 +20,32 @@
android:src="@drawable/mozac_ic_extensions"
android:tint="?android:attr/textColorPrimary" />
<LinearLayout
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:id="@+id/add_on_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toStartOf="@+id/add_on_remove_button"
android:layout_centerVertical="true"
android:textSize="18sp"
android:ellipsize="end"
android:maxLines="1"
tools:text="uBlock Origin" />
<View
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_weight="1" />
<ImageButton
android:id="@+id/add_on_remove_button"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/mozac_feature_addons_remove"
android:src="@drawable/mozac_ic_delete"
android:tint="?android:attr/textColorPrimary" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment