83 lines
2.8 KiB
XML
83 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Last Launcher
|
|
~ Copyright (C) 2019 Shubham Tyagi
|
|
~
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
~ it under the terms of the GNU General Public License as published by
|
|
~ the Free Software Foundation, either version 3 of the License, or
|
|
~ (at your option) any later version.
|
|
~
|
|
~ This program is distributed in the hope that it will be useful,
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
~ GNU General Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU General Public License
|
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
|
|
<LinearLayout android:id="@+id/permission_linear_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="20dp"
|
|
android:gravity="center"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<!-- Title -->
|
|
<TextView
|
|
android:id="@+id/permission_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="10dp"
|
|
android:text="@string/permission_dialog_title"
|
|
android:textSize="24sp"
|
|
android:textStyle="bold" />
|
|
|
|
<!-- Description -->
|
|
<TextView
|
|
android:id="@+id/permission_description"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="10dp"
|
|
android:text="@string/permission_dialog_message"
|
|
android:textSize="16sp"
|
|
android:lineSpacingMultiplier="1.2" />
|
|
|
|
<!-- Usage Access Permission -->
|
|
<TextView
|
|
android:id="@+id/permission_usage_access"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="15dp"
|
|
android:layout_margin="5dp"
|
|
android:text="Enable Usage Access"
|
|
android:textSize="20sp"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
|
|
|
|
<!-- Continue Button -->
|
|
<TextView
|
|
android:id="@+id/permission_continue"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="15dp"
|
|
android:layout_margin="10dp"
|
|
android:layout_marginTop="20dp"
|
|
android:text="Continue to Lunox"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
</LinearLayout>
|