Allow exporting current device config

This commit is contained in:
Rahul Kumar Patel
2021-05-14 02:52:55 +05:30
parent 2cb10c2fd4
commit 9f1feb9ea1
5 changed files with 101 additions and 12 deletions

View File

@@ -23,14 +23,14 @@
android:layout_height="match_parent">
<include
android:id="@+id/layout_toolbar_action"
layout="@layout/view_toolbar_action" />
android:id="@+id/layout_action_toolbar"
layout="@layout/view_toolbar_native" />
<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/layout_toolbar_action"
android:layout_below="@id/layout_action_toolbar"
android:background="@android:color/transparent"
android:paddingStart="@dimen/margin_large"
android:paddingEnd="@dimen/margin_large"

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Aurora Store
~ Copyright (C) 2021, Rahul Kumar Patel <whyorean@gmail.com>
~
~ Aurora Store 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 2 of the License, or
~ (at your option) any later version.
~
~ Aurora Store 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 Aurora Store. If not, see <http://www.gnu.org/licenses/>.
~
-->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/action_export"
android:title="@string/action_export" />
</menu>

View File

@@ -364,4 +364,6 @@
<string name="toast_rated_success">Rated successfully</string>
<string name="toast_rated_failed">Failed to submit rating</string>
<string name="toast_aas_token_failed">Failed to generate AAS Token</string>
<string name="toast_export_success">Device config exported successfully</string>
<string name="toast_export_failed">Failed to export device config</string>
</resources>