115 lines
4.8 KiB
XML
115 lines
4.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2020 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.
|
|
-->
|
|
|
|
<RelativeLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/interact_across_profiles_dialog_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="24dp"
|
|
android:paddingEnd="24dp"
|
|
android:orientation="horizontal">
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
|
android:id="@+id/interact_across_profiles_dialog"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:gravity="start"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/interact_across_profiles_consent_dialog_title"
|
|
android:text="@string/interact_across_profiles_consent_dialog_title"
|
|
style="@style/CrossProfileConsentDialogTitle"/>
|
|
|
|
<TextView
|
|
android:id="@+id/interact_across_profiles_consent_dialog_summary"
|
|
android:text="@string/interact_across_profiles_consent_dialog_summary"
|
|
style="@style/CrossProfileConsentDialogDescription"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/app_data_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="16pt"
|
|
android:gravity="start"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/app_data_icon"
|
|
android:src="@drawable/ic_analytics_grey"
|
|
style="@style/CrossProfileConsentDialogIcon"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/app_data_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="16dp"
|
|
android:gravity="start"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/app_data_title"
|
|
android:text="@string/interact_across_profiles_consent_dialog_app_data_title"
|
|
style="@style/CrossProfileConsentDialogSubTitle"/>
|
|
|
|
<TextView
|
|
android:id="@+id/app_data_summary"
|
|
android:text="@string/interact_across_profiles_consent_dialog_app_data_summary"
|
|
style="@style/CrossProfileConsentDialogSubDescription"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/permissions_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="start"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/permissions_icon"
|
|
android:src="@drawable/ic_storage_grey"
|
|
style="@style/CrossProfileConsentDialogIcon"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/permissions_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="start"
|
|
android:paddingStart="16dp"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/permissions_title"
|
|
android:text="@string/interact_across_profiles_consent_dialog_permissions_title"
|
|
style="@style/CrossProfileConsentDialogSubTitle"/>
|
|
|
|
<TextView
|
|
android:id="@+id/permissions_summary"
|
|
android:text="@string/interact_across_profiles_consent_dialog_permissions_summary"
|
|
style="@style/CrossProfileConsentDialogSubDescription"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</RelativeLayout>
|