Wednesday, April 13, 2016

Accesibility and Localization - Udacity Advance Android Course

Okieee...pertama-tama kita tambain key string di strings.xml berikut :


Teruuuuss....beralih ke utility.java...tambain method baru getStringForWeatherCondition  :




OKieee....setelah selese...beralih ke ForecastAdapter.java terus di dalam method bindView yang awalnya kyk gini :
diubah jadi kyk gini :
Terusss...masih didalam method bindView, cari string description terus ubah jadi kyk gini :
di file detailFragment di dalam method onLoadFinished() juga diubah descriptionnya jadi kyk gini :
Siiips... selese daaah... :)


Prev Quiz --- Next Quiz

Permanently Show Line Numbers in Android Studio

Welll... we can easily show line number in android studio by just right clicking on the left side of our editor as shown below :
Buuut, that line numbers only shows up at this current editor and if we close android studio, we need to right click again to show line numbers... Soo in order to prevent this thing happen all over again... Go to file menu, choose settings :
Go to Editor--General--Appearance then hit Show Line Numbers :
Donee hehehe... :D