Lines Matching refs:view
17 package com.example.android.common.view;
22 import android.support.v4.view.PagerAdapter;
23 import android.support.v4.view.ViewPager;
26 import android.view.Gravity;
27 import android.view.LayoutInflater;
28 import android.view.View;
36 * To use the component, simply add it to your view hierarchy. Then in your
95 // Make sure that the Tab Strips fills this View
146 * @param textViewId id of the {@link TextView} in the inflated view
154 * Sets the associated view pager. Note that the assumption here is that the pager content
168 * Create a default view to be used for tabs. This is called if a custom tab view is not set via
179 // selectableItemBackground to ensure that the View has a pressed state
199 final View.OnClickListener tabClickListener = new TabClickListener();
202 View tabView = null;
206 // If there is a custom tab view layout id set, try and inflate it
242 View selectedChild = mTabStrip.getChildAt(tabIndex);
267 View selectedTitle = mTabStrip.getChildAt(position);
302 private class TabClickListener implements View.OnClickListener {
304 public void onClick(View v) {