How to display tabs(whitespace) coming from MySQL database correctly on both in Android and IOS app?
android, ios, mysql
Solution
The best way- those 2 things are different data and are in different columns in your database, I would expect (if not, you need to fix your schema). So put the 2 strings in separate TextViews, and align the text view in xml.
Problem
I have following data in my db row: ``` Espresso: 7,00 Double Espresso: 8,00 Ristretto: 7,00 Espresso Machiato: 8,00 Espresso Con Panna: 8,00 ``` I write it on Word, then copy & paste to MySQL editor. When I save it, my IOS and Android apps cannot show the prices aligned because of the tab characters. What is the best way to do that?