简体   繁体   中英

How to work with the ActionBar in Google TV?

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 do I prevent that is falling behind the actionbar?

在接下来的几周内,Google TV预览附加组件将进行更新,以更改此行为。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM