summaryrefslogtreecommitdiffstats
path: root/mobile/android/fenix/app/src/main/res/layout/fragment_add_ons_management.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/fenix/app/src/main/res/layout/fragment_add_ons_management.xml')
-rw-r--r--mobile/android/fenix/app/src/main/res/layout/fragment_add_ons_management.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/mobile/android/fenix/app/src/main/res/layout/fragment_add_ons_management.xml b/mobile/android/fenix/app/src/main/res/layout/fragment_add_ons_management.xml
new file mode 100644
index 0000000000..39d1a2881b
--- /dev/null
+++ b/mobile/android/fenix/app/src/main/res/layout/fragment_add_ons_management.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/add_ons_list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginTop="2dp"
+ tools:context=".BrowserActivity" />
+
+ <include
+ android:id="@+id/addonProgressOverlay"
+ layout="@layout/overlay_add_on_progress"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:visibility="gone" />
+
+ <ProgressBar
+ android:id="@+id/add_ons_progress_bar"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center" />
+
+ <TextView
+ android:id="@+id/add_ons_empty_message"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="4dp"
+ android:layout_gravity="center"
+ android:gravity="center"
+ android:text="@string/extensions_management_no_extensions"
+ android:textAlignment="center"
+ android:textColor="?attr/textSecondary"
+ android:textSize="16sp"
+ android:visibility="gone"/>
+
+</androidx.coordinatorlayout.widget.CoordinatorLayout>