forked from upstream-mirrors/OpenTracks
135 lines
5.2 KiB
XML
135 lines
5.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/track_list_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
app:navigationIcon="@drawable/ic_baseline_info_24"
|
|
app:title="@string/about_preference_title" />
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="?attr/actionBarSize"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="20dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="8dp"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView"
|
|
android:layout_width="30dp"
|
|
android:layout_height="match_parent"
|
|
android:contentDescription="@string/app_name"
|
|
android:scaleType="fitCenter"
|
|
android:src="@drawable/ic_logo_color_24dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/about_text_description"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:padding="12dp"
|
|
android:textAppearance="?attr/textAppearanceSubtitle1" />
|
|
</LinearLayout>
|
|
|
|
<View style="@style/HorizontalLine" />
|
|
|
|
<TextView
|
|
android:id="@+id/about_text_version_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="6dp"
|
|
android:textAppearance="?attr/textAppearanceSubtitle1" />
|
|
|
|
<TextView
|
|
android:id="@+id/about_text_version_code"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="6dp"
|
|
android:textAppearance="?attr/textAppearanceBody1" />
|
|
|
|
<TextView
|
|
android:id="@+id/about_app_url"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:autoLink="web"
|
|
android:gravity="center"
|
|
android:padding="6dp"
|
|
android:textAppearance="?attr/textAppearanceBody1" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:linksClickable="true"
|
|
android:padding="6dp"
|
|
android:text="@string/about_history"
|
|
android:textAppearance="?attr/textAppearanceBody1" />
|
|
|
|
<View style="@style/HorizontalLine" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="12dp"
|
|
android:text="@string/about_third_party_data"
|
|
android:textAppearance="?attr/textAppearanceBody1" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="12dp"
|
|
android:text="@string/third_party_data"
|
|
android:textAppearance="?attr/textAppearanceBody1" />
|
|
|
|
<View style="@style/HorizontalLine" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="12dp"
|
|
android:text="@string/about_libraries"
|
|
android:textAppearance="?attr/textAppearanceSubtitle1" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:linksClickable="true"
|
|
android:text="@string/third_party_libraries"
|
|
android:textAppearance="?attr/textAppearanceBody1" />
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
<include
|
|
android:id="@+id/bottom_app_bar_layout"
|
|
layout="@layout/bottomappbar" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|