Lines Matching refs:view
22 import android.support.v4.view.PagerAdapter;
23 import android.support.v4.view.ViewPager;
24 import android.view.View;
25 import android.view.ViewGroup;
34 * trick. Normally a tab host has a simple API for supplying a View or
38 * view to show as the tab content. It listens to changes in tabs, and takes
53 private final View view;
55 TabInfo(String _tag, View _view) {
57 view = _view;
69 public View createTabContent(String tag) {
70 View v = new View(mContext);
86 public void addTab(TabHost.TabSpec tabSpec, View view) {
90 TabInfo info = new TabInfo(tag, view);
103 View view = mTabs.get(position).view;
104 container.addView(view);
105 return view;
110 container.removeView((View)object);
114 public boolean isViewFromObject(View view, Object object) {
115 return view == object;
149 View tab = widget.getChildTabViewAt(position);
154 final View contentView = mTabs.get(position).view;