From 1c3ac3c4e9efeed47f2c9568d738b0099a85a5f2 Mon Sep 17 00:00:00 2001
From: Gboy9155 <32224410+Gboy9155@users.noreply.github.com>
Date: Wed, 3 Jan 2018 21:29:22 +0100
Subject: [PATCH] loading bar on youtube search
---
MusicApp/MainActivity.cs | 4 +
MusicApp/MusicApp.csproj | 5 +
.../Resources/Portable Class/YoutubeEngine.cs | 22 +-
MusicApp/Resources/Resource.Designer.cs | 432 +++++++++---------
.../Resources/layout/EmptyLoadingLayout.xml | 16 +
5 files changed, 264 insertions(+), 215 deletions(-)
create mode 100644 MusicApp/Resources/layout/EmptyLoadingLayout.xml
diff --git a/MusicApp/MainActivity.cs b/MusicApp/MainActivity.cs
index ef5d43c..4e5da7e 100644
--- a/MusicApp/MainActivity.cs
+++ b/MusicApp/MainActivity.cs
@@ -290,7 +290,9 @@ namespace MusicApp
searchView.QueryTextSubmit += (s, e) =>
{
if (YoutubeEngine.instance != null)
+#pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
YoutubeEngine.instance.Search(e.Query);
+#pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
e.Handled = true;
};
@@ -418,7 +420,9 @@ namespace MusicApp
case Resource.Id.downloadLayout:
if (YoutubeEngine.instance != null)
{
+#pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
YoutubeEngine.instance.Refresh();
+#pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
return;
}
diff --git a/MusicApp/MusicApp.csproj b/MusicApp/MusicApp.csproj
index 91b7d78..1c3d805 100644
--- a/MusicApp/MusicApp.csproj
+++ b/MusicApp/MusicApp.csproj
@@ -454,6 +454,11 @@
+
+
+ Designer
+
+
diff --git a/MusicApp/Resources/Portable Class/YoutubeEngine.cs b/MusicApp/Resources/Portable Class/YoutubeEngine.cs
index ae169cf..4b0afcc 100644
--- a/MusicApp/Resources/Portable Class/YoutubeEngine.cs
+++ b/MusicApp/Resources/Portable Class/YoutubeEngine.cs
@@ -80,13 +80,24 @@ namespace MusicApp.Resources.Portable_Class
return instance;
}
- public async Task Search(string search)
+ public async Task Search(string search, bool loadingBar = true)
{
if (search == null || search == "")
return;
searchKeyWorld = search;
+ View empty = null;
+ if (loadingBar)
+ {
+ ListAdapter = null;
+ ViewGroup rootView = Activity.FindViewById(Android.Resource.Id.Content);
+ rootView.RemoveView(emptyView);
+ empty = LayoutInflater.Inflate(Resource.Layout.EmptyLoadingLayout, null);
+ ListView.EmptyView = empty;
+ Activity.AddContentView(empty, View.LayoutParameters);
+ }
+
if (MainActivity.instance.TokenHasExpire())
{
youtubeService = null;
@@ -112,6 +123,13 @@ namespace MusicApp.Resources.Portable_Class
result.Add(videoInfo);
}
+ if (loadingBar)
+ {
+ ViewGroup rootView = Activity.FindViewById(Android.Resource.Id.Content);
+ rootView.RemoveView(empty);
+ ListView.EmptyView = emptyView;
+ }
+
ListAdapter = new Adapter(Android.App.Application.Context, Resource.Layout.SongList, result);
}
@@ -123,7 +141,7 @@ namespace MusicApp.Resources.Portable_Class
public async Task Refresh()
{
- await Search(searchKeyWorld);
+ await Search(searchKeyWorld, false);
}
private void ListView_ItemClick(object sender, AdapterView.ItemClickEventArgs e)
diff --git a/MusicApp/Resources/Resource.Designer.cs b/MusicApp/Resources/Resource.Designer.cs
index 315f9b4..3071e78 100644
--- a/MusicApp/Resources/Resource.Designer.cs
+++ b/MusicApp/Resources/Resource.Designer.cs
@@ -2538,8 +2538,8 @@ namespace MusicApp
public partial class Id
{
- // aapt resource value: 0x7f0800ad
- public const int action0 = 2131230893;
+ // aapt resource value: 0x7f0800ae
+ public const int action0 = 2131230894;
// aapt resource value: 0x7f08007b
public const int action_bar = 2131230843;
@@ -2562,17 +2562,17 @@ namespace MusicApp
// aapt resource value: 0x7f080058
public const int action_bar_title = 2131230808;
- // aapt resource value: 0x7f0800aa
- public const int action_container = 2131230890;
+ // aapt resource value: 0x7f0800ab
+ public const int action_container = 2131230891;
// aapt resource value: 0x7f08007c
public const int action_context_bar = 2131230844;
- // aapt resource value: 0x7f0800b1
- public const int action_divider = 2131230897;
+ // aapt resource value: 0x7f0800b2
+ public const int action_divider = 2131230898;
- // aapt resource value: 0x7f0800ab
- public const int action_image = 2131230891;
+ // aapt resource value: 0x7f0800ac
+ public const int action_image = 2131230892;
// aapt resource value: 0x7f080003
public const int action_menu_divider = 2131230723;
@@ -2589,11 +2589,11 @@ namespace MusicApp
// aapt resource value: 0x7f08005a
public const int action_mode_close_button = 2131230810;
- // aapt resource value: 0x7f0800ac
- public const int action_text = 2131230892;
+ // aapt resource value: 0x7f0800ad
+ public const int action_text = 2131230893;
- // aapt resource value: 0x7f0800ba
- public const int actions = 2131230906;
+ // aapt resource value: 0x7f0800bb
+ public const int actions = 2131230907;
// aapt resource value: 0x7f08005b
public const int activity_chooser_view_content = 2131230811;
@@ -2601,8 +2601,8 @@ namespace MusicApp
// aapt resource value: 0x7f08002f
public const int add = 2131230767;
- // aapt resource value: 0x7f0800df
- public const int albumArt = 2131230943;
+ // aapt resource value: 0x7f0800e0
+ public const int albumArt = 2131230944;
// aapt resource value: 0x7f08006f
public const int alertTitle = 2131230831;
@@ -2613,8 +2613,8 @@ namespace MusicApp
// aapt resource value: 0x7f080034
public const int always = 2131230772;
- // aapt resource value: 0x7f0800e0
- public const int artist = 2131230944;
+ // aapt resource value: 0x7f0800e1
+ public const int artist = 2131230945;
// aapt resource value: 0x7f080040
public const int auto = 2131230784;
@@ -2625,11 +2625,11 @@ namespace MusicApp
// aapt resource value: 0x7f080039
public const int bottom = 2131230777;
- // aapt resource value: 0x7f0800a7
- public const int bottomView = 2131230887;
+ // aapt resource value: 0x7f0800a8
+ public const int bottomView = 2131230888;
- // aapt resource value: 0x7f0800e6
- public const int browseLayout = 2131230950;
+ // aapt resource value: 0x7f0800e7
+ public const int browseLayout = 2131230951;
// aapt resource value: 0x7f08008b
public const int browseList = 2131230859;
@@ -2637,8 +2637,8 @@ namespace MusicApp
// aapt resource value: 0x7f080062
public const int buttonPanel = 2131230818;
- // aapt resource value: 0x7f0800ae
- public const int cancel_action = 2131230894;
+ // aapt resource value: 0x7f0800af
+ public const int cancel_action = 2131230895;
// aapt resource value: 0x7f080041
public const int center = 2131230785;
@@ -2652,8 +2652,8 @@ namespace MusicApp
// aapt resource value: 0x7f080072
public const int checkbox = 2131230834;
- // aapt resource value: 0x7f0800b6
- public const int chronometer = 2131230902;
+ // aapt resource value: 0x7f0800b7
+ public const int chronometer = 2131230903;
// aapt resource value: 0x7f08004a
public const int clip_horizontal = 2131230794;
@@ -2670,11 +2670,11 @@ namespace MusicApp
// aapt resource value: 0x7f080065
public const int contentPanel = 2131230821;
- // aapt resource value: 0x7f0800a5
- public const int contentRefresh = 2131230885;
-
// aapt resource value: 0x7f0800a6
- public const int contentView = 2131230886;
+ public const int contentRefresh = 2131230886;
+
+ // aapt resource value: 0x7f0800a7
+ public const int contentView = 2131230887;
// aapt resource value: 0x7f080090
public const int coordinator = 2131230864;
@@ -2709,20 +2709,23 @@ namespace MusicApp
// aapt resource value: 0x7f080023
public const int disableHome = 2131230755;
- // aapt resource value: 0x7f0800cf
- public const int downFAB = 2131230927;
+ // aapt resource value: 0x7f0800d0
+ public const int downFAB = 2131230928;
- // aapt resource value: 0x7f0800e7
- public const int downloadLayout = 2131230951;
+ // aapt resource value: 0x7f0800e8
+ public const int downloadLayout = 2131230952;
// aapt resource value: 0x7f08007d
public const int edit_query = 2131230845;
+ // aapt resource value: 0x7f08009c
+ public const int emptyLoadingLayout = 2131230876;
+
// aapt resource value: 0x7f080032
public const int end = 2131230770;
- // aapt resource value: 0x7f0800c0
- public const int end_padder = 2131230912;
+ // aapt resource value: 0x7f0800c1
+ public const int end_padder = 2131230913;
// aapt resource value: 0x7f08003b
public const int enterAlways = 2131230779;
@@ -2790,8 +2793,8 @@ namespace MusicApp
// aapt resource value: 0x7f080071
public const int expanded_menu = 2131230833;
- // aapt resource value: 0x7f08009d
- public const int expendChilds = 2131230877;
+ // aapt resource value: 0x7f08009e
+ public const int expendChilds = 2131230878;
// aapt resource value: 0x7f08004c
public const int fill = 2131230796;
@@ -2814,14 +2817,14 @@ namespace MusicApp
// aapt resource value: 0x7f080055
public const int fixed_width = 2131230805;
- // aapt resource value: 0x7f08009c
- public const int folderList = 2131230876;
-
- // aapt resource value: 0x7f08009e
- public const int folderName = 2131230878;
+ // aapt resource value: 0x7f08009d
+ public const int folderList = 2131230877;
// aapt resource value: 0x7f08009f
- public const int folderUsed = 2131230879;
+ public const int folderName = 2131230879;
+
+ // aapt resource value: 0x7f0800a0
+ public const int folderUsed = 2131230880;
// aapt resource value: 0x7f080005
public const int home = 2131230725;
@@ -2832,11 +2835,11 @@ namespace MusicApp
// aapt resource value: 0x7f080060
public const int icon = 2131230816;
- // aapt resource value: 0x7f0800d0
- public const int icon_frame = 2131230928;
+ // aapt resource value: 0x7f0800d1
+ public const int icon_frame = 2131230929;
- // aapt resource value: 0x7f0800bb
- public const int icon_group = 2131230907;
+ // aapt resource value: 0x7f0800bc
+ public const int icon_group = 2131230908;
// aapt resource value: 0x7f080036
public const int ifRoom = 2131230774;
@@ -2844,11 +2847,11 @@ namespace MusicApp
// aapt resource value: 0x7f08005d
public const int image = 2131230813;
- // aapt resource value: 0x7f0800b7
- public const int info = 2131230903;
+ // aapt resource value: 0x7f0800b8
+ public const int info = 2131230904;
- // aapt resource value: 0x7f0800c7
- public const int infoPanel = 2131230919;
+ // aapt resource value: 0x7f0800c8
+ public const int infoPanel = 2131230920;
// aapt resource value: 0x7f080000
public const int item_touch_helper_previous_elevation = 2131230720;
@@ -2856,23 +2859,23 @@ namespace MusicApp
// aapt resource value: 0x7f08008e
public const int largeLabel = 2131230862;
- // aapt resource value: 0x7f0800c2
- public const int lastButton = 2131230914;
+ // aapt resource value: 0x7f0800c3
+ public const int lastButton = 2131230915;
// aapt resource value: 0x7f080045
public const int left = 2131230789;
- // aapt resource value: 0x7f0800bc
- public const int line1 = 2131230908;
+ // aapt resource value: 0x7f0800bd
+ public const int line1 = 2131230909;
- // aapt resource value: 0x7f0800e2
- public const int line2 = 2131230946;
+ // aapt resource value: 0x7f0800e3
+ public const int line2 = 2131230947;
- // aapt resource value: 0x7f0800be
- public const int line3 = 2131230910;
+ // aapt resource value: 0x7f0800bf
+ public const int line3 = 2131230911;
- // aapt resource value: 0x7f0800d2
- public const int list = 2131230930;
+ // aapt resource value: 0x7f0800d3
+ public const int list = 2131230931;
// aapt resource value: 0x7f080020
public const int listMode = 2131230752;
@@ -2880,11 +2883,11 @@ namespace MusicApp
// aapt resource value: 0x7f08005f
public const int list_item = 2131230815;
- // aapt resource value: 0x7f0800e4
- public const int masked = 2131230948;
+ // aapt resource value: 0x7f0800e5
+ public const int masked = 2131230949;
- // aapt resource value: 0x7f0800b0
- public const int media_actions = 2131230896;
+ // aapt resource value: 0x7f0800b1
+ public const int media_actions = 2131230897;
// aapt resource value: 0x7f080033
public const int middle = 2131230771;
@@ -2892,14 +2895,14 @@ namespace MusicApp
// aapt resource value: 0x7f08004f
public const int mini = 2131230799;
- // aapt resource value: 0x7f0800e1
- public const int moreButton = 2131230945;
+ // aapt resource value: 0x7f0800e2
+ public const int moreButton = 2131230946;
// aapt resource value: 0x7f08002a
public const int multiply = 2131230762;
- // aapt resource value: 0x7f0800e5
- public const int musicLayout = 2131230949;
+ // aapt resource value: 0x7f0800e6
+ public const int musicLayout = 2131230950;
// aapt resource value: 0x7f080095
public const int navigation_header_container = 2131230869;
@@ -2907,23 +2910,23 @@ namespace MusicApp
// aapt resource value: 0x7f080037
public const int never = 2131230775;
+ // aapt resource value: 0x7f0800cc
+ public const int nextArt = 2131230924;
+
+ // aapt resource value: 0x7f0800ce
+ public const int nextArtist = 2131230926;
+
+ // aapt resource value: 0x7f0800c5
+ public const int nextButton = 2131230917;
+
// aapt resource value: 0x7f0800cb
- public const int nextArt = 2131230923;
+ public const int nextSong = 2131230923;
// aapt resource value: 0x7f0800cd
- public const int nextArtist = 2131230925;
+ public const int nextTitle = 2131230925;
- // aapt resource value: 0x7f0800c4
- public const int nextButton = 2131230916;
-
- // aapt resource value: 0x7f0800ca
- public const int nextSong = 2131230922;
-
- // aapt resource value: 0x7f0800cc
- public const int nextTitle = 2131230924;
-
- // aapt resource value: 0x7f0800a9
- public const int noPlaylist = 2131230889;
+ // aapt resource value: 0x7f0800aa
+ public const int noPlaylist = 2131230890;
// aapt resource value: 0x7f080025
public const int none = 2131230757;
@@ -2931,23 +2934,23 @@ namespace MusicApp
// aapt resource value: 0x7f080021
public const int normal = 2131230753;
- // aapt resource value: 0x7f0800b9
- public const int notification_background = 2131230905;
+ // aapt resource value: 0x7f0800ba
+ public const int notification_background = 2131230906;
+
+ // aapt resource value: 0x7f0800b4
+ public const int notification_main_column = 2131230900;
// aapt resource value: 0x7f0800b3
- public const int notification_main_column = 2131230899;
-
- // aapt resource value: 0x7f0800b2
- public const int notification_main_column_container = 2131230898;
+ public const int notification_main_column_container = 2131230899;
// aapt resource value: 0x7f080052
public const int one = 2131230802;
- // aapt resource value: 0x7f0800a4
- public const int pager = 2131230884;
+ // aapt resource value: 0x7f0800a5
+ public const int pager = 2131230885;
- // aapt resource value: 0x7f0800a3
- public const int pagerRefresh = 2131230883;
+ // aapt resource value: 0x7f0800a4
+ public const int pagerRefresh = 2131230884;
// aapt resource value: 0x7f080048
public const int parallax = 2131230792;
@@ -2958,26 +2961,26 @@ namespace MusicApp
// aapt resource value: 0x7f080049
public const int pin = 2131230793;
- // aapt resource value: 0x7f0800c3
- public const int playButton = 2131230915;
+ // aapt resource value: 0x7f0800c4
+ public const int playButton = 2131230916;
- // aapt resource value: 0x7f0800c1
- public const int playerAlbum = 2131230913;
+ // aapt resource value: 0x7f0800c2
+ public const int playerAlbum = 2131230914;
- // aapt resource value: 0x7f0800c9
- public const int playerArtist = 2131230921;
+ // aapt resource value: 0x7f0800ca
+ public const int playerArtist = 2131230922;
+
+ // aapt resource value: 0x7f0800c7
+ public const int playerPlaylistAdd = 2131230919;
// aapt resource value: 0x7f0800c6
- public const int playerPlaylistAdd = 2131230918;
+ public const int playerSleep = 2131230918;
- // aapt resource value: 0x7f0800c5
- public const int playerSleep = 2131230917;
+ // aapt resource value: 0x7f0800c9
+ public const int playerTitle = 2131230921;
- // aapt resource value: 0x7f0800c8
- public const int playerTitle = 2131230920;
-
- // aapt resource value: 0x7f0800e8
- public const int playlistLayout = 2131230952;
+ // aapt resource value: 0x7f0800e9
+ public const int playlistLayout = 2131230953;
// aapt resource value: 0x7f08008c
public const int playlistName = 2131230860;
@@ -2994,11 +2997,11 @@ namespace MusicApp
// aapt resource value: 0x7f080046
public const int right = 2131230790;
- // aapt resource value: 0x7f0800b8
- public const int right_icon = 2131230904;
+ // aapt resource value: 0x7f0800b9
+ public const int right_icon = 2131230905;
- // aapt resource value: 0x7f0800b4
- public const int right_side = 2131230900;
+ // aapt resource value: 0x7f0800b5
+ public const int right_side = 2131230901;
// aapt resource value: 0x7f08002b
public const int screen = 2131230763;
@@ -3018,8 +3021,8 @@ namespace MusicApp
// aapt resource value: 0x7f080051
public const int scrollable = 2131230801;
- // aapt resource value: 0x7f0800d6
- public const int search = 2131230934;
+ // aapt resource value: 0x7f0800d7
+ public const int search = 2131230935;
// aapt resource value: 0x7f08007f
public const int search_badge = 2131230847;
@@ -3051,17 +3054,17 @@ namespace MusicApp
// aapt resource value: 0x7f080088
public const int search_voice_btn = 2131230856;
- // aapt resource value: 0x7f0800d3
- public const int seekbar = 2131230931;
-
// aapt resource value: 0x7f0800d4
- public const int seekbar_value = 2131230932;
+ public const int seekbar = 2131230932;
+
+ // aapt resource value: 0x7f0800d5
+ public const int seekbar_value = 2131230933;
// aapt resource value: 0x7f080089
public const int select_dialog_listview = 2131230857;
- // aapt resource value: 0x7f0800e9
- public const int settings = 2131230953;
+ // aapt resource value: 0x7f0800ea
+ public const int settings = 2131230954;
// aapt resource value: 0x7f080073
public const int shortcut = 2131230835;
@@ -3078,8 +3081,8 @@ namespace MusicApp
// aapt resource value: 0x7f08008d
public const int smallLabel = 2131230861;
- // aapt resource value: 0x7f0800a8
- public const int smallPlayer = 2131230888;
+ // aapt resource value: 0x7f0800a9
+ public const int smallPlayer = 2131230889;
// aapt resource value: 0x7f080094
public const int snackbar_action = 2131230868;
@@ -3090,38 +3093,38 @@ namespace MusicApp
// aapt resource value: 0x7f08003f
public const int snap = 2131230783;
- // aapt resource value: 0x7f0800ce
- public const int songTimer = 2131230926;
-
- // aapt resource value: 0x7f0800d8
- public const int spArt = 2131230936;
-
- // aapt resource value: 0x7f0800da
- public const int spArtist = 2131230938;
-
- // aapt resource value: 0x7f0800d7
- public const int spContainer = 2131230935;
-
- // aapt resource value: 0x7f0800dd
- public const int spLast = 2131230941;
-
- // aapt resource value: 0x7f0800db
- public const int spNext = 2131230939;
-
- // aapt resource value: 0x7f0800dc
- public const int spPlay = 2131230940;
-
- // aapt resource value: 0x7f0800de
- public const int spProgress = 2131230942;
+ // aapt resource value: 0x7f0800cf
+ public const int songTimer = 2131230927;
// aapt resource value: 0x7f0800d9
- public const int spTitle = 2131230937;
+ public const int spArt = 2131230937;
+
+ // aapt resource value: 0x7f0800db
+ public const int spArtist = 2131230939;
+
+ // aapt resource value: 0x7f0800d8
+ public const int spContainer = 2131230936;
+
+ // aapt resource value: 0x7f0800de
+ public const int spLast = 2131230942;
+
+ // aapt resource value: 0x7f0800dc
+ public const int spNext = 2131230940;
+
+ // aapt resource value: 0x7f0800dd
+ public const int spPlay = 2131230941;
+
+ // aapt resource value: 0x7f0800df
+ public const int spProgress = 2131230943;
+
+ // aapt resource value: 0x7f0800da
+ public const int spTitle = 2131230938;
// aapt resource value: 0x7f080063
public const int spacer = 2131230819;
- // aapt resource value: 0x7f0800d1
- public const int spinner = 2131230929;
+ // aapt resource value: 0x7f0800d2
+ public const int spinner = 2131230930;
// aapt resource value: 0x7f080008
public const int split_action_bar = 2131230728;
@@ -3138,8 +3141,8 @@ namespace MusicApp
// aapt resource value: 0x7f080047
public const int start = 2131230791;
- // aapt resource value: 0x7f0800af
- public const int status_bar_latest_event_content = 2131230895;
+ // aapt resource value: 0x7f0800b0
+ public const int status_bar_latest_event_content = 2131230896;
// aapt resource value: 0x7f080075
public const int submenuarrow = 2131230837;
@@ -3150,23 +3153,23 @@ namespace MusicApp
// aapt resource value: 0x7f080056
public const int surface_view = 2131230806;
- // aapt resource value: 0x7f0800d5
- public const int switchWidget = 2131230933;
+ // aapt resource value: 0x7f0800d6
+ public const int switchWidget = 2131230934;
// aapt resource value: 0x7f080022
public const int tabMode = 2131230754;
- // aapt resource value: 0x7f0800a1
- public const int tabs = 2131230881;
+ // aapt resource value: 0x7f0800a2
+ public const int tabs = 2131230882;
- // aapt resource value: 0x7f0800bf
- public const int text = 2131230911;
+ // aapt resource value: 0x7f0800c0
+ public const int text = 2131230912;
// aapt resource value: 0x7f08009b
public const int text1 = 2131230875;
- // aapt resource value: 0x7f0800bd
- public const int text2 = 2131230909;
+ // aapt resource value: 0x7f0800be
+ public const int text2 = 2131230910;
// aapt resource value: 0x7f080069
public const int textSpacerNoButtons = 2131230825;
@@ -3186,8 +3189,8 @@ namespace MusicApp
// aapt resource value: 0x7f080057
public const int texture_view = 2131230807;
- // aapt resource value: 0x7f0800b5
- public const int time = 2131230901;
+ // aapt resource value: 0x7f0800b6
+ public const int time = 2131230902;
// aapt resource value: 0x7f080061
public const int title = 2131230817;
@@ -3198,8 +3201,8 @@ namespace MusicApp
// aapt resource value: 0x7f08006e
public const int title_template = 2131230830;
- // aapt resource value: 0x7f0800a0
- public const int toolbar = 2131230880;
+ // aapt resource value: 0x7f0800a1
+ public const int toolbar = 2131230881;
// aapt resource value: 0x7f08003a
public const int top = 2131230778;
@@ -3225,8 +3228,8 @@ namespace MusicApp
// aapt resource value: 0x7f08000e
public const int view_offset_helper = 2131230734;
- // aapt resource value: 0x7f0800e3
- public const int visible = 2131230947;
+ // aapt resource value: 0x7f0800e4
+ public const int visible = 2131230948;
// aapt resource value: 0x7f08008a
public const int webview = 2131230858;
@@ -3237,8 +3240,8 @@ namespace MusicApp
// aapt resource value: 0x7f080030
public const int wrap_content = 2131230768;
- // aapt resource value: 0x7f0800a2
- public const int ytProgress = 2131230882;
+ // aapt resource value: 0x7f0800a3
+ public const int ytProgress = 2131230883;
static Id()
{
@@ -3429,154 +3432,157 @@ namespace MusicApp
public const int DownloadLayout = 2130903084;
// aapt resource value: 0x7f03002d
- public const int exo_playback_control_view = 2130903085;
+ public const int EmptyLoadingLayout = 2130903085;
// aapt resource value: 0x7f03002e
- public const int exo_simple_player_view = 2130903086;
+ public const int exo_playback_control_view = 2130903086;
// aapt resource value: 0x7f03002f
- public const int folderList = 2130903087;
+ public const int exo_simple_player_view = 2130903087;
// aapt resource value: 0x7f030030
- public const int Main = 2130903088;
+ public const int folderList = 2130903088;
// aapt resource value: 0x7f030031
- public const int MusicLayout = 2130903089;
+ public const int Main = 2130903089;
// aapt resource value: 0x7f030032
- public const int NoPlaylist = 2130903090;
+ public const int MusicLayout = 2130903090;
// aapt resource value: 0x7f030033
- public const int NoQueue = 2130903091;
+ public const int NoPlaylist = 2130903091;
// aapt resource value: 0x7f030034
- public const int NoSong = 2130903092;
+ public const int NoQueue = 2130903092;
// aapt resource value: 0x7f030035
- public const int notification_action = 2130903093;
+ public const int NoSong = 2130903093;
// aapt resource value: 0x7f030036
- public const int notification_action_tombstone = 2130903094;
+ public const int notification_action = 2130903094;
// aapt resource value: 0x7f030037
- public const int notification_media_action = 2130903095;
+ public const int notification_action_tombstone = 2130903095;
// aapt resource value: 0x7f030038
- public const int notification_media_cancel_action = 2130903096;
+ public const int notification_media_action = 2130903096;
// aapt resource value: 0x7f030039
- public const int notification_template_big_media = 2130903097;
+ public const int notification_media_cancel_action = 2130903097;
// aapt resource value: 0x7f03003a
- public const int notification_template_big_media_custom = 2130903098;
+ public const int notification_template_big_media = 2130903098;
// aapt resource value: 0x7f03003b
- public const int notification_template_big_media_narrow = 2130903099;
+ public const int notification_template_big_media_custom = 2130903099;
// aapt resource value: 0x7f03003c
- public const int notification_template_big_media_narrow_custom = 2130903100;
+ public const int notification_template_big_media_narrow = 2130903100;
// aapt resource value: 0x7f03003d
- public const int notification_template_custom_big = 2130903101;
+ public const int notification_template_big_media_narrow_custom = 2130903101;
// aapt resource value: 0x7f03003e
- public const int notification_template_icon_group = 2130903102;
+ public const int notification_template_custom_big = 2130903102;
// aapt resource value: 0x7f03003f
- public const int notification_template_lines_media = 2130903103;
+ public const int notification_template_icon_group = 2130903103;
// aapt resource value: 0x7f030040
- public const int notification_template_media = 2130903104;
+ public const int notification_template_lines_media = 2130903104;
// aapt resource value: 0x7f030041
- public const int notification_template_media_custom = 2130903105;
+ public const int notification_template_media = 2130903105;
// aapt resource value: 0x7f030042
- public const int notification_template_part_chronometer = 2130903106;
+ public const int notification_template_media_custom = 2130903106;
// aapt resource value: 0x7f030043
- public const int notification_template_part_time = 2130903107;
+ public const int notification_template_part_chronometer = 2130903107;
// aapt resource value: 0x7f030044
- public const int NoYtPlaylist = 2130903108;
+ public const int notification_template_part_time = 2130903108;
// aapt resource value: 0x7f030045
- public const int player = 2130903109;
+ public const int NoYtPlaylist = 2130903109;
// aapt resource value: 0x7f030046
- public const int playerInfo = 2130903110;
+ public const int player = 2130903110;
// aapt resource value: 0x7f030047
- public const int PlaylistList = 2130903111;
+ public const int playerInfo = 2130903111;
// aapt resource value: 0x7f030048
- public const int preference = 2130903112;
+ public const int PlaylistList = 2130903112;
// aapt resource value: 0x7f030049
- public const int preference_category = 2130903113;
+ public const int preference = 2130903113;
// aapt resource value: 0x7f03004a
- public const int preference_dialog_edittext = 2130903114;
+ public const int preference_category = 2130903114;
// aapt resource value: 0x7f03004b
- public const int preference_dropdown = 2130903115;
+ public const int preference_dialog_edittext = 2130903115;
// aapt resource value: 0x7f03004c
- public const int preference_information = 2130903116;
+ public const int preference_dropdown = 2130903116;
// aapt resource value: 0x7f03004d
- public const int preference_list_fragment = 2130903117;
+ public const int preference_information = 2130903117;
// aapt resource value: 0x7f03004e
- public const int preference_recyclerview = 2130903118;
+ public const int preference_list_fragment = 2130903118;
// aapt resource value: 0x7f03004f
- public const int preference_widget_checkbox = 2130903119;
+ public const int preference_recyclerview = 2130903119;
// aapt resource value: 0x7f030050
- public const int preference_widget_seekbar = 2130903120;
+ public const int preference_widget_checkbox = 2130903120;
// aapt resource value: 0x7f030051
- public const int preference_widget_switch_compat = 2130903121;
+ public const int preference_widget_seekbar = 2130903121;
// aapt resource value: 0x7f030052
- public const int Preferences = 2130903122;
+ public const int preference_widget_switch_compat = 2130903122;
// aapt resource value: 0x7f030053
- public const int PreferenceToolbar = 2130903123;
+ public const int Preferences = 2130903123;
// aapt resource value: 0x7f030054
- public const int search_layout = 2130903124;
+ public const int PreferenceToolbar = 2130903124;
// aapt resource value: 0x7f030055
- public const int select_dialog_item_material = 2130903125;
+ public const int search_layout = 2130903125;
// aapt resource value: 0x7f030056
- public const int select_dialog_multichoice_material = 2130903126;
+ public const int select_dialog_item_material = 2130903126;
// aapt resource value: 0x7f030057
- public const int select_dialog_singlechoice_material = 2130903127;
+ public const int select_dialog_multichoice_material = 2130903127;
// aapt resource value: 0x7f030058
- public const int SmallPlayer = 2130903128;
+ public const int select_dialog_singlechoice_material = 2130903128;
// aapt resource value: 0x7f030059
- public const int SongList = 2130903129;
+ public const int SmallPlayer = 2130903129;
// aapt resource value: 0x7f03005a
- public const int support_simple_spinner_dropdown_item = 2130903130;
+ public const int SongList = 2130903130;
// aapt resource value: 0x7f03005b
- public const int tabs = 2130903131;
+ public const int support_simple_spinner_dropdown_item = 2130903131;
// aapt resource value: 0x7f03005c
- public const int TimerLayout = 2130903132;
+ public const int tabs = 2130903132;
// aapt resource value: 0x7f03005d
- public const int TwoLineLayout = 2130903133;
+ public const int TimerLayout = 2130903133;
// aapt resource value: 0x7f03005e
- public const int YtList = 2130903134;
+ public const int TwoLineLayout = 2130903134;
+
+ // aapt resource value: 0x7f03005f
+ public const int YtList = 2130903135;
static Layout()
{
diff --git a/MusicApp/Resources/layout/EmptyLoadingLayout.xml b/MusicApp/Resources/layout/EmptyLoadingLayout.xml
new file mode 100644
index 0000000..f83b428
--- /dev/null
+++ b/MusicApp/Resources/layout/EmptyLoadingLayout.xml
@@ -0,0 +1,16 @@
+
+
+
+
\ No newline at end of file