相关疑难解决方法(0)

如何最小化android中的整个应用程序?

我开发了android应用程序.我完成了更多,但我想尽量减少选项.我用过标签栏.在那我想最小化标签.用户单击最小化选项卡以最小化整个应用程序 我的tabbar代码为..

    public class tabbar extends TabActivity implements OnTabChangeListener {
    private Context mContext;
    TabHost tabHost;
    int tabload=0;
    private AlertDialog alertDialog;

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.tabbar);
        //mContext=this;

        /** TabHost will have Tabs */
        tabHost = (TabHost)findViewById(android.R.id.tabhost);
        tabHost.setOnTabChangedListener(this);



        /** TabSpec used to create a new tab.
         * By using TabSpec only we can able to setContent to the tab.
         * By using TabSpec setIndicator() we can set name to tab. …
Run Code Online (Sandbox Code Playgroud)

android tabbar

18
推荐指数
1
解决办法
2万
查看次数

"最小化"Android中的活动(不要完成)

我想"最小化"应用程序,使其在后台完全相同,当用户单击按钮时按下主页按钮(但没有完成)我该怎么做?

android android-activity

10
推荐指数
1
解决办法
1万
查看次数

标签 统计

android ×2

android-activity ×1

tabbar ×1