Need to implement leveler in a View of Androird?
i need to imple开发者_StackOverflow社区ment the leveler in view of my application , where as i have the code for the leveler provided by the google. i need to implement it in my app.
This is main.xml of bubble leveler,
<net.androgames.level.view.LevelView
android:id="@+id/level"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
how can i embed this project View in to my application view.
i think, you can simply set this view in your activity using:
setContentView(yourLevelViewObject);
OR if you want to add this view to any layout then you can use:
yourLayoutObject.addView(yourLevelViewObject);
精彩评论