Loading app/ui/src/main/java/com/fsck/k9/ui/settings/AboutActivity.kt +4 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,10 @@ class AboutActivity : K9Activity() { val year = Integer.toString(Calendar.getInstance().get(Calendar.YEAR)) findViewById<TextView>(R.id.copyright).text = getString(R.string.app_copyright_fmt, year, year) findViewById<View>(R.id.authorsLayout).setOnClickListener { startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(getString(R.string.app_authors_url)))) } findViewById<View>(R.id.licenseLayout).setOnClickListener { startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(getString(R.string.app_license_url)))) } Loading app/ui/src/main/res/layout/about.xml +5 −1 Original line number Diff line number Diff line Loading @@ -60,12 +60,16 @@ </LinearLayout> <LinearLayout android:id="@+id/authorsLayout" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="16dp" android:paddingBottom="16dp" android:paddingLeft="16dp" android:gravity="center_vertical"> android:gravity="center_vertical" android:clickable="true" android:focusable="true" android:background="?attr/selectableItemBackground"> <ImageView android:src="?attr/iconAboutAuthors" android:layout_width="28dp" Loading app/ui/src/main/res/values/strings.xml +1 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ <!-- Used in the about dialog --> <string name="app_authors">The K-9 Dog Walkers</string> <string name="app_authors_url">https://github.com/k9mail/k-9/graphs/contributors</string> <string name="app_copyright_fmt">Copyright 2008-<xliff:g>%s</xliff:g> The K-9 Dog Walkers. Portions Copyright 2006-<xliff:g>%s</xliff:g> the Android Open Source Project.</string> <string name="source_code">Source</string> <string name="app_source_url">https://github.com/k9mail/k-9</string> Loading Loading
app/ui/src/main/java/com/fsck/k9/ui/settings/AboutActivity.kt +4 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,10 @@ class AboutActivity : K9Activity() { val year = Integer.toString(Calendar.getInstance().get(Calendar.YEAR)) findViewById<TextView>(R.id.copyright).text = getString(R.string.app_copyright_fmt, year, year) findViewById<View>(R.id.authorsLayout).setOnClickListener { startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(getString(R.string.app_authors_url)))) } findViewById<View>(R.id.licenseLayout).setOnClickListener { startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(getString(R.string.app_license_url)))) } Loading
app/ui/src/main/res/layout/about.xml +5 −1 Original line number Diff line number Diff line Loading @@ -60,12 +60,16 @@ </LinearLayout> <LinearLayout android:id="@+id/authorsLayout" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="16dp" android:paddingBottom="16dp" android:paddingLeft="16dp" android:gravity="center_vertical"> android:gravity="center_vertical" android:clickable="true" android:focusable="true" android:background="?attr/selectableItemBackground"> <ImageView android:src="?attr/iconAboutAuthors" android:layout_width="28dp" Loading
app/ui/src/main/res/values/strings.xml +1 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ <!-- Used in the about dialog --> <string name="app_authors">The K-9 Dog Walkers</string> <string name="app_authors_url">https://github.com/k9mail/k-9/graphs/contributors</string> <string name="app_copyright_fmt">Copyright 2008-<xliff:g>%s</xliff:g> The K-9 Dog Walkers. Portions Copyright 2006-<xliff:g>%s</xliff:g> the Android Open Source Project.</string> <string name="source_code">Source</string> <string name="app_source_url">https://github.com/k9mail/k-9</string> Loading