Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

chemistry formula on Android

SpannableString ss1 = new SpannableString(Html.fromHtml("2H<sup>+</sup> + So<sub size = 2>4</sub><sup size = 2>2-</sup> --> H<sub size =2>2</sub>So<sub size = 2>4</sub>"));
ss1.setSpan(new RelativeSizeSpan(0.6f), 2,3, 0); // set size
ss1.setSpan(new RelativeSizeSpan(0.6f), 8,11, 0); // set size
ss1.setSpan(new RelativeSizeSpan(0.6f), 17,18, 0); // set size
ss1.setSpan(new RelativeSizeSpan(0.6f), 20,21, 0); // set size
TempF.setText(ss1,TextView.BufferType.SPANNABLE);
Comment

PREVIOUS NEXT
Code Example
Java :: swagger apiimplicitparam all endpoints 
Java :: system program j 
Java :: They say that they have to create an instance to their application. What does it mean? 
Java :: empty string databinding android 
Java :: how to do 4th root java 
Java :: how good at you are at java 
Java :: candies price hackerearth solution in java 
Java :: clear array in java 
Java :: Reason: Failed to load driver class com.mysql.cj.jdbc.Driver in either of HikariConfig class loader or Thread context classloader 
Java :: kotless scheduled event 
Java :: contoh object dalam oop java 
Java :: naming convention for selenium java automation 
Java :: java nested for loop 
Java :: java define interface 
Java :: date to timestamp java 
Java :: Jlabel icon 
Java :: java indexof not found 
Java :: Java If ... Else 
Java :: Linked list implementation in Java source code 
Java :: java division of 2 numbers with decimal places 
Java :: Black belt in grepper 
Java :: multiple root tags android manifest 
Java :: java non-breajubg soace remove 
Sql :: delete all nodes neo4j 
Sql :: TSQL GET ALL COLUMNS IN TABLE 
Sql :: postgres get all tables in schema 
Sql :: check database name oracle 
Sql :: set default today mysql 
Sql :: oracle string length 
Sql :: mysql find tables with column name 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =