Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
x - (20 * x)/100TextView のように数式を描画する必要があり、次のようにする必要があります。
x - (20 * x)/100
TextView のベースラインに分数を追加するために使用しますReplacementSpan。しかし、数学演算子は TextView のベースラインに対して整列していないようです。結果は次のようになります。
ReplacementSpan
ここで、数学演算子のベースラインを見つけて、分数をそれに対して整列させる方法を知りたいですか?