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:

http://barzilai.org/math_sym.htm

http://www.myphysicslab.com/web_math.html


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -