title: Android - display images in assets sub-folder in WebView
body: <p>In my app I have a bunch of HTML pages that I want to display in WebView's. The HTML references images that are also stored in the app.</p>
  
  <p>Everything works fine if I put the HTML file and the images into the root of the 'assets' folder and load the HTML like:</p>
  
  <pre>
  WebView myWebView = (WebView)findViewById(R.id.faqs_html);
  myWebView.loadUrl("file:///android_asset/test.htm");  
  </pre>
  
  <p>And where the HTML just refers to the image like:</p>
  
  <p><code>&lt;img src="logo.png" width="145" height="23" /&gt;</code></p>
  
  <p>So I've got a fallback, but I'd prefer to have the images in a sub-folder inside the assets folder; but when I do that I can't seem to get the image to display in the WebView. I've tried  the obvious <code>&lt;img src="images/logo.png" width="145" height="23" /&gt;</code> and some other attempts, but it's not working. Thanks!</p>