Skip to content
GitLab
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
fenix
Commits
0dac2fd0
Unverified
Commit
0dac2fd0
authored
Feb 12, 2020
by
Simon Chae
Committed by
GitHub
Feb 12, 2020
Browse files
For #8346: Update add-on-permissions fragment to be scrollable (#8352)
parent
b9089e2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/res/layout/fragment_add_on_permissions.xml
View file @
0dac2fd0
...
...
@@ -3,26 +3,31 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<
RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
ScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/add_ons_permissions"
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/
>
android:layout_height=
"wrap_content"
>
<TextView
android:id=
"@+id/learn_more_label"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/add_ons_permissions"
android:background=
"?attr/selectableItemBackground"
android:padding=
"16dp"
android:paddingStart=
"16dp"
android:paddingEnd=
"16dp"
android:text=
"@string/mozac_feature_addons_learn_more"
app:drawableEndCompat=
"@drawable/mozac_ic_link"
app:drawableTint=
"?android:attr/textColorPrimary"
/>
</RelativeLayout>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/add_ons_permissions"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<TextView
android:id=
"@+id/learn_more_label"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/add_ons_permissions"
android:background=
"?attr/selectableItemBackground"
android:padding=
"16dp"
android:paddingStart=
"16dp"
android:paddingEnd=
"16dp"
android:text=
"@string/mozac_feature_addons_learn_more"
app:drawableEndCompat=
"@drawable/mozac_ic_link"
app:drawableTint=
"?android:attr/textColorPrimary"
/>
</RelativeLayout>
</ScrollView>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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