1package android.support.design.widget { 2 3 public class AppBarLayout extends android.widget.LinearLayout { 4 ctor public AppBarLayout(android.content.Context); 5 ctor public AppBarLayout(android.content.Context, android.util.AttributeSet); 6 method public void addOnOffsetChangedListener(android.support.design.widget.AppBarLayout.OnOffsetChangedListener); 7 method public deprecated float getTargetElevation(); 8 method public final int getTotalScrollRange(); 9 method public void removeOnOffsetChangedListener(android.support.design.widget.AppBarLayout.OnOffsetChangedListener); 10 method public void setExpanded(boolean); 11 method public void setExpanded(boolean, boolean); 12 method public deprecated void setTargetElevation(float); 13 } 14 15 public static class AppBarLayout.Behavior extends android.support.design.widget.HeaderBehavior { 16 ctor public AppBarLayout.Behavior(); 17 ctor public AppBarLayout.Behavior(android.content.Context, android.util.AttributeSet); 18 method public boolean onLayoutChild(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, int); 19 method public boolean onMeasureChild(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, int, int, int, int); 20 method public boolean onNestedFling(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, android.view.View, float, float, boolean); 21 method public void onNestedPreScroll(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, android.view.View, int, int, int[]); 22 method public void onNestedScroll(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, android.view.View, int, int, int, int); 23 method public void onRestoreInstanceState(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, android.os.Parcelable); 24 method public android.os.Parcelable onSaveInstanceState(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout); 25 method public boolean onStartNestedScroll(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, android.view.View, android.view.View, int); 26 method public void onStopNestedScroll(android.support.design.widget.CoordinatorLayout, android.support.design.widget.AppBarLayout, android.view.View); 27 method public void setDragCallback(android.support.design.widget.AppBarLayout.Behavior.DragCallback); 28 } 29 30 public static abstract class AppBarLayout.Behavior.DragCallback { 31 ctor public AppBarLayout.Behavior.DragCallback(); 32 method public abstract boolean canDrag(android.support.design.widget.AppBarLayout); 33 } 34 35 protected static class AppBarLayout.Behavior.SavedState extends android.support.v4.view.AbsSavedState { 36 ctor public AppBarLayout.Behavior.SavedState(android.os.Parcel, java.lang.ClassLoader); 37 ctor public AppBarLayout.Behavior.SavedState(android.os.Parcelable); 38 field public static final android.os.Parcelable.Creator<android.support.design.widget.AppBarLayout.Behavior.SavedState> CREATOR; 39 } 40 41 public static class AppBarLayout.LayoutParams extends android.widget.LinearLayout.LayoutParams { 42 ctor public AppBarLayout.LayoutParams(android.content.Context, android.util.AttributeSet); 43 ctor public AppBarLayout.LayoutParams(int, int); 44 ctor public AppBarLayout.LayoutParams(int, int, float); 45 ctor public AppBarLayout.LayoutParams(android.view.ViewGroup.LayoutParams); 46 ctor public AppBarLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 47 ctor public AppBarLayout.LayoutParams(android.widget.LinearLayout.LayoutParams); 48 ctor public AppBarLayout.LayoutParams(android.support.design.widget.AppBarLayout.LayoutParams); 49 method public int getScrollFlags(); 50 method public android.view.animation.Interpolator getScrollInterpolator(); 51 method public void setScrollFlags(int); 52 method public void setScrollInterpolator(android.view.animation.Interpolator); 53 field public static final int SCROLL_FLAG_ENTER_ALWAYS = 4; // 0x4 54 field public static final int SCROLL_FLAG_ENTER_ALWAYS_COLLAPSED = 8; // 0x8 55 field public static final int SCROLL_FLAG_EXIT_UNTIL_COLLAPSED = 2; // 0x2 56 field public static final int SCROLL_FLAG_SCROLL = 1; // 0x1 57 field public static final int SCROLL_FLAG_SNAP = 16; // 0x10 58 } 59 60 public static abstract interface AppBarLayout.OnOffsetChangedListener { 61 method public abstract void onOffsetChanged(android.support.design.widget.AppBarLayout, int); 62 } 63 64 public static class AppBarLayout.ScrollingViewBehavior extends android.support.design.widget.HeaderScrollingViewBehavior { 65 ctor public AppBarLayout.ScrollingViewBehavior(); 66 ctor public AppBarLayout.ScrollingViewBehavior(android.content.Context, android.util.AttributeSet); 67 method public boolean layoutDependsOn(android.support.design.widget.CoordinatorLayout, android.view.View, android.view.View); 68 method public boolean onDependentViewChanged(android.support.design.widget.CoordinatorLayout, android.view.View, android.view.View); 69 } 70 71 public class BottomSheetBehavior extends android.support.design.widget.CoordinatorLayout.Behavior { 72 ctor public BottomSheetBehavior(); 73 ctor public BottomSheetBehavior(android.content.Context, android.util.AttributeSet); 74 method public static android.support.design.widget.BottomSheetBehavior<V> from(V); 75 method public final int getPeekHeight(); 76 method public boolean getSkipCollapsed(); 77 method public final int getState(); 78 method public boolean isHideable(); 79 method public void setBottomSheetCallback(android.support.design.widget.BottomSheetBehavior.BottomSheetCallback); 80 method public void setHideable(boolean); 81 method public final void setPeekHeight(int); 82 method public void setSkipCollapsed(boolean); 83 method public final void setState(int); 84 field public static final int STATE_COLLAPSED = 4; // 0x4 85 field public static final int STATE_DRAGGING = 1; // 0x1 86 field public static final int STATE_EXPANDED = 3; // 0x3 87 field public static final int STATE_HIDDEN = 5; // 0x5 88 field public static final int STATE_SETTLING = 2; // 0x2 89 } 90 91 public static abstract class BottomSheetBehavior.BottomSheetCallback { 92 ctor public BottomSheetBehavior.BottomSheetCallback(); 93 method public abstract void onSlide(android.view.View, float); 94 method public abstract void onStateChanged(android.view.View, int); 95 } 96 97 protected static class BottomSheetBehavior.SavedState extends android.support.v4.view.AbsSavedState { 98 ctor public BottomSheetBehavior.SavedState(android.os.Parcel); 99 ctor public BottomSheetBehavior.SavedState(android.os.Parcel, java.lang.ClassLoader); 100 ctor public BottomSheetBehavior.SavedState(android.os.Parcelable, int); 101 field public static final android.os.Parcelable.Creator<android.support.design.widget.BottomSheetBehavior.SavedState> CREATOR; 102 } 103 104 public class BottomSheetDialog extends android.support.v7.app.AppCompatDialog { 105 ctor public BottomSheetDialog(android.content.Context); 106 ctor public BottomSheetDialog(android.content.Context, int); 107 ctor protected BottomSheetDialog(android.content.Context, boolean, android.content.DialogInterface.OnCancelListener); 108 } 109 110 public class BottomSheetDialogFragment extends android.support.v7.app.AppCompatDialogFragment { 111 ctor public BottomSheetDialogFragment(); 112 } 113 114 public class CollapsingToolbarLayout extends android.widget.FrameLayout { 115 ctor public CollapsingToolbarLayout(android.content.Context); 116 ctor public CollapsingToolbarLayout(android.content.Context, android.util.AttributeSet); 117 ctor public CollapsingToolbarLayout(android.content.Context, android.util.AttributeSet, int); 118 method public int getCollapsedTitleGravity(); 119 method public android.graphics.Typeface getCollapsedTitleTypeface(); 120 method public android.graphics.drawable.Drawable getContentScrim(); 121 method public int getExpandedTitleGravity(); 122 method public int getExpandedTitleMarginBottom(); 123 method public int getExpandedTitleMarginEnd(); 124 method public int getExpandedTitleMarginStart(); 125 method public int getExpandedTitleMarginTop(); 126 method public android.graphics.Typeface getExpandedTitleTypeface(); 127 method public long getScrimAnimationDuration(); 128 method public int getScrimVisibleHeightTrigger(); 129 method public android.graphics.drawable.Drawable getStatusBarScrim(); 130 method public java.lang.CharSequence getTitle(); 131 method public boolean isTitleEnabled(); 132 method public void setCollapsedTitleGravity(int); 133 method public void setCollapsedTitleTextAppearance(int); 134 method public void setCollapsedTitleTextColor(int); 135 method public void setCollapsedTitleTypeface(android.graphics.Typeface); 136 method public void setContentScrim(android.graphics.drawable.Drawable); 137 method public void setContentScrimColor(int); 138 method public void setContentScrimResource(int); 139 method public void setExpandedTitleColor(int); 140 method public void setExpandedTitleGravity(int); 141 method public void setExpandedTitleMargin(int, int, int, int); 142 method public void setExpandedTitleMarginBottom(int); 143 method public void setExpandedTitleMarginEnd(int); 144 method public void setExpandedTitleMarginStart(int); 145 method public void setExpandedTitleMarginTop(int); 146 method public void setExpandedTitleTextAppearance(int); 147 method public void setExpandedTitleTypeface(android.graphics.Typeface); 148 method public void setScrimAnimationDuration(long); 149 method public void setScrimVisibleHeightTrigger(int); 150 method public void setScrimsShown(boolean); 151 method public void setScrimsShown(boolean, boolean); 152 method public void setStatusBarScrim(android.graphics.drawable.Drawable); 153 method public void setStatusBarScrimColor(int); 154 method public void setStatusBarScrimResource(int); 155 method public void setTitle(java.lang.CharSequence); 156 method public void setTitleEnabled(boolean); 157 } 158 159 public static class CollapsingToolbarLayout.LayoutParams extends android.widget.FrameLayout.LayoutParams { 160 ctor public CollapsingToolbarLayout.LayoutParams(android.content.Context, android.util.AttributeSet); 161 ctor public CollapsingToolbarLayout.LayoutParams(int, int); 162 ctor public CollapsingToolbarLayout.LayoutParams(int, int, int); 163 ctor public CollapsingToolbarLayout.LayoutParams(android.view.ViewGroup.LayoutParams); 164 ctor public CollapsingToolbarLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 165 ctor public CollapsingToolbarLayout.LayoutParams(android.widget.FrameLayout.LayoutParams); 166 method public int getCollapseMode(); 167 method public float getParallaxMultiplier(); 168 method public void setCollapseMode(int); 169 method public void setParallaxMultiplier(float); 170 field public static final int COLLAPSE_MODE_OFF = 0; // 0x0 171 field public static final int COLLAPSE_MODE_PARALLAX = 2; // 0x2 172 field public static final int COLLAPSE_MODE_PIN = 1; // 0x1 173 } 174 175 public class CoordinatorLayout extends android.view.ViewGroup { 176 ctor public CoordinatorLayout(android.content.Context); 177 ctor public CoordinatorLayout(android.content.Context, android.util.AttributeSet); 178 ctor public CoordinatorLayout(android.content.Context, android.util.AttributeSet, int); 179 method public void dispatchDependentViewsChanged(android.view.View); 180 method public boolean doViewsOverlap(android.view.View, android.view.View); 181 method public java.util.List<android.view.View> getDependencies(android.view.View); 182 method public android.graphics.drawable.Drawable getStatusBarBackground(); 183 method public boolean isPointInChildBounds(android.view.View, int, int); 184 method public void onAttachedToWindow(); 185 method public void onDetachedFromWindow(); 186 method public void onDraw(android.graphics.Canvas); 187 method protected void onLayout(boolean, int, int, int, int); 188 method public void onLayoutChild(android.view.View, int); 189 method public void onMeasureChild(android.view.View, int, int, int, int); 190 method public void setStatusBarBackground(android.graphics.drawable.Drawable); 191 method public void setStatusBarBackgroundColor(int); 192 method public void setStatusBarBackgroundResource(int); 193 } 194 195 public static abstract class CoordinatorLayout.Behavior { 196 ctor public CoordinatorLayout.Behavior(); 197 ctor public CoordinatorLayout.Behavior(android.content.Context, android.util.AttributeSet); 198 method public boolean blocksInteractionBelow(android.support.design.widget.CoordinatorLayout, V); 199 method public int getScrimColor(android.support.design.widget.CoordinatorLayout, V); 200 method public float getScrimOpacity(android.support.design.widget.CoordinatorLayout, V); 201 method public static java.lang.Object getTag(android.view.View); 202 method public boolean isDirty(android.support.design.widget.CoordinatorLayout, V); 203 method public boolean layoutDependsOn(android.support.design.widget.CoordinatorLayout, V, android.view.View); 204 method public android.support.v4.view.WindowInsetsCompat onApplyWindowInsets(android.support.design.widget.CoordinatorLayout, V, android.support.v4.view.WindowInsetsCompat); 205 method public boolean onDependentViewChanged(android.support.design.widget.CoordinatorLayout, V, android.view.View); 206 method public void onDependentViewRemoved(android.support.design.widget.CoordinatorLayout, V, android.view.View); 207 method public boolean onInterceptTouchEvent(android.support.design.widget.CoordinatorLayout, V, android.view.MotionEvent); 208 method public boolean onLayoutChild(android.support.design.widget.CoordinatorLayout, V, int); 209 method public boolean onMeasureChild(android.support.design.widget.CoordinatorLayout, V, int, int, int, int); 210 method public boolean onNestedFling(android.support.design.widget.CoordinatorLayout, V, android.view.View, float, float, boolean); 211 method public boolean onNestedPreFling(android.support.design.widget.CoordinatorLayout, V, android.view.View, float, float); 212 method public void onNestedPreScroll(android.support.design.widget.CoordinatorLayout, V, android.view.View, int, int, int[]); 213 method public void onNestedScroll(android.support.design.widget.CoordinatorLayout, V, android.view.View, int, int, int, int); 214 method public void onNestedScrollAccepted(android.support.design.widget.CoordinatorLayout, V, android.view.View, android.view.View, int); 215 method public void onRestoreInstanceState(android.support.design.widget.CoordinatorLayout, V, android.os.Parcelable); 216 method public android.os.Parcelable onSaveInstanceState(android.support.design.widget.CoordinatorLayout, V); 217 method public boolean onStartNestedScroll(android.support.design.widget.CoordinatorLayout, V, android.view.View, android.view.View, int); 218 method public void onStopNestedScroll(android.support.design.widget.CoordinatorLayout, V, android.view.View); 219 method public boolean onTouchEvent(android.support.design.widget.CoordinatorLayout, V, android.view.MotionEvent); 220 method public static void setTag(android.view.View, java.lang.Object); 221 } 222 223 public static abstract class CoordinatorLayout.DefaultBehavior implements java.lang.annotation.Annotation { 224 } 225 226 public static class CoordinatorLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { 227 ctor public CoordinatorLayout.LayoutParams(int, int); 228 ctor public CoordinatorLayout.LayoutParams(android.support.design.widget.CoordinatorLayout.LayoutParams); 229 ctor public CoordinatorLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 230 ctor public CoordinatorLayout.LayoutParams(android.view.ViewGroup.LayoutParams); 231 method public int getAnchorId(); 232 method public android.support.design.widget.CoordinatorLayout.Behavior getBehavior(); 233 method public void setAnchorId(int); 234 method public void setBehavior(android.support.design.widget.CoordinatorLayout.Behavior); 235 field public int anchorGravity; 236 field public int gravity; 237 field public int keyline; 238 } 239 240 protected static class CoordinatorLayout.SavedState extends android.support.v4.view.AbsSavedState { 241 ctor public CoordinatorLayout.SavedState(android.os.Parcel, java.lang.ClassLoader); 242 ctor public CoordinatorLayout.SavedState(android.os.Parcelable); 243 field public static final android.os.Parcelable.Creator<android.support.design.widget.CoordinatorLayout.SavedState> CREATOR; 244 } 245 246 public class FloatingActionButton extends android.support.design.widget.VisibilityAwareImageButton { 247 ctor public FloatingActionButton(android.content.Context); 248 ctor public FloatingActionButton(android.content.Context, android.util.AttributeSet); 249 ctor public FloatingActionButton(android.content.Context, android.util.AttributeSet, int); 250 method public float getCompatElevation(); 251 method public android.graphics.drawable.Drawable getContentBackground(); 252 method public boolean getContentRect(android.graphics.Rect); 253 method public int getSize(); 254 method public boolean getUseCompatPadding(); 255 method public void hide(); 256 method public void hide(android.support.design.widget.FloatingActionButton.OnVisibilityChangedListener); 257 method public void setCompatElevation(float); 258 method public void setRippleColor(int); 259 method public void setSize(int); 260 method public void setUseCompatPadding(boolean); 261 method public void show(); 262 method public void show(android.support.design.widget.FloatingActionButton.OnVisibilityChangedListener); 263 field public static final int SIZE_AUTO = -1; // 0xffffffff 264 field public static final int SIZE_MINI = 1; // 0x1 265 field public static final int SIZE_NORMAL = 0; // 0x0 266 } 267 268 public static class FloatingActionButton.Behavior extends android.support.design.widget.CoordinatorLayout.Behavior { 269 ctor public FloatingActionButton.Behavior(); 270 ctor public FloatingActionButton.Behavior(android.content.Context, android.util.AttributeSet); 271 method public boolean layoutDependsOn(android.support.design.widget.CoordinatorLayout, android.support.design.widget.FloatingActionButton, android.view.View); 272 method public boolean onDependentViewChanged(android.support.design.widget.CoordinatorLayout, android.support.design.widget.FloatingActionButton, android.view.View); 273 method public void onDependentViewRemoved(android.support.design.widget.CoordinatorLayout, android.support.design.widget.FloatingActionButton, android.view.View); 274 method public boolean onLayoutChild(android.support.design.widget.CoordinatorLayout, android.support.design.widget.FloatingActionButton, int); 275 } 276 277 public static abstract class FloatingActionButton.OnVisibilityChangedListener { 278 ctor public FloatingActionButton.OnVisibilityChangedListener(); 279 method public void onHidden(android.support.design.widget.FloatingActionButton); 280 method public void onShown(android.support.design.widget.FloatingActionButton); 281 } 282 283 abstract class HeaderBehavior extends android.support.design.widget.ViewOffsetBehavior { 284 ctor public HeaderBehavior(); 285 ctor public HeaderBehavior(android.content.Context, android.util.AttributeSet); 286 } 287 288 abstract class HeaderScrollingViewBehavior extends android.support.design.widget.ViewOffsetBehavior { 289 ctor public HeaderScrollingViewBehavior(); 290 ctor public HeaderScrollingViewBehavior(android.content.Context, android.util.AttributeSet); 291 method public final int getOverlayTop(); 292 method protected void layoutChild(android.support.design.widget.CoordinatorLayout, android.view.View, int); 293 method public boolean onMeasureChild(android.support.design.widget.CoordinatorLayout, android.view.View, int, int, int, int); 294 method public final void setOverlayTop(int); 295 } 296 297 public class NavigationView extends android.widget.FrameLayout { 298 ctor public NavigationView(android.content.Context); 299 ctor public NavigationView(android.content.Context, android.util.AttributeSet); 300 ctor public NavigationView(android.content.Context, android.util.AttributeSet, int); 301 method public void addHeaderView(android.view.View); 302 method public int getHeaderCount(); 303 method public android.view.View getHeaderView(int); 304 method public android.graphics.drawable.Drawable getItemBackground(); 305 method public android.content.res.ColorStateList getItemIconTintList(); 306 method public android.content.res.ColorStateList getItemTextColor(); 307 method public android.view.Menu getMenu(); 308 method public android.view.View inflateHeaderView(int); 309 method public void inflateMenu(int); 310 method public void removeHeaderView(android.view.View); 311 method public void setCheckedItem(int); 312 method public void setItemBackground(android.graphics.drawable.Drawable); 313 method public void setItemBackgroundResource(int); 314 method public void setItemIconTintList(android.content.res.ColorStateList); 315 method public void setItemTextAppearance(int); 316 method public void setItemTextColor(android.content.res.ColorStateList); 317 method public void setNavigationItemSelectedListener(android.support.design.widget.NavigationView.OnNavigationItemSelectedListener); 318 } 319 320 public static abstract interface NavigationView.OnNavigationItemSelectedListener { 321 method public abstract boolean onNavigationItemSelected(android.view.MenuItem); 322 } 323 324 public static class NavigationView.SavedState extends android.support.v4.view.AbsSavedState { 325 ctor public NavigationView.SavedState(android.os.Parcel, java.lang.ClassLoader); 326 ctor public NavigationView.SavedState(android.os.Parcelable); 327 field public static final android.os.Parcelable.Creator<android.support.design.widget.NavigationView.SavedState> CREATOR; 328 field public android.os.Bundle menuState; 329 } 330 331 public final class Snackbar { 332 method public void dismiss(); 333 method public int getDuration(); 334 method public android.view.View getView(); 335 method public boolean isShown(); 336 method public boolean isShownOrQueued(); 337 method public static android.support.design.widget.Snackbar make(android.view.View, java.lang.CharSequence, int); 338 method public static android.support.design.widget.Snackbar make(android.view.View, int, int); 339 method public android.support.design.widget.Snackbar setAction(int, android.view.View.OnClickListener); 340 method public android.support.design.widget.Snackbar setAction(java.lang.CharSequence, android.view.View.OnClickListener); 341 method public android.support.design.widget.Snackbar setActionTextColor(android.content.res.ColorStateList); 342 method public android.support.design.widget.Snackbar setActionTextColor(int); 343 method public android.support.design.widget.Snackbar setCallback(android.support.design.widget.Snackbar.Callback); 344 method public android.support.design.widget.Snackbar setDuration(int); 345 method public android.support.design.widget.Snackbar setText(java.lang.CharSequence); 346 method public android.support.design.widget.Snackbar setText(int); 347 method public void show(); 348 field public static final int LENGTH_INDEFINITE = -2; // 0xfffffffe 349 field public static final int LENGTH_LONG = 0; // 0x0 350 field public static final int LENGTH_SHORT = -1; // 0xffffffff 351 } 352 353 public static abstract class Snackbar.Callback { 354 ctor public Snackbar.Callback(); 355 method public void onDismissed(android.support.design.widget.Snackbar, int); 356 method public void onShown(android.support.design.widget.Snackbar); 357 field public static final int DISMISS_EVENT_ACTION = 1; // 0x1 358 field public static final int DISMISS_EVENT_CONSECUTIVE = 4; // 0x4 359 field public static final int DISMISS_EVENT_MANUAL = 3; // 0x3 360 field public static final int DISMISS_EVENT_SWIPE = 0; // 0x0 361 field public static final int DISMISS_EVENT_TIMEOUT = 2; // 0x2 362 } 363 364 public class SwipeDismissBehavior extends android.support.design.widget.CoordinatorLayout.Behavior { 365 ctor public SwipeDismissBehavior(); 366 method public boolean canSwipeDismissView(android.view.View); 367 method public int getDragState(); 368 method public void setDragDismissDistance(float); 369 method public void setEndAlphaSwipeDistance(float); 370 method public void setListener(android.support.design.widget.SwipeDismissBehavior.OnDismissListener); 371 method public void setSensitivity(float); 372 method public void setStartAlphaSwipeDistance(float); 373 method public void setSwipeDirection(int); 374 field public static final int STATE_DRAGGING = 1; // 0x1 375 field public static final int STATE_IDLE = 0; // 0x0 376 field public static final int STATE_SETTLING = 2; // 0x2 377 field public static final int SWIPE_DIRECTION_ANY = 2; // 0x2 378 field public static final int SWIPE_DIRECTION_END_TO_START = 1; // 0x1 379 field public static final int SWIPE_DIRECTION_START_TO_END = 0; // 0x0 380 } 381 382 public static abstract interface SwipeDismissBehavior.OnDismissListener { 383 method public abstract void onDismiss(android.view.View); 384 method public abstract void onDragStateChanged(int); 385 } 386 387 public final class TabItem extends android.view.View { 388 ctor public TabItem(android.content.Context); 389 ctor public TabItem(android.content.Context, android.util.AttributeSet); 390 } 391 392 public class TabLayout extends android.widget.HorizontalScrollView { 393 ctor public TabLayout(android.content.Context); 394 ctor public TabLayout(android.content.Context, android.util.AttributeSet); 395 ctor public TabLayout(android.content.Context, android.util.AttributeSet, int); 396 method public void addOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener); 397 method public void addTab(android.support.design.widget.TabLayout.Tab); 398 method public void addTab(android.support.design.widget.TabLayout.Tab, int); 399 method public void addTab(android.support.design.widget.TabLayout.Tab, boolean); 400 method public void addTab(android.support.design.widget.TabLayout.Tab, int, boolean); 401 method public int getSelectedTabPosition(); 402 method public android.support.design.widget.TabLayout.Tab getTabAt(int); 403 method public int getTabCount(); 404 method public int getTabGravity(); 405 method public int getTabMode(); 406 method public android.content.res.ColorStateList getTabTextColors(); 407 method public android.support.design.widget.TabLayout.Tab newTab(); 408 method public void removeAllTabs(); 409 method public void removeOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener); 410 method public void removeTab(android.support.design.widget.TabLayout.Tab); 411 method public void removeTabAt(int); 412 method public deprecated void setOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener); 413 method public void setScrollPosition(int, float, boolean); 414 method public void setSelectedTabIndicatorColor(int); 415 method public void setSelectedTabIndicatorHeight(int); 416 method public void setTabGravity(int); 417 method public void setTabMode(int); 418 method public void setTabTextColors(android.content.res.ColorStateList); 419 method public void setTabTextColors(int, int); 420 method public deprecated void setTabsFromPagerAdapter(android.support.v4.view.PagerAdapter); 421 method public void setupWithViewPager(android.support.v4.view.ViewPager); 422 method public void setupWithViewPager(android.support.v4.view.ViewPager, boolean); 423 field public static final int GRAVITY_CENTER = 1; // 0x1 424 field public static final int GRAVITY_FILL = 0; // 0x0 425 field public static final int MODE_FIXED = 1; // 0x1 426 field public static final int MODE_SCROLLABLE = 0; // 0x0 427 } 428 429 public static abstract interface TabLayout.OnTabSelectedListener { 430 method public abstract void onTabReselected(android.support.design.widget.TabLayout.Tab); 431 method public abstract void onTabSelected(android.support.design.widget.TabLayout.Tab); 432 method public abstract void onTabUnselected(android.support.design.widget.TabLayout.Tab); 433 } 434 435 public static final class TabLayout.Tab { 436 method public java.lang.CharSequence getContentDescription(); 437 method public android.view.View getCustomView(); 438 method public android.graphics.drawable.Drawable getIcon(); 439 method public int getPosition(); 440 method public java.lang.Object getTag(); 441 method public java.lang.CharSequence getText(); 442 method public boolean isSelected(); 443 method public void select(); 444 method public android.support.design.widget.TabLayout.Tab setContentDescription(int); 445 method public android.support.design.widget.TabLayout.Tab setContentDescription(java.lang.CharSequence); 446 method public android.support.design.widget.TabLayout.Tab setCustomView(android.view.View); 447 method public android.support.design.widget.TabLayout.Tab setCustomView(int); 448 method public android.support.design.widget.TabLayout.Tab setIcon(android.graphics.drawable.Drawable); 449 method public android.support.design.widget.TabLayout.Tab setIcon(int); 450 method public android.support.design.widget.TabLayout.Tab setTag(java.lang.Object); 451 method public android.support.design.widget.TabLayout.Tab setText(java.lang.CharSequence); 452 method public android.support.design.widget.TabLayout.Tab setText(int); 453 field public static final int INVALID_POSITION = -1; // 0xffffffff 454 } 455 456 public static class TabLayout.TabLayoutOnPageChangeListener implements android.support.v4.view.ViewPager.OnPageChangeListener { 457 ctor public TabLayout.TabLayoutOnPageChangeListener(android.support.design.widget.TabLayout); 458 method public void onPageScrollStateChanged(int); 459 method public void onPageScrolled(int, float, int); 460 method public void onPageSelected(int); 461 } 462 463 public static class TabLayout.ViewPagerOnTabSelectedListener implements android.support.design.widget.TabLayout.OnTabSelectedListener { 464 ctor public TabLayout.ViewPagerOnTabSelectedListener(android.support.v4.view.ViewPager); 465 method public void onTabReselected(android.support.design.widget.TabLayout.Tab); 466 method public void onTabSelected(android.support.design.widget.TabLayout.Tab); 467 method public void onTabUnselected(android.support.design.widget.TabLayout.Tab); 468 } 469 470 public class TextInputEditText extends android.support.v7.widget.AppCompatEditText { 471 ctor public TextInputEditText(android.content.Context); 472 ctor public TextInputEditText(android.content.Context, android.util.AttributeSet); 473 ctor public TextInputEditText(android.content.Context, android.util.AttributeSet, int); 474 } 475 476 public class TextInputLayout extends android.widget.LinearLayout { 477 ctor public TextInputLayout(android.content.Context); 478 ctor public TextInputLayout(android.content.Context, android.util.AttributeSet); 479 ctor public TextInputLayout(android.content.Context, android.util.AttributeSet, int); 480 method public int getCounterMaxLength(); 481 method public android.widget.EditText getEditText(); 482 method public java.lang.CharSequence getError(); 483 method public java.lang.CharSequence getHint(); 484 method public android.graphics.Typeface getTypeface(); 485 method public boolean isCounterEnabled(); 486 method public boolean isErrorEnabled(); 487 method public boolean isHintAnimationEnabled(); 488 method public boolean isHintEnabled(); 489 method public android.os.Parcelable onSaveInstanceState(); 490 method public void setCounterEnabled(boolean); 491 method public void setCounterMaxLength(int); 492 method public void setError(java.lang.CharSequence); 493 method public void setErrorEnabled(boolean); 494 method public void setHint(java.lang.CharSequence); 495 method public void setHintAnimationEnabled(boolean); 496 method public void setHintEnabled(boolean); 497 method public void setHintTextAppearance(int); 498 method public void setTypeface(android.graphics.Typeface); 499 } 500 501 class ViewOffsetBehavior extends android.support.design.widget.CoordinatorLayout.Behavior { 502 ctor public ViewOffsetBehavior(); 503 ctor public ViewOffsetBehavior(android.content.Context, android.util.AttributeSet); 504 method public int getLeftAndRightOffset(); 505 method public int getTopAndBottomOffset(); 506 method protected void layoutChild(android.support.design.widget.CoordinatorLayout, V, int); 507 method public boolean setLeftAndRightOffset(int); 508 method public boolean setTopAndBottomOffset(int); 509 } 510 511 class VisibilityAwareImageButton extends android.widget.ImageButton { 512 ctor public VisibilityAwareImageButton(android.content.Context); 513 ctor public VisibilityAwareImageButton(android.content.Context, android.util.AttributeSet); 514 ctor public VisibilityAwareImageButton(android.content.Context, android.util.AttributeSet, int); 515 } 516 517} 518 519