2

can we use css font-feature-settings in text View? add friction like 1/2 and other properties of font-feature-settings.

1 Answer 1

4

A good example and explanation found here.sorry for bad english. http://blog.sqisland.com/2014/11/android-stacked-fractions.html?utm_source=Android+Weekly&utm_campaign=22c3800806-Android_Weekly_130&utm_medium=email&utm_term=0_4eb677ad19-22c3800806-337885537

   Typeface typeface = Typeface.createFromAsset(
    getAssets(), "Nutso2.otf");
    textView.setTypeface(typeface);
    textView.setText("1/2 2/5");
    textView.setFontFeatureSettings("afrc");
Sign up to request clarification or add additional context in comments.

2 Comments

This looks promising. Can you answer this question: stackoverflow.com/questions/27539237/…
This is working example! Thank you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.