0

When my application is started MainActivity is opened.In MainActivity I have a Api call as getApplicationLabels which returns me a JSONObject.I have suppose 5 Fragments in app.The Fragment contains some views as TextView,Edittext having hints etc.The attributes like text,size,color etc of these views need to be set programmatically from String,Color resources. This values I will receive from that getApplicationLabels Api call after Login and will be different for different user. How to add this received values from api into Strings.xml, colors.xml etc and set the labels for all views in app.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Satyam Gondhale
  • 1,415
  • 1
  • 16
  • 43

0 Answers0