2020-10-09 18:24:02 +00:00
|
|
|
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-07-04 07:31:53 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context="org.schabi.newpipe.about.AboutActivity$AboutFragment">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
2017-07-04 07:31:53 +00:00
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin">
|
2017-07-04 07:31:53 +00:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/logo"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_marginBottom="8dp"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:contentDescription="TODO"
|
|
|
|
app:srcCompat="@mipmap/ic_launcher" />
|
2017-07-04 07:31:53 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/app_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:text="@string/app_name"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Large" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/app_version"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Medium"
|
|
|
|
tools:text="0.9.9" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/app_description"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-12-05 16:07:31 +00:00
|
|
|
android:paddingBottom="5dp"
|
2017-07-04 07:31:53 +00:00
|
|
|
android:text="@string/app_description" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/title_contribution"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:text="@string/contribution_title"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Medium" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/contribution_encouragement" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/github_link"
|
|
|
|
style="@style/Base.Widget.AppCompat.Button.Borderless"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:text="@string/view_on_github" />
|
|
|
|
|
|
|
|
<TextView
|
2017-12-05 16:07:31 +00:00
|
|
|
android:id="@+id/title_donate"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:text="@string/donation_title"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Medium" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/donation_encouragement" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/donation_link"
|
|
|
|
style="@style/Base.Widget.AppCompat.Button.Borderless"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:text="@string/give_back" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/title_website"
|
2017-07-04 07:31:53 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="10dp"
|
2017-12-05 16:07:31 +00:00
|
|
|
android:text="@string/website_title"
|
2017-07-04 07:31:53 +00:00
|
|
|
android:textAppearance="@android:style/TextAppearance.Medium" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-12-05 16:07:31 +00:00
|
|
|
android:text="@string/website_encouragement" />
|
2017-07-04 07:31:53 +00:00
|
|
|
|
|
|
|
<Button
|
2017-12-05 16:07:31 +00:00
|
|
|
android:id="@+id/website_link"
|
2017-07-04 07:31:53 +00:00
|
|
|
style="@style/Base.Widget.AppCompat.Button.Borderless"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end"
|
2017-12-05 16:07:31 +00:00
|
|
|
android:text="@string/open_in_browser" />
|
2017-07-04 07:31:53 +00:00
|
|
|
|
2018-05-24 15:10:28 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/title_privacy_policy"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:text="@string/privacy_policy_title"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Medium" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/privacy_policy_encouragement" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/privacy_policy_link"
|
|
|
|
style="@style/Base.Widget.AppCompat.Button.Borderless"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:text="@string/read_privacy_policy" />
|
|
|
|
|
2017-07-04 07:31:53 +00:00
|
|
|
</LinearLayout>
|
2019-10-04 12:59:08 +00:00
|
|
|
</androidx.core.widget.NestedScrollView>
|