use of com.inscription.ChangeLogDialog in project Inscription by MartinvanZ.
the class CustomChangelogActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_custom_changelog);
final ChangeLogDialog changeLog = new ChangeLogDialog(this);
final WebView webView = (WebView) findViewById(R.id.webView1);
webView.loadDataWithBaseURL(null, changeLog.getHTML(), "text/html", "utf-8", null);
}
use of com.inscription.ChangeLogDialog in project Inscription by MartinvanZ.
the class MainActivity method onShowChangeLogClick.
public void onShowChangeLogClick(final View v) {
//Launch change log dialog
final ChangeLogDialog changeLogDialog = new ChangeLogDialog(this);
changeLogDialog.show();
}
use of com.inscription.ChangeLogDialog in project Klyph by jonathangerbaud.
the class ChangeLogActivity method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setTitle(R.string.changelog_activity_title);
WebView webView = (WebView) findViewById(R.id.webView);
ChangeLogDialog cld = new ChangeLogDialog(this);
webView.loadDataWithBaseURL(null, cld.getHTML(), "text/html", "utf-8", null);
}
use of com.inscription.ChangeLogDialog in project Inscription by MartinvanZ.
the class MainActivity method onCustomStyleClick.
public void onCustomStyleClick(final View v) {
//Launch change log dialog
final ChangeLogDialog changeLogDialog = new ChangeLogDialog(this);
changeLogDialog.setStyle("h1 { margin-left: 10px; font-size: 12pt; color: #006b9a; margin-bottom: 0px;}" + "li { margin-left: 0px; font-size: 12pt; padding-top: 10px; }" + "ul { padding-left: 30px; margin-top: 0px; }" + ".summary { margin-left: 10px; font-size: 10pt; color: #006b9a; margin-top: 5px; display: block; clear: left; }" + ".date { margin-left: 10px; font-size: 10pt; color: #006b9a; margin-top: 5px; display: block; }");
changeLogDialog.show();
}
Aggregations