Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit f241111a authored by williamvds's avatar williamvds
Browse files

Link to contributors in About

parent 5785d0bb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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))))
        }
+5 −1
Original line number Diff line number Diff line
@@ -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"
+1 −0
Original line number Diff line number Diff line
@@ -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>