Replace html template stuff with android resources generators