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.
77 lines
3.3 KiB
77 lines
3.3 KiB
4 months ago
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!--
|
||
|
Copyright 2019 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.constraintlayout.widget.ConstraintLayout
|
||
|
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="match_parent">
|
||
|
|
||
|
<com.android.pump.widget.UriImageView
|
||
|
android:id="@+id/fragment_permission_image"
|
||
|
android:layout_width="222dp"
|
||
|
android:layout_height="222dp"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
app:layout_constraintBottom_toTopOf="@id/fragment_permission_text1"
|
||
|
app:layout_constraintVertical_chainStyle="packed"
|
||
|
app:srcCompat="@drawable/ic_placeholder"/>
|
||
|
|
||
|
<androidx.appcompat.widget.AppCompatTextView
|
||
|
android:id="@+id/fragment_permission_text1"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="24dp"
|
||
|
android:layout_marginStart="24dp"
|
||
|
android:layout_marginEnd="24dp"
|
||
|
android:gravity="center_horizontal"
|
||
|
android:textSize="24sp"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@id/fragment_permission_image"
|
||
|
app:layout_constraintBottom_toTopOf="@id/fragment_permission_text2"
|
||
|
android:text="Start the show"/>
|
||
|
|
||
|
<androidx.appcompat.widget.AppCompatTextView
|
||
|
android:id="@+id/fragment_permission_text2"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="24dp"
|
||
|
android:layout_marginStart="24dp"
|
||
|
android:layout_marginEnd="24dp"
|
||
|
android:gravity="center_horizontal"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@id/fragment_permission_text1"
|
||
|
app:layout_constraintBottom_toTopOf="@id/fragment_permission_button"
|
||
|
android:text=
|
||
|
"To play your videos and audios, allow access to the media files on your device."/>
|
||
|
|
||
|
<com.google.android.material.button.MaterialButton
|
||
|
android:id="@+id/fragment_permission_button"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="24dp"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@id/fragment_permission_text2"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
android:text="Allow Access"/>
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|