mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-23 16:18:50 -05:00
Fix display of icon in About box on Android 2.1 and earlier
This commit is contained in:
parent
bec094326a
commit
65dc3c7d1b
BIN
assets/icon.png
Normal file
BIN
assets/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.4 KiB |
@ -833,7 +833,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
|
||||
WebView wv = new WebView(this);
|
||||
StringBuilder html = new StringBuilder()
|
||||
.append("<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />")
|
||||
.append("<img src=\"icon.png\" alt=\"").append(appName).append("\"/>")
|
||||
.append("<img src=\"file:///android_asset/icon.png\" alt=\"").append(appName).append("\"/>")
|
||||
.append("<h1>")
|
||||
.append(String.format(getString(R.string.about_title_fmt),
|
||||
"<a href=\"" + getString(R.string.app_webpage_url)) + "\">")
|
||||
|
Loading…
Reference in New Issue
Block a user