mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-02-11 00:48:43 +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);
|
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"));
|
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);
|
Linkify.addLinks(message, Linkify.WEB_URLS);
|
||||||
binding.messageTextViewRedditApiInfoBottomSheetFragment.setText(message);
|
binding.messageTextViewRedditApiInfoBottomSheetFragment.setText(message);
|
||||||
|
@ -1,11 +1,15 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?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"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
|
||||||
tools:context=".bottomsheetfragments.RedditAPIInfoBottomSheetFragment">
|
tools:context=".bottomsheetfragments.RedditAPIInfoBottomSheetFragment">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -65,4 +69,6 @@
|
|||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
</ScrollView>
|
Loading…
x
Reference in New Issue
Block a user