How do I make 2 characters overlap each other in an Android EditText
I am making a music notation app for Android for one of my school projects.
- In this app, I don't have a music notation rendering mechanism. Instead, I use a font, which has all different notes in different heights with the music sheet lines in place. This way, all I need to do is to insert characters into an EditText view.
- Lately, I found out that I couldn't have 2 notes playing at 开发者_StackOverflow中文版the same time with this method.
I'd like to know if there is a way for 2 characters to overlap each other in an EditText view, so that 2 notes with different heights can be displayed in the same column.
Alternatively, if anyone knows of a library for rendering music on Android, please share the knowledge with me.
Use a SurfaceView with the necessary music PNG bitmaps. You can find a lot of the needed bitmaps here, assuming your project can handle whatever open source license Wikibooks uses. If it can't, I'm sure you can find music bitmaps elsewhere.
精彩评论