From 16860603fd77e016f5217a60e4ab86c2eac0eb81 Mon Sep 17 00:00:00 2001 From: Yuuu2990 <110877395+Yuuu2990@users.noreply.github.com> Date: Wed, 26 Oct 2022 18:59:51 +1100 Subject: [PATCH] Add Link to FAQ in the app (#9164) * Link to FAQ in the app #4447 * remove redundant comments produced by me. * Update app/src/main/res/values/strings.xml Update FAQ description Co-authored-by: opusforlife2 <53176348+opusforlife2@users.noreply.github.com> * Format the CodeStyle and readjust the layout. * Update app/src/main/res/layout/fragment_about.xml Remove redundant id. Co-authored-by: Stypox * Update app/src/main/res/layout/fragment_about.xml Remove redundant id. Co-authored-by: Stypox * Update app/src/main/res/values/strings.xml Keep the uppercase for consistency. Co-authored-by: Stypox * Update app/src/main/res/values/strings.xml Modify the description of FAQ. Co-authored-by: Stypox Co-authored-by: opusforlife2 <53176348+opusforlife2@users.noreply.github.com> Co-authored-by: Stypox --- .../org/schabi/newpipe/about/AboutActivity.kt | 1 + app/src/main/res/layout/fragment_about.xml | 20 +++++++++++++++++++ app/src/main/res/values/donottranslate.xml | 1 + app/src/main/res/values/strings.xml | 5 ++++- 4 files changed, 26 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/about/AboutActivity.kt b/app/src/main/java/org/schabi/newpipe/about/AboutActivity.kt index 50a3984e3..c1eec1526 100644 --- a/app/src/main/java/org/schabi/newpipe/about/AboutActivity.kt +++ b/app/src/main/java/org/schabi/newpipe/about/AboutActivity.kt @@ -78,6 +78,7 @@ class AboutActivity : AppCompatActivity() { aboutDonationLink.openLink(R.string.donation_url) aboutWebsiteLink.openLink(R.string.website_url) aboutPrivacyPolicyLink.openLink(R.string.privacy_policy_url) + faqLink.openLink(R.string.faq_url) return root } } diff --git a/app/src/main/res/layout/fragment_about.xml b/app/src/main/res/layout/fragment_about.xml index 1807acb10..5e6e11d00 100644 --- a/app/src/main/res/layout/fragment_about.xml +++ b/app/src/main/res/layout/fragment_about.xml @@ -44,6 +44,26 @@ android:paddingBottom="5dp" android:text="@string/app_description" /> + + + + +