mirror of
https://github.com/MaintainTeam/LastPipeBender.git
synced 2025-03-01 05:48:22 +03:00
BraveNewPipe: add signature and flavor info into about screen
This commit is contained in:
parent
359e30da07
commit
9b4bd562ab
3 changed files with 28 additions and 0 deletions
|
@ -71,6 +71,8 @@ class AboutActivity : AppCompatActivity() {
|
||||||
): View {
|
): View {
|
||||||
FragmentAboutBinding.inflate(inflater, container, false).apply {
|
FragmentAboutBinding.inflate(inflater, container, false).apply {
|
||||||
aboutAppVersion.text = BuildConfig.VERSION_NAME
|
aboutAppVersion.text = BuildConfig.VERSION_NAME
|
||||||
|
braveMore.braveAppSignature.text = BuildConfig.APPLICATION_ID
|
||||||
|
braveMore.aboutAppFlavor.text = BuildConfig.FLAVOR
|
||||||
braveAbout.braveAboutGithubLink.openLink(R.string.brave_github_url)
|
braveAbout.braveAboutGithubLink.openLink(R.string.brave_github_url)
|
||||||
aboutGithubLink.openLink(R.string.github_url)
|
aboutGithubLink.openLink(R.string.github_url)
|
||||||
aboutDonationLink.openLink(R.string.donation_url)
|
aboutDonationLink.openLink(R.string.donation_url)
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
android:text="@string/app_name"
|
android:text="@string/app_name"
|
||||||
android:textAppearance="@android:style/TextAppearance.Large" />
|
android:textAppearance="@android:style/TextAppearance.Large" />
|
||||||
|
|
||||||
|
<include layout="@layout/include_brave_more"
|
||||||
|
android:id="@+id/brave_more"/>
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/about_app_version"
|
android:id="@+id/about_app_version"
|
||||||
|
|
24
app/src/main/res/layout/include_brave_more.xml
Normal file
24
app/src/main/res/layout/include_brave_more.xml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
|
||||||
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
android:id="@+id/brave_app_signature"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:textAppearance="@android:style/TextAppearance.Small"
|
||||||
|
tools:text="com.github.bravenewpipe" />
|
||||||
|
|
||||||
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
android:id="@+id/about_app_flavor"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:textAppearance="@android:style/TextAppearance.Small"
|
||||||
|
tools:text="braveLegacy" />
|
||||||
|
</LinearLayout>
|
Loading…
Add table
Reference in a new issue