Android studio, making a math formula sheet application -
so still quiet novice when comes programming curious best practice making formula sheet. of course it'll straight words, letters , numbers in layout of math formulas have lot of characters wouldn't able read textview. should make screenshots of formulas make on word or memory waste. zoom in , out how go that.
use html code in string.xml file in value folder.
<string name="superscript"><html><i>a</i><sup>2</sup>+<i>y</i><sup>2</sup></html></string> <string name="subscript"><html>f(x)<sub>1+x</sub></html></string> and in xml layout
<textview android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/superscript" /> <textview android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/subscript" /> links mathematical symbols , characters:
Comments
Post a Comment