0

Hello i have this html from webservices and i load it into web view ,, its working good ,, now i need to add my font to this , and make its gravity right !

 BodyNot = "<html> <head> <style> body { background-color: clear !important; } p,div,span,li { color:black; font-size:17px !important;background-color: clear !important;} embed, iframe, object, video {height: 160px; width: 355.0px;} img { height: 160px; width: 355.0px; } </style> </head> <body><p>" +
                            BodyNot +
                            "</p>" +
                            "</div></p></body> </html>";


                    serviceWebView.loadData(BodyNot, "text/html; charset=utf-8", "UTF-8");
                    serviceWebView.getSettings().setBuiltInZoomControls(true);
                    serviceWebView.getSettings().setDisplayZoomControls(false);
Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Moayed Alayaseh
  • 243
  • 7
  • 16

1 Answers1

0

I'm a little bit guessing but I think that changing <p> to <p align="right"> will do the job.