68 lines
2.9 KiB
XML
68 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2023 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:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
|
|
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
|
android:layout_marginTop="@dimen/qc_code_preference_margin"
|
|
android:layout_marginBottom="@dimen/qc_code_preference_margin"
|
|
android:layout_centerHorizontal="true"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/hotspot_qr_code_instruction"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/qc_code_preference_margin"
|
|
android:textAppearance="@style/TextAppearance.CarUi.PreferenceSummary"/>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:scaleType="fitCenter"
|
|
android:antialias="true"
|
|
android:layout_marginTop="@dimen/qc_code_preference_margin"
|
|
android:layout_marginBottom="@dimen/qc_code_preference_margin"
|
|
app:cardElevation="@dimen/card_view_elevation"
|
|
app:cardCornerRadius="@dimen/rounded_corner_radius">
|
|
<ImageView
|
|
android:id="@+id/hotspot_qr_code"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<TextView
|
|
android:id="@+id/hotspot_qr_code_password"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/qc_code_preference_margin"
|
|
android:layout_marginBottom="@dimen/qc_code_preference_margin"
|
|
android:textAppearance="@style/TextAppearance.CarUi.PreferenceSummary"/>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/divider_preference_height"
|
|
android:layout_marginBottom="@dimen/divider_preference_margin_top"
|
|
android:layout_marginTop="@dimen/divider_preference_margin_bottom"
|
|
style="@style/Preference.CarUi.Divider"/>
|
|
</LinearLayout>
|