about: add mark pitblado to about sponsors
This commit is contained in:
parent
9e683a7856
commit
44633142d9
3 changed files with 16 additions and 0 deletions
|
@ -72,6 +72,9 @@ class AboutFragment : ViewBindingFragment<FragmentAboutBinding>() {
|
|||
binding.aboutLicenses.setOnClickListener { requireContext().openInBrowser(LINK_LICENSES) }
|
||||
binding.aboutProfile.setOnClickListener { requireContext().openInBrowser(LINK_PROFILE) }
|
||||
binding.aboutDonate.setOnClickListener { requireContext().openInBrowser(LINK_DONATE) }
|
||||
binding.aboutSupMarkPitblado.setOnClickListener {
|
||||
requireContext().openInBrowser(LINK_SUP_MARK_PITBLADO)
|
||||
}
|
||||
binding.aboutFeedbackGithub.setOnClickListener {
|
||||
requireContext().openInBrowser(LINK_NEW_ISSUE)
|
||||
}
|
||||
|
@ -113,5 +116,6 @@ class AboutFragment : ViewBindingFragment<FragmentAboutBinding>() {
|
|||
const val LINK_NEW_ISSUE = "$LINK_SOURCE/issues/new"
|
||||
const val LINK_PROFILE = "https://github.com/OxygenCobalt"
|
||||
const val LINK_DONATE = "https://github.com/sponsors/OxygenCobalt"
|
||||
const val LINK_SUP_MARK_PITBLADO = "https://github.com/mark-pitblado"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -226,6 +226,17 @@
|
|||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_sup_mark_pitblado"
|
||||
style="@style/Widget.Auxio.TextView.Icon.Clickable"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/sup_mark_pitblado"
|
||||
android:textAppearance="@style/TextAppearance.Auxio.BodyMedium"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/about_licenses" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_supporters_promo"
|
||||
style="@style/Widget.Auxio.TextView.Icon.Clickable"
|
||||
|
|
|
@ -20,4 +20,5 @@
|
|||
<string name="pkg_authority_cover">org.oxycblt.auxio.image.CoverProvider</string>
|
||||
|
||||
<!-- Supporter Namespace | Sponsor usernames -->
|
||||
<string name="sup_mark_pitblado">Mark Pitblado</string>
|
||||
</resources>
|
Loading…
Reference in a new issue