63 lines
2.4 KiB
XML
63 lines
2.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.
|
||
|
|
-->
|
||
|
|
<LinearLayout
|
||
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
|
android:id="@+id/entity_header_content"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_centerHorizontal="true"
|
||
|
|
android:gravity="center_horizontal"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:padding="@dimen/spacing_large"
|
||
|
|
tools:ignore="MissingDefaultResource">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/permission_header_icon"
|
||
|
|
android:layout_width="@dimen/app_header_icon_size"
|
||
|
|
android:layout_height="@dimen/app_header_icon_size"
|
||
|
|
android:scaleType="fitCenter"
|
||
|
|
android:antialias="true"
|
||
|
|
tools:src="@drawable/health_connect_logo" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/permission_header_title"
|
||
|
|
style="@style/TextAppearance.EntityHeaderTitle"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:singleLine="false"
|
||
|
|
android:gravity="center"
|
||
|
|
android:ellipsize="marquee"
|
||
|
|
android:textDirection="locale"
|
||
|
|
android:layout_marginVertical="@dimen/spacing_small"
|
||
|
|
tools:text="@string/permgrouplab_health" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/permission_header_summary"
|
||
|
|
style="@style/TextAppearance.EntityHeaderSummary"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:text="@string/health_permission_header_description"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="2dp"
|
||
|
|
android:singleLine="false"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:layout_marginHorizontal="@dimen/spacing_normal"
|
||
|
|
android:visibility="gone"
|
||
|
|
tools:visibility="visible"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|