Back to project page openpomo.
The source code is released under:
GNU General Public License
If you think the Android project openpomo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** */* ww w. j a v a 2 s . c o m*/ */ package it.unibz.pomodroid; import android.app.TabActivity; import android.content.Intent; import android.os.Bundle; import android.widget.TabHost; /** * @author bodom_lx */ public class TabPomodroid extends TabActivity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); TabHost mTabHost; mTabHost = getTabHost(); mTabHost.addTab(mTabHost.newTabSpec("Activity Inventory").setContent(new Intent(this, ActivityInventorySheet.class)). setIndicator("Inventory", getResources().getDrawable(android.R.drawable.ic_menu_agenda))); mTabHost.addTab(mTabHost.newTabSpec("Todo Today").setContent(new Intent(this, TodoTodaySheet.class)). setIndicator("Todo Today", getResources().getDrawable(android.R.drawable.ic_menu_day))); mTabHost.addTab(mTabHost.newTabSpec("Services").setContent(new Intent(this, Services.class)). setIndicator("Services", getResources().getDrawable(android.R.drawable.ic_menu_send))); } }