listview - How to dynamically set text size of all items in a list view based on database value in Android? -


I am trying to allow the user to set the font size in the app which uses list view. How do I get a font-size from a database and use it to set the size of the text in the list view?

Edit: Examples would be good :)

"post-text" itemprop = "text">
  1. Get the Fontasize from the tax database.
  2. View your views; Set textview fonts in the listview on getview; Text with the textview.setTextSize (int, float);

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

ruby on rails - Convert a Activerecord result with has_one associations into a single hash per record -

c# - Confused over DLL entry points (entry point not found exception) -