131 lines
5.4 KiB
XML
131 lines
5.4 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
||
|
|
Copyright (C) 2022 The Android Open Source Project
|
||
|
|
|
||
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
|
you may not use this file except in compliance with the License.
|
||
|
|
You may obtain a copy of the License at
|
||
|
|
|
||
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
|
|
||
|
|
Unless required by applicable law or agreed to in writing, software
|
||
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
|
See the License for the specific language governing permissions and
|
||
|
|
limitations under the License.
|
||
|
|
-->
|
||
|
|
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:id="@+id/scroll_view"
|
||
|
|
android:paddingHorizontal="@dimen/spacing_large"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/onboarding_content_layout"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/onboarding_title"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/spacing_page_title"
|
||
|
|
android:text="@string/onboarding_title"
|
||
|
|
android:textAppearance="?attr/textAppearanceHeadline2" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/onboarding_description"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/spacing_normal"
|
||
|
|
android:layout_marginBottom="@dimen/spacing_xlarge"
|
||
|
|
android:text="@string/onboarding_description"
|
||
|
|
android:textAppearance="?attr/textAppearanceSummaryLarge" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/onboarding_image"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center_horizontal"
|
||
|
|
android:importantForAccessibility="no"
|
||
|
|
android:src="@drawable/ic_onboarding"
|
||
|
|
android:layout_marginBottom="@dimen/spacing_xlarge"
|
||
|
|
android:scaleType="centerInside" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginBottom="@dimen/spacing_normal">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/share_icon"
|
||
|
|
android:src="?attr/syncIcon"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginEnd="@dimen/spacing_normal"
|
||
|
|
android:visibility="visible" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/share_text"
|
||
|
|
android:text="@string/share_data"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:maxLines="2"
|
||
|
|
android:textAppearance="?attr/textAppearanceSubheader" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/share_description"
|
||
|
|
android:text="@string/share_data_description"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:maxLines="3"
|
||
|
|
android:textAppearance="?attr/textAppearanceSummaryLarge" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/manage_icon"
|
||
|
|
android:src="?attr/manageSettingsIcon"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginEnd="@dimen/spacing_normal"
|
||
|
|
android:visibility="visible" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/manage_text"
|
||
|
|
android:text="@string/manage_your_settings"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:maxLines="2"
|
||
|
|
android:textAppearance="?attr/textAppearanceSubheader" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/description"
|
||
|
|
android:text="@string/manage_your_settings_description"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:maxLines="3"
|
||
|
|
android:textAppearance="?attr/textAppearanceSummaryLarge" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
</androidx.core.widget.NestedScrollView>
|