Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Android: Added layout for EqualizerPresetDetails. Missing dynamic vie…
…ws in scrollview (i.e. equalizer bands). Added empty EqualizerPresetGraphView control. Related to issue #406.
- Loading branch information
1 parent
adcd6ad
commit e4d9734
Showing
4 changed files
with
320 additions
and
205 deletions.
There are no files selected for viewing
65 changes: 65 additions & 0 deletions
65
MPfm/MPfm.Android/Classes/Controls/EqualizerPresetGraphView.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
// Copyright © 2011-2013 Yanick Castonguay | ||
// | ||
// This file is part of MPfm. | ||
// | ||
// MPfm 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. | ||
// | ||
// MPfm 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 MPfm. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using Android.App; | ||
using Android.Content; | ||
using Android.OS; | ||
using Android.Runtime; | ||
using Android.Util; | ||
using Android.Views; | ||
using Android.Widget; | ||
|
||
namespace org.sessionsapp.android | ||
{ | ||
public class EqualizerPresetGraphView : View | ||
{ | ||
public EqualizerPresetGraphView(Context context) : base(context) | ||
{ | ||
Initialize(); | ||
} | ||
|
||
public EqualizerPresetGraphView(Context context, IAttributeSet attrs) : base (context, attrs) | ||
{ | ||
Initialize(); | ||
} | ||
|
||
public EqualizerPresetGraphView(Context context, IAttributeSet attrs, int defStyle) : base(context, attrs, defStyle) | ||
{ | ||
Initialize(); | ||
} | ||
|
||
public EqualizerPresetGraphView(IntPtr javaReference, JniHandleOwnership transfer) | ||
: base(javaReference, transfer) | ||
{ | ||
Initialize(); | ||
} | ||
|
||
private void Initialize() | ||
{ | ||
} | ||
|
||
public override void Draw(global::Android.Graphics.Canvas canvas) | ||
{ | ||
Console.WriteLine("EqualizerPresetGraphView - Draw"); | ||
base.Draw(canvas); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.