我想创建看起来像这样的视图:
| |
| Animated Sprite |
|______________________|
| |
| Button | Button |
|__________|___________|
按钮上方的动画精灵。
我怎样才能用 libGDX 实现这一点。
我想创建看起来像这样的视图:
| |
| Animated Sprite |
|______________________|
| |
| Button | Button |
|__________|___________|
按钮上方的动画精灵。
我怎样才能用 libGDX 实现这一点。
You cant use Android UI Buttons inside the libGDX Projekt. Try to create a regular libGDX Button, ImageButton or TextButton with a style like a regular Android button. Use a ninepatch as background and it shouldn't be that hard to create an Android Style button with a simple ninepatch.(All Buttons)
Also take a look at the Table layout for creaeting your whished UI. I guess you'll find everything there to create it.