[brand] Fork info @ AboutActivity
This commit is contained in:
parent
a4d42b3852
commit
084f5b5fe8
|
@ -2,7 +2,6 @@ package com.keylesspalace.tusky
|
||||||
|
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import androidx.annotation.StringRes
|
|
||||||
import android.text.SpannableString
|
import android.text.SpannableString
|
||||||
import android.text.SpannableStringBuilder
|
import android.text.SpannableStringBuilder
|
||||||
import android.text.method.LinkMovementMethod
|
import android.text.method.LinkMovementMethod
|
||||||
|
@ -10,6 +9,7 @@ import android.text.style.URLSpan
|
||||||
import android.text.util.Linkify
|
import android.text.util.Linkify
|
||||||
import android.view.MenuItem
|
import android.view.MenuItem
|
||||||
import android.widget.TextView
|
import android.widget.TextView
|
||||||
|
import androidx.annotation.StringRes
|
||||||
import com.keylesspalace.tusky.di.Injectable
|
import com.keylesspalace.tusky.di.Injectable
|
||||||
import com.keylesspalace.tusky.util.CustomURLSpan
|
import com.keylesspalace.tusky.util.CustomURLSpan
|
||||||
import kotlinx.android.synthetic.main.activity_about.*
|
import kotlinx.android.synthetic.main.activity_about.*
|
||||||
|
@ -33,6 +33,7 @@ class AboutActivity : BottomSheetActivity(), Injectable {
|
||||||
|
|
||||||
aboutLicenseInfoTextView.setClickableTextWithoutUnderlines(R.string.about_tusky_license)
|
aboutLicenseInfoTextView.setClickableTextWithoutUnderlines(R.string.about_tusky_license)
|
||||||
aboutWebsiteInfoTextView.setClickableTextWithoutUnderlines(R.string.about_project_site)
|
aboutWebsiteInfoTextView.setClickableTextWithoutUnderlines(R.string.about_project_site)
|
||||||
|
aboutYuitoTextView.setClickableTextWithoutUnderlines(R.string.about_yuito)
|
||||||
aboutBugsFeaturesInfoTextView.setClickableTextWithoutUnderlines(R.string.about_bug_feature_request_site)
|
aboutBugsFeaturesInfoTextView.setClickableTextWithoutUnderlines(R.string.about_bug_feature_request_site)
|
||||||
|
|
||||||
tuskyProfileButton.setOnClickListener {
|
tuskyProfileButton.setOnClickListener {
|
||||||
|
|
|
@ -54,6 +54,19 @@
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
tools:text="@string/about_tusky_license" />
|
tools:text="@string/about_tusky_license" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/aboutYuitoTextView"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="24dp"
|
||||||
|
android:lineSpacingMultiplier="1.2"
|
||||||
|
android:paddingStart="@dimen/text_content_margin"
|
||||||
|
android:paddingEnd="@dimen/text_content_margin"
|
||||||
|
android:textAlignment="center"
|
||||||
|
android:textIsSelectable="true"
|
||||||
|
android:textSize="16sp"
|
||||||
|
tools:text="@string/about_yuito" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/aboutWebsiteInfoTextView"
|
android:id="@+id/aboutWebsiteInfoTextView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|
|
@ -280,6 +280,10 @@
|
||||||
to show we do not mean the software is gratis. Source: https://www.gnu.org/philosophy/free-sw.html
|
to show we do not mean the software is gratis. Source: https://www.gnu.org/philosophy/free-sw.html
|
||||||
* the url can be changed to link to the localized version of the license.
|
* the url can be changed to link to the localized version of the license.
|
||||||
-->
|
-->
|
||||||
|
<string name="about_yuito">
|
||||||
|
Yuito is fork of Tusky.\n
|
||||||
|
https://github.com/tuskyapp/Tusky
|
||||||
|
</string>
|
||||||
<string name="about_project_site">
|
<string name="about_project_site">
|
||||||
Project website:\n
|
Project website:\n
|
||||||
https://tusky.app
|
https://tusky.app
|
||||||
|
|
Loading…
Reference in New Issue