" + - appName + - " " + - String.format(getString(R.string.debug_version_fmt), version) + - "
" + - String.format(getString(R.string.app_revision_fmt), - "" + - "GitHub" + - "") + - "
" + - String.format(getString(R.string.app_copyright_fmt), year) + - "
" + - getString(R.string.app_copyright_old) + - "
" + - getString(R.string.app_license) + - "
" + - String.format(getString(R.string.app_libraries), appName, libs.toString()) + - "
" +
- String.format(getString(R.string.app_resources), appName, resources.toString());
-
- wv.loadDataWithBaseURL("file:///android_res/drawable/", html, "text/html", "utf-8", null);
- new AlertDialog.Builder(this)
- .setView(wv)
- .setCancelable(true)
- .setPositiveButton(R.string.ok, new DialogInterface.OnClickListener()
- {
- public void onClick(DialogInterface dialog, int which)
- {
- dialog.dismiss();
- }
- })
- .show();
- }
-
protected static boolean isDarkModeEnabled(Context inputContext)
{
Configuration config = inputContext.getResources().getConfiguration();
diff --git a/app/src/main/res/layout/about_activity.xml b/app/src/main/res/layout/about_activity.xml
new file mode 100644
index 000000000..2e29a7804
--- /dev/null
+++ b/app/src/main/res/layout/about_activity.xml
@@ -0,0 +1,41 @@
+
+