feat(instance-info): increase max description height
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -3,4 +3,6 @@
|
||||
<dimen name="text_max_height">220dp</dimen>
|
||||
<dimen name="text_collapsed_height">145dp</dimen>
|
||||
<dimen name="layout_max_width">450dp</dimen>
|
||||
<dimen name="description_max_height">1000dp</dimen>
|
||||
<dimen name="description_collapsed_height">445dp</dimen>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user