UI framework project for Cardboard. It may have some inconsistent behaviour because it's a little bit old.
#Information
After building my first Cardboard VR project (Video Player for Cardboard), I thought I should simplify the UI creation process in my next applications. So I rewrote the "Video Player for Cardboard" while building this UI framework. I built it to meet my needs in the application. If it doesn't meet your needs, at least send a message to me so that I will work on adding your request if I ever have time to work on this project.
The framework may have inconsistent behaviour because it was written by old me who was a little child that has little to no experience in developing frameworks. Never thought about publishing this framework, too. Though sometimes I still look at my code and say: "Wow, I have done a great job." :V
#Usage
- Add the *.aar file.(link)
- Extend
CardboardUIActivity.
- Create a
ViewContent
- Create some views.(
TextView3D
,Button3D
, ...) - Use
ViewContent.addView(View3D)
- Use
setCurrentContent(ViewContent)
You should check out the example usages in test_activities package to understand it better. (link) AdapterView's may work unexpectedly.
Should you have any questions, please do not hesitate to ask me.
An application made with this framework: https://play.google.com/store/apps/details?id=com.karacasoft.cardboardmediaplayer
#About building... I couldn't get it built directly with Android Studio. I had to put it inside another project then build the other project.