开发者

How to work with the ActionBar in Google TV?

开发者 https://www.devze.com 2023-04-04 07:11 出处:网络
I made a application for Honeycomb tablets and that\'s all working fine. I use a ActionBar with tabs on the top of the screen for navigating the application. That all works fine.

I made a application for Honeycomb tablets and that's all working fine. I use a ActionBar with tabs on the top of the screen for navigating the application. That all works fine.

Now I want to make my app also ready for Google TV. So I installed the Google TV Addon for the Android SDK and installed my app inside it. Now I see that the actionbar has moved to the left. Not a problem. But now comes the problem. The fragment that is loaded when you click on one of the tabs of the actionbar is loaded behind the actionbar. How d开发者_如何学运维o I prevent that is falling behind the actionbar?


There will be an update to the preview Google TV addon in the next few weeks that changes this behavior.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号