From: Akshat Airan/Core S/W Group /SRI-Delhi/Engineer/Samsung Electronics Date: Fri, 23 Feb 2024 05:50:48 +0000 (+0530) Subject: 1.Fixed Tabview and added Korean acc. to context. X-Git-Tag: accepted/tizen/unified/20240424.063517~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f16cca8729ff718dce40c11d753b3e87633ff02;p=profile%2Fiot%2Fapps%2Fdotnet%2Fmusic-player.git 1.Fixed Tabview and added Korean acc. to context. 2.Added koreanLanguage Translation in Headings of each view. Change-Id: I2dfbe9e1accf35a9f7aa9766c1905e99555ae2ef --- diff --git a/music-player/TextResources/Resources.Designer.cs b/music-player/TextResources/Resources.Designer.cs index bf05458..02ca3ec 100644 --- a/music-player/TextResources/Resources.Designer.cs +++ b/music-player/TextResources/Resources.Designer.cs @@ -88,7 +88,16 @@ namespace MusicPlayer.TextResources { } /// - /// Looks up a localized string similar to Albums. + /// Looks up a localized string similar to Album. + /// + internal static string IDS_ALBUM { + get { + return ResourceManager.GetString("IDS_ALBUM", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Albums. /// internal static string IDS_ALBUMS { get { @@ -97,7 +106,16 @@ namespace MusicPlayer.TextResources { } /// - /// Looks up a localized string similar to Artists. + /// Looks up a localized string similar to Artist. + /// + internal static string IDS_ARTIST { + get { + return ResourceManager.GetString("IDS_ARTIST", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Artists. /// internal static string IDS_ARTISTS { get { @@ -132,6 +150,15 @@ namespace MusicPlayer.TextResources { } } + /// + /// Looks up a localized string similar to + Create new playlist. + /// + internal static string IDS_CREATE_NEW_PLAYLIST { + get { + return ResourceManager.GetString("IDS_CREATE_NEW_PLAYLIST", resourceCulture); + } + } + /// /// Looks up a localized string similar to Create playlist. /// @@ -159,6 +186,15 @@ namespace MusicPlayer.TextResources { } } + /// + /// Looks up a localized string similar to Done. + /// + internal static string IDS_DONE { + get { + return ResourceManager.GetString("IDS_DONE", resourceCulture); + } + } + /// /// Looks up a localized string similar to Enter Playlist Name. /// @@ -213,6 +249,15 @@ namespace MusicPlayer.TextResources { } } + /// + /// Looks up a localized string similar to Playlist. + /// + internal static string IDS_PLAYLIST { + get { + return ResourceManager.GetString("IDS_PLAYLIST", resourceCulture); + } + } + /// /// Looks up a localized string similar to Playlist name already in use.. /// @@ -223,7 +268,7 @@ namespace MusicPlayer.TextResources { } /// - /// Looks up a localized string similar to Playlists. + /// Looks up a localized string similar to Playlists. /// internal static string IDS_PLAYLISTS { get { @@ -286,7 +331,16 @@ namespace MusicPlayer.TextResources { } /// - /// Looks up a localized string similar to Tracks. + /// Looks up a localized string similar to Track. + /// + internal static string IDS_TRACK { + get { + return ResourceManager.GetString("IDS_TRACK", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Tracks. /// internal static string IDS_TRACKS { get { diff --git a/music-player/TextResources/Resources.en-US.resx b/music-player/TextResources/Resources.en-US.resx index 78249e7..d74bb60 100644 --- a/music-player/TextResources/Resources.en-US.resx +++ b/music-player/TextResources/Resources.en-US.resx @@ -126,11 +126,17 @@ Add to playlist + + Album + - Albums + Albums + + + Artist - Artists + Artists Cancel @@ -141,6 +147,9 @@ Create + + + Create new playlist + Create playlist @@ -150,6 +159,9 @@ Details + + Done + Enter Playlist Name @@ -168,8 +180,11 @@ Ok + + Playlist + - Playlists + Playlists Playlist name already in use. @@ -192,8 +207,11 @@ This track will be deleted + + Track + - Tracks + Tracks Type Here diff --git a/music-player/TextResources/Resources.ko-KR.resx b/music-player/TextResources/Resources.ko-KR.resx index 9c28168..71dc669 100644 --- a/music-player/TextResources/Resources.ko-KR.resx +++ b/music-player/TextResources/Resources.ko-KR.resx @@ -118,38 +118,50 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - 더하다 + 추가하다 - 재생 목록 이름 추가 + 플레이리스트 이름 추가 - 재생 목록에 추가 + 플레이리스트에 추가 + + + 앨범 - 앨범 + 앨범 + + + 가수 - 예술가 + 가수 취소 - 64자를 초과하여 입력할 수 없습니다. + 64자 이상의 글자를 입력할 수 없습니다 - 창조하다 + 생성 + + + + 새로운 플레이리스트 생성 - 재생 목록 만들기 + 플레이리스트 생성 - 삭제하다 + 삭제 세부 정보 + + 완료 + 재생 목록 이름 입력 @@ -157,7 +169,7 @@ 음악 - 폴더에 항목이 없습니다. + 폴더에 아이템 없음 사용 가능한 재생 목록이 없습니다 @@ -166,10 +178,13 @@ 결과를 찾을 수 없습니다. - 그래 + 좋아요 + + + 플레이리스트 - 재생 목록 + 플레이리스트 이미 사용 중인 재생 목록 이름입니다. @@ -184,18 +199,21 @@ 음악 검색 - 모두 선택 + 전체 선택 공유 - 이 트랙은 삭제됩니다. + 해당 트랙은 삭제됩니다 + + + 트랙 - 트랙 + 트랙 - 여기에 입력하십시오 + 여기에 입력 \ No newline at end of file diff --git a/music-player/TextResources/Resources.resx b/music-player/TextResources/Resources.resx index 326b1bb..53f1f57 100644 --- a/music-player/TextResources/Resources.resx +++ b/music-player/TextResources/Resources.resx @@ -126,11 +126,17 @@ Add to playlist + + Album + - Albums + Albums + + + Artist - Artists + Artists Cancel @@ -141,6 +147,9 @@ Create + + + Create new playlist + Create playlist @@ -150,6 +159,9 @@ Details + + Done + Enter Playlist Name @@ -168,8 +180,11 @@ Ok + + Playlist + - Playlists + Playlists Playlist name already in use. @@ -192,8 +207,11 @@ This Track will be Deleted + + Track + - Tracks + Tracks Type Here diff --git a/music-player/ViewModels/AlbumViewModel.cs b/music-player/ViewModels/AlbumViewModel.cs index 8c595a2..304e5b8 100755 --- a/music-player/ViewModels/AlbumViewModel.cs +++ b/music-player/ViewModels/AlbumViewModel.cs @@ -31,11 +31,19 @@ namespace MusicPlayer.ViewModels get => albumCount; set { - string text = string.Equals(value, "1") ? " album" : " albums"; - SetProperty(ref albumCount, value + text); + string text = string.Equals(value, "1") ? " IDS_ALBUM" : "IDS_ALBUM"; + SetProperty(ref albumCount, value); + SetProperty(ref albumTitle, text); } } + private string albumTitle; + + public string AlbumTitle + { + get => albumTitle; + } + private void CreateAlbumData() { listViewModel.Clear(); diff --git a/music-player/ViewModels/ArtistViewModel.cs b/music-player/ViewModels/ArtistViewModel.cs index 58f40bc..20be9a8 100755 --- a/music-player/ViewModels/ArtistViewModel.cs +++ b/music-player/ViewModels/ArtistViewModel.cs @@ -30,11 +30,19 @@ namespace MusicPlayer.ViewModels get => artistCount; set { - string text = string.Equals(value, "1") ? " artist" : " artists"; - SetProperty(ref artistCount, value + text); + string text = string.Equals(value, "1") ? "IDS_ARTIST" : "IDS_ARTISTS"; + SetProperty(ref artistCount, value); + SetProperty(ref artistTitle, text); } } + private string artistTitle; + + public string ArtistTitle + { + get => artistTitle; + } + private void OnCollectionChanged(object sender, NotifyCollectionChangedEventArgs e) { ArtistCount = listViewModel.Count.ToString(); diff --git a/music-player/ViewModels/PlaylistDetailViewModel.cs b/music-player/ViewModels/PlaylistDetailViewModel.cs index 36c3082..a8bad4b 100755 --- a/music-player/ViewModels/PlaylistDetailViewModel.cs +++ b/music-player/ViewModels/PlaylistDetailViewModel.cs @@ -68,11 +68,19 @@ namespace MusicPlayer.ViewModels get => playlistTrackCount; set { - string count = string.Equals(value, "1") ? value + " Track" : value + " Tracks"; - SetProperty(ref playlistTrackCount, count); + string text = string.Equals(value, "1") ? "IDS_TRACK" : "IDS_TRACKS"; + SetProperty(ref playlistTrackCount, value); + SetProperty(ref playlistTrackTitle, text); } } + private string playlistTrackTitle; + + public string PlaylistTrackTitle + { + get => playlistTrackTitle; + } + private bool isDefaultPlaylist; public bool IsDefaultPlaylist diff --git a/music-player/ViewModels/PlaylistViewModel.cs b/music-player/ViewModels/PlaylistViewModel.cs index b6c7a9e..c7c9c81 100755 --- a/music-player/ViewModels/PlaylistViewModel.cs +++ b/music-player/ViewModels/PlaylistViewModel.cs @@ -52,11 +52,19 @@ namespace MusicPlayer.ViewModels get => playlistCount; set { - string text = string.Equals(value, "1") ? " playlist" : " playlists"; - SetProperty(ref playlistCount, value + text); + string text = string.Equals(value, "1") ? "IDS_PLAYLIST" : "IDS_PLAYLISTS"; + SetProperty(ref playlistCount, value); + SetProperty(ref playlistTitle, text); } } + private string playlistTitle; + + public string PlaylistTitle + { + get => playlistTitle; + } + private bool canCreatePlaylist; public bool CanCreatePlaylist diff --git a/music-player/ViewModels/TrackViewModel.cs b/music-player/ViewModels/TrackViewModel.cs index 2469037..7d8bc77 100755 --- a/music-player/ViewModels/TrackViewModel.cs +++ b/music-player/ViewModels/TrackViewModel.cs @@ -56,11 +56,19 @@ namespace MusicPlayer.ViewModels get => trackCount; set { - string text = string.Equals(value, "1") ? " track" : " tracks"; - SetProperty(ref trackCount, value + text); + string text = string.Equals(value, "1") ? "IDS_TRACK" : "IDS_TRACKS"; + SetProperty(ref trackCount, value); + SetProperty(ref trackTitle, text); } } + private string trackTitle; + + public string TrackTitle + { + get => trackTitle; + } + public Track PlayingTrack { get; set; } public void OnTrackSelected(object selectedItem) diff --git a/music-player/Views/AlbumView.cs b/music-player/Views/AlbumView.cs index bee0dd6..36ac09b 100755 --- a/music-player/Views/AlbumView.cs +++ b/music-player/Views/AlbumView.cs @@ -13,6 +13,7 @@ namespace MusicPlayer.Views { private readonly AlbumViewModel viewModel; private TextLabel albumCountLabel; + private TextLabel albumTitleLabel; private bool isTrackListEmpty; public AlbumView(AlbumViewModel viewModel) : base() @@ -38,19 +39,32 @@ namespace MusicPlayer.Views StyleName = "LabelText", ThemeChangeSensitive = true, PixelSize = 28.SpToPx(), - Text = "ALBUM COUNT", HorizontalAlignment = HorizontalAlignment.Begin, VerticalAlignment = VerticalAlignment.Center, FontFamily = "BreezeSans", - FontStyle = UIFontStyles.AllNormal + FontStyle = UIFontStyles.AllNormal, + Margin = new Extents(0, 4, 0, 0).SpToPx(), }; titleView.Add(albumCountLabel); albumCountLabel.BindingContext = viewModel; albumCountLabel.SetBinding(TextLabel.TextProperty, "AlbumCount"); - RelativeLayout.SetLeftTarget(albumCountLabel, titleView); - RelativeLayout.SetLeftRelativeOffset(albumCountLabel, 1.0f); - RelativeLayout.SetRightRelativeOffset(albumCountLabel, 0.0f); - RelativeLayout.SetFillHorizontal(albumCountLabel, true); + + albumTitleLabel = new TextLabel() + { + StyleName = "LabelText", + ThemeChangeSensitive = true, + PixelSize = 28.SpToPx(), + HorizontalAlignment = HorizontalAlignment.Begin, + VerticalAlignment = VerticalAlignment.Center, + FontFamily = "BreezeSans", + FontStyle = UIFontStyles.AllNormal, + Margin = new Extents(4, 0, 0, 0).SpToPx(), + }; + titleView.Add(albumTitleLabel); + albumTitleLabel.BindingContext = viewModel; + albumTitleLabel.SetBinding(TextLabel.TranslatableTextProperty, "AlbumTitle"); + RelativeLayout.SetLeftTarget(albumTitleLabel, albumCountLabel); + RelativeLayout.SetLeftRelativeOffset(albumTitleLabel, 1.0f); if (isTrackListEmpty == true) { diff --git a/music-player/Views/ArtistView.cs b/music-player/Views/ArtistView.cs index 2b0c1c5..54d63c3 100755 --- a/music-player/Views/ArtistView.cs +++ b/music-player/Views/ArtistView.cs @@ -13,6 +13,7 @@ namespace MusicPlayer.Views { private readonly ArtistViewModel viewModel; private TextLabel artistCountLabel; + private TextLabel artistTitleLabel; private bool isTrackListEmpty; public ArtistView(ArtistViewModel viewModel) @@ -40,19 +41,32 @@ namespace MusicPlayer.Views StyleName = "LabelText", ThemeChangeSensitive = true, PixelSize = 28.SpToPx(), - Text = "ARTIST COUNT", HorizontalAlignment = HorizontalAlignment.Begin, VerticalAlignment = VerticalAlignment.Center, FontFamily = "BreezeSans", FontStyle = UIFontStyles.AllNormal, + Margin = new Extents(0, 4, 0, 0).SpToPx(), }; - artistCountLabel.BindingContext = viewModel; titleView.Add(artistCountLabel); + artistCountLabel.BindingContext = viewModel; artistCountLabel.SetBinding(TextLabel.TextProperty, "ArtistCount"); - RelativeLayout.SetLeftTarget(artistCountLabel, titleView); - RelativeLayout.SetLeftRelativeOffset(artistCountLabel, 1.0f); - RelativeLayout.SetRightRelativeOffset(artistCountLabel, 0.0f); - RelativeLayout.SetFillHorizontal(artistCountLabel, true); + + artistTitleLabel = new TextLabel() + { + StyleName = "LabelText", + ThemeChangeSensitive = true, + PixelSize = 28.SpToPx(), + HorizontalAlignment = HorizontalAlignment.Begin, + VerticalAlignment = VerticalAlignment.Center, + FontFamily = "BreezeSans", + FontStyle = UIFontStyles.AllNormal, + Margin = new Extents(4, 0, 0, 0).SpToPx(), + }; + titleView.Add(artistTitleLabel); + artistTitleLabel.BindingContext = viewModel; + artistTitleLabel.SetBinding(TextLabel.TranslatableTextProperty, "ArtistTitle"); + RelativeLayout.SetLeftTarget(artistTitleLabel, artistCountLabel); + RelativeLayout.SetLeftRelativeOffset(artistTitleLabel, 1.0f); if (isTrackListEmpty == true) { diff --git a/music-player/Views/BaseSubContentView.cs b/music-player/Views/BaseSubContentView.cs index 0b409de..99749ba 100755 --- a/music-player/Views/BaseSubContentView.cs +++ b/music-player/Views/BaseSubContentView.cs @@ -14,6 +14,7 @@ namespace MusicPlayer.Views protected View listContainer; protected View topView; protected TextLabel countLabel; + protected TextLabel countTitleLabel; protected Button playAll; protected Button playAllWithShuffle; protected CollectionView collectionView; @@ -63,12 +64,24 @@ namespace MusicPlayer.Views VerticalAlignment = VerticalAlignment.Center, FontFamily = "BreezeSans", FontStyle = UIFontStyles.AllNormal, + Margin = new Extents(0, 4, 0, 0).SpToPx(), }; topView.Add(countLabel); - RelativeLayout.SetLeftTarget(countLabel, topView); - RelativeLayout.SetLeftRelativeOffset(countLabel, 0.0f); - RelativeLayout.SetRightRelativeOffset(countLabel, 0.0f); - RelativeLayout.SetFillHorizontal(countLabel, true); + + countTitleLabel = new TextLabel() + { + StyleName = "LabelText", + ThemeChangeSensitive = true, + PixelSize = 28.SpToPx(), + HorizontalAlignment = HorizontalAlignment.Begin, + VerticalAlignment = VerticalAlignment.Center, + FontFamily = "BreezeSans", + FontStyle = UIFontStyles.AllNormal, + Margin = new Extents(4, 0, 0, 0).SpToPx(), + }; + topView.Add(countTitleLabel); + RelativeLayout.SetLeftTarget(countTitleLabel, countLabel); + RelativeLayout.SetLeftRelativeOffset(countTitleLabel, 1.0f); playAll = new Button("PlayAll") { diff --git a/music-player/Views/ListItemLayout.cs b/music-player/Views/ListItemLayout.cs index 8ea2040..0ca017b 100755 --- a/music-player/Views/ListItemLayout.cs +++ b/music-player/Views/ListItemLayout.cs @@ -50,7 +50,7 @@ namespace MusicPlayer.Views } } }, -defaultValueCreator: (bindable) => ((ListItemLayout)bindable).playingStatus); + defaultValueCreator: (bindable) => ((ListItemLayout)bindable).playingStatus); public ListItemLayout(bool animationRequired = false) : base() { diff --git a/music-player/Views/PlaylistDetailView.cs b/music-player/Views/PlaylistDetailView.cs index 4834618..0ee27e1 100755 --- a/music-player/Views/PlaylistDetailView.cs +++ b/music-player/Views/PlaylistDetailView.cs @@ -32,7 +32,9 @@ namespace MusicPlayer.Views }); collectionView.SelectionChanged += OnTrackSelection; countLabel.BindingContext = viewModel; + countTitleLabel.BindingContext = viewModel; countLabel.SetBinding(TextLabel.TextProperty, "PlaylistTrackCount"); + countTitleLabel.SetBinding(TextLabel.TranslatableTextProperty, "PlaylistTrackTitle"); Add(listContainer); if (isTrackListEmpty == true) diff --git a/music-player/Views/PlaylistView.cs b/music-player/Views/PlaylistView.cs index 2b96dfc..7d904d1 100755 --- a/music-player/Views/PlaylistView.cs +++ b/music-player/Views/PlaylistView.cs @@ -16,6 +16,7 @@ namespace MusicPlayer.Views private const string DefaultPlaylistName = "My playlist"; private TextLabel playlistCountLabel; + private TextLabel playlistTitleLabel; private Button playlistCreateButton; private readonly PlaylistViewModel viewModel; @@ -38,20 +39,33 @@ namespace MusicPlayer.Views { StyleName = "LabelText", ThemeChangeSensitive = true, - PixelSize = 24.SpToPx(), - Text = "Playlist COUNT", + PixelSize = 28.SpToPx(), HorizontalAlignment = HorizontalAlignment.Begin, VerticalAlignment = VerticalAlignment.Center, FontFamily = "BreezeSans", FontStyle = UIFontStyles.AllNormal, + Margin = new Extents(0, 4, 0, 0).SpToPx(), }; - playlistCountLabel.BindingContext = viewModel; titleView.Add(playlistCountLabel); + playlistCountLabel.BindingContext = viewModel; playlistCountLabel.SetBinding(TextLabel.TextProperty, "PlaylistCount"); - RelativeLayout.SetLeftTarget(playlistCountLabel, titleView); - RelativeLayout.SetLeftRelativeOffset(playlistCountLabel, 0.0f); - RelativeLayout.SetFillHorizontal(playlistCountLabel, true); - RelativeLayout.SetHorizontalAlignment(playlistCountLabel, RelativeLayout.Alignment.Start); + + playlistTitleLabel = new TextLabel() + { + StyleName = "LabelText", + ThemeChangeSensitive = true, + PixelSize = 28.SpToPx(), + HorizontalAlignment = HorizontalAlignment.Begin, + VerticalAlignment = VerticalAlignment.Center, + FontFamily = "BreezeSans", + FontStyle = UIFontStyles.AllNormal, + Margin = new Extents(4, 0, 0, 0).SpToPx(), + }; + titleView.Add(playlistTitleLabel); + playlistTitleLabel.BindingContext = viewModel; + playlistTitleLabel.SetBinding(TextLabel.TranslatableTextProperty, "PlaylistTitle"); + RelativeLayout.SetLeftTarget(playlistTitleLabel, playlistCountLabel); + RelativeLayout.SetLeftRelativeOffset(playlistTitleLabel, 1.0f); playlistCreateButton = new Button("PlaylistAdd") { diff --git a/music-player/Views/SelectorView.cs b/music-player/Views/SelectorView.cs index f6e89b5..ef22beb 100755 --- a/music-player/Views/SelectorView.cs +++ b/music-player/Views/SelectorView.cs @@ -75,7 +75,7 @@ namespace MusicPlayer.Views { Button button = new Button("TextButton") { - Text = url, + TranslatableText = url, IsEnabled = false, }; return button; @@ -118,7 +118,7 @@ namespace MusicPlayer.Views private void AddButtons() { - doneButton = CreateButton("Done"); + doneButton = CreateButton("IDS_DONE"); doneButton.Margin = new Extents(40, 0, 0, 0).SpToPx(); topView.Add(doneButton); doneButton.Clicked += (object o, ClickedEventArgs args) => @@ -131,7 +131,7 @@ namespace MusicPlayer.Views RelativeLayout.SetHorizontalAlignment(doneButton, RelativeLayout.Alignment.End); RelativeLayout.SetVerticalAlignment(doneButton, RelativeLayout.Alignment.Center); - cancelButton = CreateButton("Cancel"); + cancelButton = CreateButton("IDS_CANCEL"); cancelButton.Margin = new Extents(40, 0, 0, 0).SpToPx(); cancelButton.IsEnabled = true; topView.Add(cancelButton); diff --git a/music-player/Views/TrackView.cs b/music-player/Views/TrackView.cs index 27b6a5f..e0efae2 100755 --- a/music-player/Views/TrackView.cs +++ b/music-player/Views/TrackView.cs @@ -12,6 +12,7 @@ namespace MusicPlayer.Views { private readonly TrackViewModel viewModel; private TextLabel trackCountLabel; + private TextLabel trackTitleLabel; private Button playAllWithShuffle; private Button playAll; private bool isTrackListEmpty; @@ -43,18 +44,32 @@ namespace MusicPlayer.Views StyleName = "LabelText", ThemeChangeSensitive = true, PixelSize = 28.SpToPx(), - Text = "TRACK COUNT", HorizontalAlignment = HorizontalAlignment.Begin, VerticalAlignment = VerticalAlignment.Center, FontFamily = "BreezeSans", FontStyle = UIFontStyles.AllNormal, + Margin = new Extents(0, 4, 0, 0).SpToPx(), }; - trackCountLabel.BindingContext = viewModel; titleView.Add(trackCountLabel); + trackCountLabel.BindingContext = viewModel; trackCountLabel.SetBinding(TextLabel.TextProperty, "TrackCount"); - RelativeLayout.SetLeftTarget(trackCountLabel, titleView); - RelativeLayout.SetLeftRelativeOffset(trackCountLabel, 0.0f); - RelativeLayout.SetFillHorizontal(trackCountLabel, true); + + trackTitleLabel = new TextLabel() + { + StyleName = "LabelText", + ThemeChangeSensitive = true, + PixelSize = 28.SpToPx(), + HorizontalAlignment = HorizontalAlignment.Begin, + VerticalAlignment = VerticalAlignment.Center, + FontFamily = "BreezeSans", + FontStyle = UIFontStyles.AllNormal, + Margin = new Extents(4, 0, 0, 0).SpToPx(), + }; + titleView.Add(trackTitleLabel); + trackTitleLabel.BindingContext = viewModel; + trackTitleLabel.SetBinding(TextLabel.TranslatableTextProperty, "TrackTitle"); + RelativeLayout.SetLeftTarget(trackTitleLabel, trackCountLabel); + RelativeLayout.SetLeftRelativeOffset(trackTitleLabel, 1.0f); playAll = new Button("PlayAll") { diff --git a/music-player/Views/ViewManager.cs b/music-player/Views/ViewManager.cs index 73772ea..f223cb5 100755 --- a/music-player/Views/ViewManager.cs +++ b/music-player/Views/ViewManager.cs @@ -16,7 +16,7 @@ namespace MusicPlayer.Views private View rootView; private BaseView baseView; - private int previousIndex = -1; + private int previousIndex = 0; private static readonly string[] TabNames = new string[] { "Playlists", diff --git a/music-player/res/themes/dark.xaml b/music-player/res/themes/dark.xaml index 7aec85b..ecea84d 100755 --- a/music-player/res/themes/dark.xaml +++ b/music-player/res/themes/dark.xaml @@ -255,7 +255,7 @@ Id="DarkTheme"> - + diff --git a/music-player/res/themes/light.xaml b/music-player/res/themes/light.xaml index 7125659..a881f89 100755 --- a/music-player/res/themes/light.xaml +++ b/music-player/res/themes/light.xaml @@ -255,7 +255,7 @@ Id="LightTheme"> - + diff --git a/packaging/org.tizen.MusicPlayer-1.0.0.tpk b/packaging/org.tizen.MusicPlayer-1.0.0.tpk index 1d986b4..a1144a5 100755 Binary files a/packaging/org.tizen.MusicPlayer-1.0.0.tpk and b/packaging/org.tizen.MusicPlayer-1.0.0.tpk differ