You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
140 lines
5.6 KiB
140 lines
5.6 KiB
|
2 years ago
|
<?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"
|
||
|
|
android:id="@+id/broadcast_info_area"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="start|center_vertical"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<View
|
||
|
|
style="@style/BroadcastDialog.Divider.Horizontal"
|
||
|
|
android:layout_marginBottom="6dp"/>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/broadcast_qrcode_layout"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal" >
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/qrcode_view"
|
||
|
|
android:layout_width="@dimen/media_output_qrcode_size"
|
||
|
|
android:layout_height="@dimen/media_output_qrcode_size"
|
||
|
|
android:src="@android:color/transparent"
|
||
|
|
android:gravity="start|center_vertical"
|
||
|
|
android:layout_marginStart="82dp"/>
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/broadcast_info"
|
||
|
|
android:layout_width="@dimen/media_output_broadcast_info"
|
||
|
|
android:layout_height="@dimen/media_output_broadcast_info"
|
||
|
|
android:src="@drawable/ic_info_outline"
|
||
|
|
android:tint="?android:attr/textColorTertiary"
|
||
|
|
android:clickable="true"
|
||
|
|
android:layout_marginTop="168dp"
|
||
|
|
android:layout_marginStart="31dp"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/broadcast_name_layout"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:paddingStart="@dimen/media_output_broadcast_info_item_padding_start"
|
||
|
|
android:paddingEnd="@dimen/media_output_broadcast_info_item_padding_end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:orientation="vertical"
|
||
|
|
style="@style/BroadcastDialog.InfoItem" >
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/broadcast_name_title"
|
||
|
|
android:text="@string/media_output_broadcast_name"
|
||
|
|
style="@style/BroadcastDialog.InfoItem.Title" />
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/broadcast_name_summary"
|
||
|
|
style="@style/BroadcastDialog.InfoItem.Summary" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<View
|
||
|
|
style="@style/BroadcastDialog.Divider.Vertical" />
|
||
|
|
|
||
|
|
<FrameLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end|center_vertical">
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/broadcast_name_edit"
|
||
|
|
style="@style/BroadcastDialog.InfoItem.Edit" />
|
||
|
|
</FrameLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/broadcast_code_layout"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:paddingStart="@dimen/media_output_broadcast_info_item_padding_start"
|
||
|
|
android:paddingEnd="@dimen/media_output_broadcast_info_item_padding_end"
|
||
|
|
android:orientation="horizontal" >
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:orientation="vertical"
|
||
|
|
style="@style/BroadcastDialog.InfoItem" >
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/broadcast_code_title"
|
||
|
|
android:text="@string/media_output_broadcast_code"
|
||
|
|
style="@style/BroadcastDialog.InfoItem.Title" />
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/broadcast_code_summary"
|
||
|
|
style="@style/BroadcastDialog.InfoItem.Summary" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<FrameLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end|center_vertical"
|
||
|
|
android:layout_marginEnd="26dp">
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/broadcast_code_eye"
|
||
|
|
android:layout_width="20dp"
|
||
|
|
android:layout_height="16dp"
|
||
|
|
android:background="?android:attr/selectableItemBackground"
|
||
|
|
android:clickable="true"
|
||
|
|
android:focusable="true"
|
||
|
|
android:src="@drawable/ic_broadcast_code_eye"
|
||
|
|
android:tint="?android:attr/textColorPrimary"/>
|
||
|
|
</FrameLayout>
|
||
|
|
|
||
|
|
<View
|
||
|
|
style="@style/BroadcastDialog.Divider.Vertical" />
|
||
|
|
|
||
|
|
<FrameLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end|center_vertical">
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/broadcast_code_edit"
|
||
|
|
style="@style/BroadcastDialog.InfoItem.Edit" />
|
||
|
|
</FrameLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<View
|
||
|
|
style="@style/BroadcastDialog.Divider.Horizontal"
|
||
|
|
android:layout_marginTop="14dp"
|
||
|
|
android:layout_marginBottom="20dp"/>
|
||
|
|
</LinearLayout>
|