1package android.support.v7.app { 2 3 public abstract class ActionBar { 4 ctor public ActionBar(); 5 method public abstract void addOnMenuVisibilityListener(android.support.v7.app.ActionBar.OnMenuVisibilityListener); 6 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab); 7 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, boolean); 8 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int); 9 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int, boolean); 10 method public abstract android.view.View getCustomView(); 11 method public abstract int getDisplayOptions(); 12 method public float getElevation(); 13 method public abstract int getHeight(); 14 method public int getHideOffset(); 15 method public abstract deprecated int getNavigationItemCount(); 16 method public abstract deprecated int getNavigationMode(); 17 method public abstract deprecated int getSelectedNavigationIndex(); 18 method public abstract deprecated android.support.v7.app.ActionBar.Tab getSelectedTab(); 19 method public abstract java.lang.CharSequence getSubtitle(); 20 method public abstract deprecated android.support.v7.app.ActionBar.Tab getTabAt(int); 21 method public abstract deprecated int getTabCount(); 22 method public android.content.Context getThemedContext(); 23 method public abstract java.lang.CharSequence getTitle(); 24 method public abstract void hide(); 25 method public boolean isHideOnContentScrollEnabled(); 26 method public abstract boolean isShowing(); 27 method public abstract deprecated android.support.v7.app.ActionBar.Tab newTab(); 28 method public abstract deprecated void removeAllTabs(); 29 method public abstract void removeOnMenuVisibilityListener(android.support.v7.app.ActionBar.OnMenuVisibilityListener); 30 method public abstract deprecated void removeTab(android.support.v7.app.ActionBar.Tab); 31 method public abstract deprecated void removeTabAt(int); 32 method public abstract deprecated void selectTab(android.support.v7.app.ActionBar.Tab); 33 method public abstract void setBackgroundDrawable(android.graphics.drawable.Drawable); 34 method public abstract void setCustomView(android.view.View); 35 method public abstract void setCustomView(android.view.View, android.support.v7.app.ActionBar.LayoutParams); 36 method public abstract void setCustomView(int); 37 method public abstract void setDisplayHomeAsUpEnabled(boolean); 38 method public abstract void setDisplayOptions(int); 39 method public abstract void setDisplayOptions(int, int); 40 method public abstract void setDisplayShowCustomEnabled(boolean); 41 method public abstract void setDisplayShowHomeEnabled(boolean); 42 method public abstract void setDisplayShowTitleEnabled(boolean); 43 method public abstract void setDisplayUseLogoEnabled(boolean); 44 method public void setElevation(float); 45 method public void setHideOffset(int); 46 method public void setHideOnContentScrollEnabled(boolean); 47 method public void setHomeActionContentDescription(java.lang.CharSequence); 48 method public void setHomeActionContentDescription(int); 49 method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable); 50 method public void setHomeAsUpIndicator(int); 51 method public void setHomeButtonEnabled(boolean); 52 method public abstract void setIcon(int); 53 method public abstract void setIcon(android.graphics.drawable.Drawable); 54 method public abstract deprecated void setListNavigationCallbacks(android.widget.SpinnerAdapter, android.support.v7.app.ActionBar.OnNavigationListener); 55 method public abstract void setLogo(int); 56 method public abstract void setLogo(android.graphics.drawable.Drawable); 57 method public abstract deprecated void setNavigationMode(int); 58 method public abstract deprecated void setSelectedNavigationItem(int); 59 method public void setSplitBackgroundDrawable(android.graphics.drawable.Drawable); 60 method public void setStackedBackgroundDrawable(android.graphics.drawable.Drawable); 61 method public abstract void setSubtitle(java.lang.CharSequence); 62 method public abstract void setSubtitle(int); 63 method public abstract void setTitle(java.lang.CharSequence); 64 method public abstract void setTitle(int); 65 method public abstract void show(); 66 field public static final int DISPLAY_HOME_AS_UP = 4; // 0x4 67 field public static final int DISPLAY_SHOW_CUSTOM = 16; // 0x10 68 field public static final int DISPLAY_SHOW_HOME = 2; // 0x2 69 field public static final int DISPLAY_SHOW_TITLE = 8; // 0x8 70 field public static final int DISPLAY_USE_LOGO = 1; // 0x1 71 field public static final deprecated int NAVIGATION_MODE_LIST = 1; // 0x1 72 field public static final deprecated int NAVIGATION_MODE_STANDARD = 0; // 0x0 73 field public static final deprecated int NAVIGATION_MODE_TABS = 2; // 0x2 74 } 75 76 public static class ActionBar.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { 77 ctor public ActionBar.LayoutParams(android.content.Context, android.util.AttributeSet); 78 ctor public ActionBar.LayoutParams(int, int); 79 ctor public ActionBar.LayoutParams(int, int, int); 80 ctor public ActionBar.LayoutParams(int); 81 ctor public ActionBar.LayoutParams(android.support.v7.app.ActionBar.LayoutParams); 82 ctor public ActionBar.LayoutParams(android.view.ViewGroup.LayoutParams); 83 field public int gravity; 84 } 85 86 public static abstract interface ActionBar.OnMenuVisibilityListener { 87 method public abstract void onMenuVisibilityChanged(boolean); 88 } 89 90 public static abstract deprecated interface ActionBar.OnNavigationListener { 91 method public abstract boolean onNavigationItemSelected(int, long); 92 } 93 94 public static abstract deprecated class ActionBar.Tab { 95 ctor public ActionBar.Tab(); 96 method public abstract java.lang.CharSequence getContentDescription(); 97 method public abstract android.view.View getCustomView(); 98 method public abstract android.graphics.drawable.Drawable getIcon(); 99 method public abstract int getPosition(); 100 method public abstract java.lang.Object getTag(); 101 method public abstract java.lang.CharSequence getText(); 102 method public abstract void select(); 103 method public abstract android.support.v7.app.ActionBar.Tab setContentDescription(int); 104 method public abstract android.support.v7.app.ActionBar.Tab setContentDescription(java.lang.CharSequence); 105 method public abstract android.support.v7.app.ActionBar.Tab setCustomView(android.view.View); 106 method public abstract android.support.v7.app.ActionBar.Tab setCustomView(int); 107 method public abstract android.support.v7.app.ActionBar.Tab setIcon(android.graphics.drawable.Drawable); 108 method public abstract android.support.v7.app.ActionBar.Tab setIcon(int); 109 method public abstract android.support.v7.app.ActionBar.Tab setTabListener(android.support.v7.app.ActionBar.TabListener); 110 method public abstract android.support.v7.app.ActionBar.Tab setTag(java.lang.Object); 111 method public abstract android.support.v7.app.ActionBar.Tab setText(java.lang.CharSequence); 112 method public abstract android.support.v7.app.ActionBar.Tab setText(int); 113 field public static final int INVALID_POSITION = -1; // 0xffffffff 114 } 115 116 public static abstract deprecated interface ActionBar.TabListener { 117 method public abstract void onTabReselected(android.support.v7.app.ActionBar.Tab, android.support.v4.app.FragmentTransaction); 118 method public abstract void onTabSelected(android.support.v7.app.ActionBar.Tab, android.support.v4.app.FragmentTransaction); 119 method public abstract void onTabUnselected(android.support.v7.app.ActionBar.Tab, android.support.v4.app.FragmentTransaction); 120 } 121 122 public class ActionBarActivity extends android.support.v4.app.FragmentActivity { 123 ctor public ActionBarActivity(); 124 method public final android.support.v4.app.ActionBarDrawerToggle.Delegate getDrawerToggleDelegate(); 125 method public android.support.v7.app.ActionBar getSupportActionBar(); 126 method public android.content.Intent getSupportParentActivityIntent(); 127 method public android.support.v7.app.ActionBarDrawerToggle.Delegate getV7DrawerToggleDelegate(); 128 method public final void onContentChanged(); 129 method public void onCreateSupportNavigateUpTaskStack(android.support.v4.app.TaskStackBuilder); 130 method public final boolean onMenuItemSelected(int, android.view.MenuItem); 131 method public void onPrepareSupportNavigateUpTaskStack(android.support.v4.app.TaskStackBuilder); 132 method public void onSupportActionModeFinished(android.support.v7.view.ActionMode); 133 method public void onSupportActionModeStarted(android.support.v7.view.ActionMode); 134 method public void onSupportContentChanged(); 135 method public boolean onSupportNavigateUp(); 136 method public void setSupportActionBar(android.support.v7.widget.Toolbar); 137 method public void setSupportProgress(int); 138 method public void setSupportProgressBarIndeterminate(boolean); 139 method public void setSupportProgressBarIndeterminateVisibility(boolean); 140 method public void setSupportProgressBarVisibility(boolean); 141 method public android.support.v7.view.ActionMode startSupportActionMode(android.support.v7.view.ActionMode.Callback); 142 method public void supportNavigateUpTo(android.content.Intent); 143 method public boolean supportRequestWindowFeature(int); 144 method public boolean supportShouldUpRecreateTask(android.content.Intent); 145 } 146 147 public class ActionBarDrawerToggle implements android.support.v4.widget.DrawerLayout.DrawerListener { 148 ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, int, int); 149 ctor public ActionBarDrawerToggle(android.app.Activity, android.support.v4.widget.DrawerLayout, android.support.v7.widget.Toolbar, int, int); 150 method public android.view.View.OnClickListener getToolbarNavigationClickListener(); 151 method public boolean isDrawerIndicatorEnabled(); 152 method public void onConfigurationChanged(android.content.res.Configuration); 153 method public void onDrawerClosed(android.view.View); 154 method public void onDrawerOpened(android.view.View); 155 method public void onDrawerSlide(android.view.View, float); 156 method public void onDrawerStateChanged(int); 157 method public boolean onOptionsItemSelected(android.view.MenuItem); 158 method public void setDrawerIndicatorEnabled(boolean); 159 method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable); 160 method public void setHomeAsUpIndicator(int); 161 method public void setToolbarNavigationClickListener(android.view.View.OnClickListener); 162 method public void syncState(); 163 } 164 165 public static abstract interface ActionBarDrawerToggle.Delegate { 166 method public abstract android.content.Context getActionBarThemedContext(); 167 method public abstract android.graphics.drawable.Drawable getThemeUpIndicator(); 168 method public abstract boolean isNavigationVisible(); 169 method public abstract void setActionBarDescription(int); 170 method public abstract void setActionBarUpIndicator(android.graphics.drawable.Drawable, int); 171 } 172 173 public static abstract interface ActionBarDrawerToggle.DelegateProvider { 174 method public abstract android.support.v7.app.ActionBarDrawerToggle.Delegate getDrawerToggleDelegate(); 175 } 176 177} 178 179package android.support.v7.view { 180 181 public abstract class ActionMode { 182 ctor public ActionMode(); 183 method public abstract void finish(); 184 method public abstract android.view.View getCustomView(); 185 method public abstract android.view.Menu getMenu(); 186 method public abstract android.view.MenuInflater getMenuInflater(); 187 method public abstract java.lang.CharSequence getSubtitle(); 188 method public java.lang.Object getTag(); 189 method public abstract java.lang.CharSequence getTitle(); 190 method public boolean getTitleOptionalHint(); 191 method public abstract void invalidate(); 192 method public boolean isTitleOptional(); 193 method public abstract void setCustomView(android.view.View); 194 method public abstract void setSubtitle(java.lang.CharSequence); 195 method public abstract void setSubtitle(int); 196 method public void setTag(java.lang.Object); 197 method public abstract void setTitle(java.lang.CharSequence); 198 method public abstract void setTitle(int); 199 method public void setTitleOptionalHint(boolean); 200 } 201 202 public static abstract interface ActionMode.Callback { 203 method public abstract boolean onActionItemClicked(android.support.v7.view.ActionMode, android.view.MenuItem); 204 method public abstract boolean onCreateActionMode(android.support.v7.view.ActionMode, android.view.Menu); 205 method public abstract void onDestroyActionMode(android.support.v7.view.ActionMode); 206 method public abstract boolean onPrepareActionMode(android.support.v7.view.ActionMode, android.view.Menu); 207 } 208 209 public abstract interface CollapsibleActionView { 210 method public abstract void onActionViewCollapsed(); 211 method public abstract void onActionViewExpanded(); 212 } 213 214} 215 216package android.support.v7.widget { 217 218 public class ActionMenuView extends android.support.v7.widget.LinearLayoutCompat { 219 ctor public ActionMenuView(android.content.Context); 220 ctor public ActionMenuView(android.content.Context, android.util.AttributeSet); 221 method public void dismissPopupMenus(); 222 method public android.view.Menu getMenu(); 223 method public int getPopupTheme(); 224 method public boolean hideOverflowMenu(); 225 method public boolean isOverflowMenuShowing(); 226 method public void onConfigurationChanged(android.content.res.Configuration); 227 method public void onDetachedFromWindow(); 228 method public void setOnMenuItemClickListener(android.support.v7.widget.ActionMenuView.OnMenuItemClickListener); 229 method public void setPopupTheme(int); 230 method public boolean showOverflowMenu(); 231 } 232 233 public static class ActionMenuView.LayoutParams extends android.support.v7.widget.LinearLayoutCompat.LayoutParams { 234 ctor public ActionMenuView.LayoutParams(android.content.Context, android.util.AttributeSet); 235 ctor public ActionMenuView.LayoutParams(android.view.ViewGroup.LayoutParams); 236 ctor public ActionMenuView.LayoutParams(android.support.v7.widget.ActionMenuView.LayoutParams); 237 ctor public ActionMenuView.LayoutParams(int, int); 238 field public int cellsUsed; 239 field public boolean expandable; 240 field public int extraPixels; 241 field public boolean isOverflowButton; 242 field public boolean preventEdgeOffset; 243 } 244 245 public static abstract interface ActionMenuView.OnMenuItemClickListener { 246 method public abstract boolean onMenuItemClick(android.view.MenuItem); 247 } 248 249 public class LinearLayoutCompat extends android.view.ViewGroup { 250 ctor public LinearLayoutCompat(android.content.Context); 251 ctor public LinearLayoutCompat(android.content.Context, android.util.AttributeSet); 252 ctor public LinearLayoutCompat(android.content.Context, android.util.AttributeSet, int); 253 method public int getBaselineAlignedChildIndex(); 254 method public android.graphics.drawable.Drawable getDividerDrawable(); 255 method public int getDividerPadding(); 256 method public int getOrientation(); 257 method public int getShowDividers(); 258 method public float getWeightSum(); 259 method public boolean isBaselineAligned(); 260 method public boolean isMeasureWithLargestChildEnabled(); 261 method protected void onLayout(boolean, int, int, int, int); 262 method public void setBaselineAligned(boolean); 263 method public void setBaselineAlignedChildIndex(int); 264 method public void setDividerDrawable(android.graphics.drawable.Drawable); 265 method public void setDividerPadding(int); 266 method public void setGravity(int); 267 method public void setHorizontalGravity(int); 268 method public void setMeasureWithLargestChildEnabled(boolean); 269 method public void setOrientation(int); 270 method public void setShowDividers(int); 271 method public void setVerticalGravity(int); 272 method public void setWeightSum(float); 273 field public static final int HORIZONTAL = 0; // 0x0 274 field public static final int SHOW_DIVIDER_BEGINNING = 1; // 0x1 275 field public static final int SHOW_DIVIDER_END = 4; // 0x4 276 field public static final int SHOW_DIVIDER_MIDDLE = 2; // 0x2 277 field public static final int SHOW_DIVIDER_NONE = 0; // 0x0 278 field public static final int VERTICAL = 1; // 0x1 279 } 280 281 public static class LinearLayoutCompat.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { 282 ctor public LinearLayoutCompat.LayoutParams(android.content.Context, android.util.AttributeSet); 283 ctor public LinearLayoutCompat.LayoutParams(int, int); 284 ctor public LinearLayoutCompat.LayoutParams(int, int, float); 285 ctor public LinearLayoutCompat.LayoutParams(android.view.ViewGroup.LayoutParams); 286 ctor public LinearLayoutCompat.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 287 ctor public LinearLayoutCompat.LayoutParams(android.support.v7.widget.LinearLayoutCompat.LayoutParams); 288 field public int gravity; 289 field public float weight; 290 } 291 292 public class ListPopupWindow { 293 ctor public ListPopupWindow(android.content.Context); 294 ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet); 295 ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet, int); 296 ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet, int, int); 297 method public void clearListSelection(); 298 method public android.view.View.OnTouchListener createDragToOpenListener(android.view.View); 299 method public void dismiss(); 300 method public android.view.View getAnchorView(); 301 method public int getAnimationStyle(); 302 method public android.graphics.drawable.Drawable getBackground(); 303 method public int getHeight(); 304 method public int getHorizontalOffset(); 305 method public int getInputMethodMode(); 306 method public android.widget.ListView getListView(); 307 method public int getPromptPosition(); 308 method public java.lang.Object getSelectedItem(); 309 method public long getSelectedItemId(); 310 method public int getSelectedItemPosition(); 311 method public android.view.View getSelectedView(); 312 method public int getSoftInputMode(); 313 method public int getVerticalOffset(); 314 method public int getWidth(); 315 method public boolean isInputMethodNotNeeded(); 316 method public boolean isModal(); 317 method public boolean isShowing(); 318 method public boolean onKeyDown(int, android.view.KeyEvent); 319 method public boolean onKeyPreIme(int, android.view.KeyEvent); 320 method public boolean onKeyUp(int, android.view.KeyEvent); 321 method public boolean performItemClick(int); 322 method public void postShow(); 323 method public void setAdapter(android.widget.ListAdapter); 324 method public void setAnchorView(android.view.View); 325 method public void setAnimationStyle(int); 326 method public void setBackgroundDrawable(android.graphics.drawable.Drawable); 327 method public void setContentWidth(int); 328 method public void setDropDownGravity(int); 329 method public void setHeight(int); 330 method public void setHorizontalOffset(int); 331 method public void setInputMethodMode(int); 332 method public void setListSelector(android.graphics.drawable.Drawable); 333 method public void setModal(boolean); 334 method public void setOnDismissListener(android.widget.PopupWindow.OnDismissListener); 335 method public void setOnItemClickListener(android.widget.AdapterView.OnItemClickListener); 336 method public void setOnItemSelectedListener(android.widget.AdapterView.OnItemSelectedListener); 337 method public void setPromptPosition(int); 338 method public void setPromptView(android.view.View); 339 method public void setSelection(int); 340 method public void setSoftInputMode(int); 341 method public void setVerticalOffset(int); 342 method public void setWidth(int); 343 method public void show(); 344 field public static final int INPUT_METHOD_FROM_FOCUSABLE = 0; // 0x0 345 field public static final int INPUT_METHOD_NEEDED = 1; // 0x1 346 field public static final int INPUT_METHOD_NOT_NEEDED = 2; // 0x2 347 field public static final int MATCH_PARENT = -1; // 0xffffffff 348 field public static final int POSITION_PROMPT_ABOVE = 0; // 0x0 349 field public static final int POSITION_PROMPT_BELOW = 1; // 0x1 350 field public static final int WRAP_CONTENT = -2; // 0xfffffffe 351 } 352 353 public class PopupMenu { 354 ctor public PopupMenu(android.content.Context, android.view.View); 355 ctor public PopupMenu(android.content.Context, android.view.View, int); 356 ctor public PopupMenu(android.content.Context, android.view.View, int, int, int); 357 method public void dismiss(); 358 method public android.view.View.OnTouchListener getDragToOpenListener(); 359 method public android.view.Menu getMenu(); 360 method public android.view.MenuInflater getMenuInflater(); 361 method public void inflate(int); 362 method public void setOnDismissListener(android.support.v7.widget.PopupMenu.OnDismissListener); 363 method public void setOnMenuItemClickListener(android.support.v7.widget.PopupMenu.OnMenuItemClickListener); 364 method public void show(); 365 } 366 367 public static abstract interface PopupMenu.OnDismissListener { 368 method public abstract void onDismiss(android.support.v7.widget.PopupMenu); 369 } 370 371 public static abstract interface PopupMenu.OnMenuItemClickListener { 372 method public abstract boolean onMenuItemClick(android.view.MenuItem); 373 } 374 375 public class SearchView extends android.support.v7.widget.LinearLayoutCompat implements android.support.v7.view.CollapsibleActionView { 376 ctor public SearchView(android.content.Context); 377 ctor public SearchView(android.content.Context, android.util.AttributeSet); 378 ctor public SearchView(android.content.Context, android.util.AttributeSet, int); 379 method public int getImeOptions(); 380 method public int getInputType(); 381 method public int getMaxWidth(); 382 method public java.lang.CharSequence getQuery(); 383 method public java.lang.CharSequence getQueryHint(); 384 method public android.support.v4.widget.CursorAdapter getSuggestionsAdapter(); 385 method public boolean isIconfiedByDefault(); 386 method public boolean isIconified(); 387 method public boolean isQueryRefinementEnabled(); 388 method public boolean isSubmitButtonEnabled(); 389 method public void onActionViewCollapsed(); 390 method public void onActionViewExpanded(); 391 method public void setIconified(boolean); 392 method public void setIconifiedByDefault(boolean); 393 method public void setImeOptions(int); 394 method public void setInputType(int); 395 method public void setMaxWidth(int); 396 method public void setOnCloseListener(android.support.v7.widget.SearchView.OnCloseListener); 397 method public void setOnQueryTextFocusChangeListener(android.view.View.OnFocusChangeListener); 398 method public void setOnQueryTextListener(android.support.v7.widget.SearchView.OnQueryTextListener); 399 method public void setOnSearchClickListener(android.view.View.OnClickListener); 400 method public void setOnSuggestionListener(android.support.v7.widget.SearchView.OnSuggestionListener); 401 method public void setQuery(java.lang.CharSequence, boolean); 402 method public void setQueryHint(java.lang.CharSequence); 403 method public void setQueryRefinementEnabled(boolean); 404 method public void setSearchableInfo(android.app.SearchableInfo); 405 method public void setSubmitButtonEnabled(boolean); 406 method public void setSuggestionsAdapter(android.support.v4.widget.CursorAdapter); 407 } 408 409 public static abstract interface SearchView.OnCloseListener { 410 method public abstract boolean onClose(); 411 } 412 413 public static abstract interface SearchView.OnQueryTextListener { 414 method public abstract boolean onQueryTextChange(java.lang.String); 415 method public abstract boolean onQueryTextSubmit(java.lang.String); 416 } 417 418 public static abstract interface SearchView.OnSuggestionListener { 419 method public abstract boolean onSuggestionClick(int); 420 method public abstract boolean onSuggestionSelect(int); 421 } 422 423 public class ShareActionProvider extends android.support.v4.view.ActionProvider { 424 ctor public ShareActionProvider(android.content.Context); 425 method public android.view.View onCreateActionView(); 426 method public void setOnShareTargetSelectedListener(android.support.v7.widget.ShareActionProvider.OnShareTargetSelectedListener); 427 method public void setShareHistoryFileName(java.lang.String); 428 method public void setShareIntent(android.content.Intent); 429 field public static final java.lang.String DEFAULT_SHARE_HISTORY_FILE_NAME = "share_history.xml"; 430 } 431 432 public static abstract interface ShareActionProvider.OnShareTargetSelectedListener { 433 method public abstract boolean onShareTargetSelected(android.support.v7.widget.ShareActionProvider, android.content.Intent); 434 } 435 436 public class SwitchCompat extends android.widget.CompoundButton { 437 ctor public SwitchCompat(android.content.Context); 438 ctor public SwitchCompat(android.content.Context, android.util.AttributeSet); 439 ctor public SwitchCompat(android.content.Context, android.util.AttributeSet, int); 440 method public boolean getShowText(); 441 method public boolean getSplitTrack(); 442 method public int getSwitchMinWidth(); 443 method public int getSwitchPadding(); 444 method public java.lang.CharSequence getTextOff(); 445 method public java.lang.CharSequence getTextOn(); 446 method public android.graphics.drawable.Drawable getThumbDrawable(); 447 method public int getThumbTextPadding(); 448 method public android.graphics.drawable.Drawable getTrackDrawable(); 449 method public void onMeasure(int, int); 450 method public void setShowText(boolean); 451 method public void setSplitTrack(boolean); 452 method public void setSwitchMinWidth(int); 453 method public void setSwitchPadding(int); 454 method public void setSwitchTextAppearance(android.content.Context, int); 455 method public void setSwitchTypeface(android.graphics.Typeface, int); 456 method public void setSwitchTypeface(android.graphics.Typeface); 457 method public void setTextOff(java.lang.CharSequence); 458 method public void setTextOn(java.lang.CharSequence); 459 method public void setThumbDrawable(android.graphics.drawable.Drawable); 460 method public void setThumbResource(int); 461 method public void setThumbTextPadding(int); 462 method public void setTrackDrawable(android.graphics.drawable.Drawable); 463 method public void setTrackResource(int); 464 } 465 466 public class Toolbar extends android.view.ViewGroup { 467 ctor public Toolbar(android.content.Context); 468 ctor public Toolbar(android.content.Context, android.util.AttributeSet); 469 ctor public Toolbar(android.content.Context, android.util.AttributeSet, int); 470 method public void collapseActionView(); 471 method public void dismissPopupMenus(); 472 method public int getContentInsetEnd(); 473 method public int getContentInsetLeft(); 474 method public int getContentInsetRight(); 475 method public int getContentInsetStart(); 476 method public android.graphics.drawable.Drawable getLogo(); 477 method public java.lang.CharSequence getLogoDescription(); 478 method public android.view.Menu getMenu(); 479 method public java.lang.CharSequence getNavigationContentDescription(); 480 method public android.graphics.drawable.Drawable getNavigationIcon(); 481 method public int getPopupTheme(); 482 method public java.lang.CharSequence getSubtitle(); 483 method public java.lang.CharSequence getTitle(); 484 method public boolean hasExpandedActionView(); 485 method public boolean hideOverflowMenu(); 486 method public void inflateMenu(int); 487 method public boolean isOverflowMenuShowing(); 488 method protected void onLayout(boolean, int, int, int, int); 489 method public void setContentInsetsAbsolute(int, int); 490 method public void setContentInsetsRelative(int, int); 491 method public void setLogo(int); 492 method public void setLogo(android.graphics.drawable.Drawable); 493 method public void setLogoDescription(int); 494 method public void setLogoDescription(java.lang.CharSequence); 495 method public void setNavigationContentDescription(int); 496 method public void setNavigationContentDescription(java.lang.CharSequence); 497 method public void setNavigationIcon(int); 498 method public void setNavigationIcon(android.graphics.drawable.Drawable); 499 method public void setNavigationOnClickListener(android.view.View.OnClickListener); 500 method public void setOnMenuItemClickListener(android.support.v7.widget.Toolbar.OnMenuItemClickListener); 501 method public void setPopupTheme(int); 502 method public void setSubtitle(int); 503 method public void setSubtitle(java.lang.CharSequence); 504 method public void setSubtitleTextAppearance(android.content.Context, int); 505 method public void setSubtitleTextColor(int); 506 method public void setTitle(int); 507 method public void setTitle(java.lang.CharSequence); 508 method public void setTitleTextAppearance(android.content.Context, int); 509 method public void setTitleTextColor(int); 510 method public boolean showOverflowMenu(); 511 } 512 513 public static class Toolbar.LayoutParams extends android.support.v7.app.ActionBar.LayoutParams { 514 ctor public Toolbar.LayoutParams(android.content.Context, android.util.AttributeSet); 515 ctor public Toolbar.LayoutParams(int, int); 516 ctor public Toolbar.LayoutParams(int, int, int); 517 ctor public Toolbar.LayoutParams(int); 518 ctor public Toolbar.LayoutParams(android.support.v7.widget.Toolbar.LayoutParams); 519 ctor public Toolbar.LayoutParams(android.support.v7.app.ActionBar.LayoutParams); 520 ctor public Toolbar.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 521 ctor public Toolbar.LayoutParams(android.view.ViewGroup.LayoutParams); 522 } 523 524 public static abstract interface Toolbar.OnMenuItemClickListener { 525 method public abstract boolean onMenuItemClick(android.view.MenuItem); 526 } 527 528} 529 530