mirror of https://github.com/YTVanced/VancedMicroG
95 lines
3.4 KiB
XML
95 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2015 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.
|
|
-->
|
|
|
|
<ScrollView
|
|
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">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/dialog_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?android:attr/colorBackground"
|
|
android:divider="?attr/dividerHorizontal"
|
|
android:orientation="vertical"
|
|
android:showDividers="middle">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="24dp"
|
|
android:paddingTop="18dp"
|
|
android:paddingRight="24dp"
|
|
android:paddingBottom="24dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/permission_icon"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginBottom="12dp"
|
|
android:scaleType="fitCenter"
|
|
android:src="@drawable/ic_cloud_bell"
|
|
app:tint="?attr/colorAccent">
|
|
</ImageView>
|
|
|
|
<TextView
|
|
android:id="@+id/permission_message"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="@string/gcm_allow_app_popup"
|
|
android:textSize="18sp">
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:divider="?attr/dividerHorizontal"
|
|
android:orientation="vertical"
|
|
android:showDividers="middle">
|
|
|
|
<Button
|
|
android:id="@+id/permission_allow_button"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:paddingLeft="8dp"
|
|
android:paddingRight="8dp"
|
|
android:text="@string/allow">
|
|
</Button>
|
|
|
|
<Button
|
|
android:id="@+id/permission_deny_button"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:paddingLeft="8dp"
|
|
android:paddingRight="8dp"
|
|
android:text="@string/deny">
|
|
</Button>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|