Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
android-components
Commits
05146818
Commit
05146818
authored
Feb 14, 2020
by
Simon Chae
Browse files
Closes #5937: Update add_on list item title overflow fix
parent
58d1481b
Changes
2
Hide whitespace changes
Inline
Side-by-side
components/feature/addons/src/main/res/layout/mozac_feature_addons_item.xml
View file @
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"
/>
...
...
components/feature/addons/src/main/res/layout/mozac_feature_addons_unsupported_item.xml
View file @
05146818
...
...
@@ -20,32 +20,32 @@
android:src=
"@drawable/mozac_ic_extensions"
android:tint=
"?android:attr/textColorPrimary"
/>
<
Linear
Layout
<
Relative
Layout
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"
/>
</
Linear
Layout>
</
Relative
Layout>
</LinearLayout>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment