diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/InstanceInfoFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/InstanceInfoFragment.java index b9c420bb2..dff8a3f28 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/InstanceInfoFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/InstanceInfoFragment.java @@ -136,8 +136,8 @@ public class InstanceInfoFragment extends LoaderFragment { textScrollView=content.findViewById(R.id.text_scroll_view); readMore=content.findViewById(R.id.read_more); spaceBelowText=content.findViewById(R.id.space_below_text); - textMaxHeight=getActivity().getResources().getDimension(R.dimen.text_max_height); - textCollapsedHeight=getActivity().getResources().getDimension(R.dimen.text_collapsed_height); + textMaxHeight=getActivity().getResources().getDimension(R.dimen.description_max_height); + textCollapsedHeight=getActivity().getResources().getDimension(R.dimen.description_collapsed_height); collapseParams=new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, (int) textCollapsedHeight); wrapParams=new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT); diff --git a/mastodon/src/main/res/values/dimens.xml b/mastodon/src/main/res/values/dimens.xml index 6b401510b..1236e158b 100644 --- a/mastodon/src/main/res/values/dimens.xml +++ b/mastodon/src/main/res/values/dimens.xml @@ -3,4 +3,6 @@ 220dp 145dp 450dp + 1000dp + 445dp \ No newline at end of file