I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 94b433ae authored by str4d's avatar str4d
Browse files

Padding fix

parent 5623d541
No related branches found
No related tags found
No related merge requests found
......@@ -120,6 +120,9 @@ public class HelpActivity extends ActionBarActivity implements
ScrollView scroller = new ScrollView(getActivity());
HtmlTextView text = new HtmlTextView(getActivity());
scroller.addView(text);
int padH = getResources().getDimensionPixelOffset(R.dimen.activity_horizontal_margin);
int padV = getResources().getDimensionPixelOffset(R.dimen.activity_vertical_margin);
text.setPadding(padH, padV, padH, padV);
text.setHtmlFromRawResource(getActivity(), getArguments().getInt(ARG_HTML_FILE), true);
return scroller;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment