mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-03-25 03:35:28 +01:00
Fix RedditAPIInfoBottomSheetFragment not scrollable.
This commit is contained in:
parent
d386514725
commit
1686e2d9c3
@ -38,6 +38,8 @@ public class RedditAPIInfoBottomSheetFragment extends LandscapeExpandedRoundedBo
|
||||
Utils.setFontToAllTextViews(binding.getRoot(), mainActivity.typeface);
|
||||
}
|
||||
|
||||
binding.getRoot().setNestedScrollingEnabled(true);
|
||||
|
||||
SpannableString message = new SpannableString(getString(R.string.reddit_api_info, "https://www.reddit.com/r/reddit/comments/145bram/addressing_the_community_about_changes_to_our_api", "https://www.reddit.com/r/Infinity_For_Reddit/comments/147bhsg/the_future_of_infinity"));
|
||||
Linkify.addLinks(message, Linkify.WEB_URLS);
|
||||
binding.messageTextViewRedditApiInfoBottomSheetFragment.setText(message);
|
||||
|
@ -1,11 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
tools:context=".bottomsheetfragments.RedditAPIInfoBottomSheetFragment">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@ -66,3 +70,5 @@
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
Loading…
x
Reference in New Issue
Block a user