1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119<!DOCTYPE html> 120<html devsite> 121<head> 122 123 124 <meta name="top_category" value="develop" /> 125 126 <meta name="subcategory" value="reference" /> 127 128 129 <meta name="book_path" value="/reference/android/support/wearable/_book.yaml" /> 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145<title>CardFragment</title> 146 147 148</head> 149 150<body class="gc-documentation develop reference api apilevel-"> 151<div id="doc-api-level" class="" style="display:none"></div> 152 153 154 155 156<div id="naMessage"></div> 157 158<div id="api-info-block"> 159<div class="api-level"> 160 161 162 163 164</div> 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206<div class="sum-details-links"> 207 208Summary: 209 210 211 212 213 214 <a href="#constants">Constants</a> 215 216 217 218 | <a href="#inhconstants">Inherited Constants</a> 219 220 221 222 223 224 | <a href="#pubctors">Ctors</a> 225 226 227 228 229 | <a href="#pubmethods">Methods</a> 230 231 232 233 234 | <a href="#inhmethods">Inherited Methods</a> 235 236| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 237 238</div><!-- end sum-details-links --> 239</div><!-- end api-info-block --> 240 241<div class="api apilevel-" id="jd-content"> 242 243<!-- ======== START OF CLASS DATA ======== --> 244 245<h1 class="api-title">CardFragment</h1> 246<p> 247<code class="api-signature"> 248 public 249 250 251 252 class 253 CardFragment 254</code> 255<br> 256 257 258<code class="api-signature"> 259 260 261 262</code> 263 264<code class="api-signature"> 265 266 extends Fragment 267 268 269 270</code> 271 272<code class="api-signature"> 273 274 275 276</code> 277 278</p><table class="jd-inheritance-table"> 279 280 281 <tr> 282 283 <td colspan="3" class="jd-inheritance-class-cell">java.lang.Object 284 </td> 285 </tr> 286 287 288 <tr> 289 290 <td class="jd-inheritance-space"> ↳</td> 291 292 <td colspan="2" class="jd-inheritance-class-cell">android.app.Fragment 293 </td> 294 </tr> 295 296 297 <tr> 298 299 <td class="jd-inheritance-space"> </td> 300 301 <td class="jd-inheritance-space"> ↳</td> 302 303 <td colspan="1" class="jd-inheritance-class-cell">android.support.wearable.view.CardFragment 304 </td> 305 </tr> 306 307 308</table> 309 310 311 312 313<br><hr> 314 315 316 <p>Presents content within an expandable, vertically scrollable card. The default layout contains a 317 title, icon and text, but may be replaced by overriding 318 <code><a href="/reference/android/support/wearable/view/CardFragment.html#onCreateContentView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle)">onCreateContentView(LayoutInflater, ViewGroup, Bundle)</a></code>. 319 <p> 320 Additional methods are supplied for adjusting the appearance of the card, including whether 321 content should clip or appear as expandable, and the maximum height of the card.</p> 322 323 324 325 <div> 326 <p><b>See also:</b></p> 327 <ul class="nolist"><li><code><a href="/reference/android/support/wearable/view/CardFragment.html#setCardGravity(int)">setCardGravity(int)</a></code></li><li><code><a href="/reference/android/support/wearable/view/CardFragment.html#setExpansionEnabled(boolean)">setExpansionEnabled(boolean)</a></code></li><li><code><a href="/reference/android/support/wearable/view/CardFragment.html#setExpansionDirection(int)">setExpansionDirection(int)</a></code></li><li><code><a href="/reference/android/support/wearable/view/CardFragment.html#setExpansionFactor(float)">setExpansionFactor(float)</a></code></li> 328 </ul> 329 </div> 330 331 332 333 334<h2 class="api-section">Summary</h2> 335 336 337 338 339 340 341 342 343 344 345 346 347 348<!-- =========== ENUM CONSTANT SUMMARY =========== --> 349<table id="constants" class="responsive constants"> 350<tr><th colspan="2"><h3>Constants</h3></th></tr> 351 352 353 354 <tr class="api apilevel-" > 355 <td><code>int</code></td> 356 <td width="100%"> 357 <code><a href="/reference/android/support/wearable/view/CardFragment.html#EXPAND_DOWN">EXPAND_DOWN</a></code> 358 <p> 359 360 361</p> 362 </td> 363 </tr> 364 365 366 <tr class="api apilevel-" > 367 <td><code>int</code></td> 368 <td width="100%"> 369 <code><a href="/reference/android/support/wearable/view/CardFragment.html#EXPAND_UP">EXPAND_UP</a></code> 370 <p> 371 372 373</p> 374 </td> 375 </tr> 376 377 378 <tr class="api apilevel-" > 379 <td><code>String</code></td> 380 <td width="100%"> 381 <code><a href="/reference/android/support/wearable/view/CardFragment.html#KEY_ICON_RESOURCE">KEY_ICON_RESOURCE</a></code> 382 <p> 383 384 385</p> 386 </td> 387 </tr> 388 389 390 <tr class="api apilevel-" > 391 <td><code>String</code></td> 392 <td width="100%"> 393 <code><a href="/reference/android/support/wearable/view/CardFragment.html#KEY_TEXT">KEY_TEXT</a></code> 394 <p> 395 396 397</p> 398 </td> 399 </tr> 400 401 402 <tr class="api apilevel-" > 403 <td><code>String</code></td> 404 <td width="100%"> 405 <code><a href="/reference/android/support/wearable/view/CardFragment.html#KEY_TITLE">KEY_TITLE</a></code> 406 <p> 407 408 409</p> 410 </td> 411 </tr> 412 413 414 415</table> 416 417 418 419 420 421<!-- =========== ENUM CONSTANT SUMMARY =========== --> 422<table id="inhconstants" class="responsive constants inhtable"> 423<tr><th><h3>Inherited constants</h3></th></tr> 424 425 426 427 428 429 430 <tr class="api apilevel-" > 431 <td> 432 433 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-constants-android.content.ComponentCallbacks2" class="jd-expando-trigger closed" 434 ><img height="34" id="inherited-constants-android.content.ComponentCallbacks2-trigger" 435 src="/assets/images/styles/disclosure_down.png" 436 class="jd-expando-trigger-img" /></a>From 437 interface 438 <code> 439 android.content.ComponentCallbacks2 440 </code> 441 <div id="inherited-constants-android.content.ComponentCallbacks2"> 442 <div id="inherited-constants-android.content.ComponentCallbacks2-list" 443 class="jd-inheritedlinks"> 444 </div> 445 <div id="inherited-constants-android.content.ComponentCallbacks2-summary" style="display: none;"> 446 <table class="jd-sumtable-expando responsive"> 447 448 449 450 <tr class="api apilevel-" > 451 <td><code>int</code></td> 452 <td width="100%"> 453 <code>TRIM_MEMORY_BACKGROUND</code> 454 <p> 455 456 457</p> 458 </td> 459 </tr> 460 461 462 <tr class="api apilevel-" > 463 <td><code>int</code></td> 464 <td width="100%"> 465 <code>TRIM_MEMORY_COMPLETE</code> 466 <p> 467 468 469</p> 470 </td> 471 </tr> 472 473 474 <tr class="api apilevel-" > 475 <td><code>int</code></td> 476 <td width="100%"> 477 <code>TRIM_MEMORY_MODERATE</code> 478 <p> 479 480 481</p> 482 </td> 483 </tr> 484 485 486 <tr class="api apilevel-" > 487 <td><code>int</code></td> 488 <td width="100%"> 489 <code>TRIM_MEMORY_RUNNING_CRITICAL</code> 490 <p> 491 492 493</p> 494 </td> 495 </tr> 496 497 498 <tr class="api apilevel-" > 499 <td><code>int</code></td> 500 <td width="100%"> 501 <code>TRIM_MEMORY_RUNNING_LOW</code> 502 <p> 503 504 505</p> 506 </td> 507 </tr> 508 509 510 <tr class="api apilevel-" > 511 <td><code>int</code></td> 512 <td width="100%"> 513 <code>TRIM_MEMORY_RUNNING_MODERATE</code> 514 <p> 515 516 517</p> 518 </td> 519 </tr> 520 521 522 <tr class="api apilevel-" > 523 <td><code>int</code></td> 524 <td width="100%"> 525 <code>TRIM_MEMORY_UI_HIDDEN</code> 526 <p> 527 528 529</p> 530 </td> 531 </tr> 532 533 534</table> 535 </div> 536 </div> 537 </td></tr> 538 539 540 541 542 543 544</table> 545 546 547 548 549 550 551 552 553 554<!-- ======== CONSTRUCTOR SUMMARY ======== --> 555<table id="pubctors" class="responsive constructors"> 556<tr><th colspan="2"><h3>Public constructors</h3></th></tr> 557 558 559 560 561 <tr class="api apilevel-" > 562 563 564 <td width="100%"> 565 <code> 566 <a href="/reference/android/support/wearable/view/CardFragment.html#CardFragment()">CardFragment</a>() 567 </code> 568 569 </td> 570 </tr> 571 572 573 574</table> 575 576 577 578 579 580 581<!-- ========== METHOD SUMMARY =========== --> 582<table id="pubmethods" class="responsive methods"> 583<tr><th colspan="2"><h3>Public methods</h3></th></tr> 584 585 586 587 588 <tr class="api apilevel-" > 589 590 591 <td><code> 592 593 594 static 595 596 597 <a href="/reference/android/support/wearable/view/CardFragment.html">CardFragment</a></code> 598 </td> 599 600 <td width="100%"> 601 <code> 602 <a href="/reference/android/support/wearable/view/CardFragment.html#create(java.lang.CharSequence, java.lang.CharSequence, int)">create</a>(CharSequence title, CharSequence text, int iconRes) 603 </code> 604 605 <p>Construct a new CardFragment using the default content layout, including and icon. 606 607 608</p> 609 610 </td> 611 </tr> 612 613 614 615 <tr class="api apilevel-" > 616 617 618 <td><code> 619 620 621 static 622 623 624 <a href="/reference/android/support/wearable/view/CardFragment.html">CardFragment</a></code> 625 </td> 626 627 <td width="100%"> 628 <code> 629 <a href="/reference/android/support/wearable/view/CardFragment.html#create(java.lang.CharSequence, java.lang.CharSequence)">create</a>(CharSequence title, CharSequence description) 630 </code> 631 632 <p>Construct a new CardFragment using the default content layout. 633 634 635</p> 636 637 </td> 638 </tr> 639 640 641 642 <tr class="api apilevel-" > 643 644 645 <td><code> 646 647 648 649 650 651 Rect</code> 652 </td> 653 654 <td width="100%"> 655 <code> 656 <a href="/reference/android/support/wearable/view/CardFragment.html#getContentPadding()">getContentPadding</a>() 657 </code> 658 659 <p>Gets the padding between the inside card edge and the card content. 660 661 662</p> 663 664 </td> 665 </tr> 666 667 668 669 <tr class="api apilevel-" > 670 671 672 <td><code> 673 674 675 676 677 678 int</code> 679 </td> 680 681 <td width="100%"> 682 <code> 683 <a href="/reference/android/support/wearable/view/CardFragment.html#getContentPaddingBottom()">getContentPaddingBottom</a>() 684 </code> 685 686 <p>Gets the padding between the inside card's bottom edge and the card content. 687 688 689</p> 690 691 </td> 692 </tr> 693 694 695 696 <tr class="api apilevel-" > 697 698 699 <td><code> 700 701 702 703 704 705 int</code> 706 </td> 707 708 <td width="100%"> 709 <code> 710 <a href="/reference/android/support/wearable/view/CardFragment.html#getContentPaddingLeft()">getContentPaddingLeft</a>() 711 </code> 712 713 <p>Gets the padding between the inside card's left edge and the card content. 714 715 716</p> 717 718 </td> 719 </tr> 720 721 722 723 <tr class="api apilevel-" > 724 725 726 <td><code> 727 728 729 730 731 732 int</code> 733 </td> 734 735 <td width="100%"> 736 <code> 737 <a href="/reference/android/support/wearable/view/CardFragment.html#getContentPaddingRight()">getContentPaddingRight</a>() 738 </code> 739 740 <p>Gets the padding between the inside card's right edge and the card content. 741 742 743</p> 744 745 </td> 746 </tr> 747 748 749 750 <tr class="api apilevel-" > 751 752 753 <td><code> 754 755 756 757 758 759 int</code> 760 </td> 761 762 <td width="100%"> 763 <code> 764 <a href="/reference/android/support/wearable/view/CardFragment.html#getContentPaddingTop()">getContentPaddingTop</a>() 765 </code> 766 767 <p>Gets the padding between the inside card's top edge and the card content. 768 769 770</p> 771 772 </td> 773 </tr> 774 775 776 777 <tr class="api apilevel-" > 778 779 780 <td><code> 781 782 783 784 785 786 void</code> 787 </td> 788 789 <td width="100%"> 790 <code> 791 <a href="/reference/android/support/wearable/view/CardFragment.html#onActivityCreated(android.os.Bundle)">onActivityCreated</a>(Bundle savedInstanceState) 792 </code> 793 794 </td> 795 </tr> 796 797 798 799 <tr class="api apilevel-" > 800 801 802 <td><code> 803 804 805 806 807 808 View</code> 809 </td> 810 811 <td width="100%"> 812 <code> 813 <a href="/reference/android/support/wearable/view/CardFragment.html#onCreateContentView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle)">onCreateContentView</a>(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) 814 </code> 815 816 <p>Called to have subclasses instantiate their layout which is inserted within the card. 817 818 819</p> 820 821 </td> 822 </tr> 823 824 825 826 <tr class="api apilevel-" > 827 828 829 <td><code> 830 831 832 833 final 834 835 View</code> 836 </td> 837 838 <td width="100%"> 839 <code> 840 <a href="/reference/android/support/wearable/view/CardFragment.html#onCreateView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle)">onCreateView</a>(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) 841 </code> 842 843 </td> 844 </tr> 845 846 847 848 <tr class="api apilevel-" > 849 850 851 <td><code> 852 853 854 855 856 857 void</code> 858 </td> 859 860 <td width="100%"> 861 <code> 862 <a href="/reference/android/support/wearable/view/CardFragment.html#onDestroy()">onDestroy</a>() 863 </code> 864 865 </td> 866 </tr> 867 868 869 870 <tr class="api apilevel-" > 871 872 873 <td><code> 874 875 876 877 878 879 void</code> 880 </td> 881 882 <td width="100%"> 883 <code> 884 <a href="/reference/android/support/wearable/view/CardFragment.html#scrollToBottom()">scrollToBottom</a>() 885 </code> 886 887 <p>Sets the card scroll position as far down as possible so the bottom edge is visible. 888 889 890</p> 891 892 </td> 893 </tr> 894 895 896 897 <tr class="api apilevel-" > 898 899 900 <td><code> 901 902 903 904 905 906 void</code> 907 </td> 908 909 <td width="100%"> 910 <code> 911 <a href="/reference/android/support/wearable/view/CardFragment.html#scrollToTop()">scrollToTop</a>() 912 </code> 913 914 <p>Sets the card scroll position as far up as possible so the top edge is visible. 915 916 917</p> 918 919 </td> 920 </tr> 921 922 923 924 <tr class="api apilevel-" > 925 926 927 <td><code> 928 929 930 931 932 933 void</code> 934 </td> 935 936 <td width="100%"> 937 <code> 938 <a href="/reference/android/support/wearable/view/CardFragment.html#setCardGravity(int)">setCardGravity</a>(int gravity) 939 </code> 940 941 <p>Assigns vertical gravity to the card, which determines where it should float when the card 942 and it's content are shorter than the page. 943 944 945</p> 946 947 </td> 948 </tr> 949 950 951 952 <tr class="api apilevel-" > 953 954 955 <td><code> 956 957 958 959 960 961 void</code> 962 </td> 963 964 <td width="100%"> 965 <code> 966 <a href="/reference/android/support/wearable/view/CardFragment.html#setCardMarginBottom(int)">setCardMarginBottom</a>(int bottom) 967 </code> 968 969 <p>Sets the additional margin between the bottom edge of the card shadow, and the parent view. 970 971 972</p> 973 974 </td> 975 </tr> 976 977 978 979 <tr class="api apilevel-" > 980 981 982 <td><code> 983 984 985 986 987 988 void</code> 989 </td> 990 991 <td width="100%"> 992 <code> 993 <a href="/reference/android/support/wearable/view/CardFragment.html#setCardMarginLeft(int)">setCardMarginLeft</a>(int left) 994 </code> 995 996 <p>Sets the additional margin between the left edge of the card shadow, and the parent view. 997 998 999</p> 1000 1001 </td> 1002 </tr> 1003 1004 1005 1006 <tr class="api apilevel-" > 1007 1008 1009 <td><code> 1010 1011 1012 1013 1014 1015 void</code> 1016 </td> 1017 1018 <td width="100%"> 1019 <code> 1020 <a href="/reference/android/support/wearable/view/CardFragment.html#setCardMarginRight(int)">setCardMarginRight</a>(int right) 1021 </code> 1022 1023 <p>Sets the additional margin between the right edge of the card shadow, and the parent view. 1024 1025 1026</p> 1027 1028 </td> 1029 </tr> 1030 1031 1032 1033 <tr class="api apilevel-" > 1034 1035 1036 <td><code> 1037 1038 1039 1040 1041 1042 void</code> 1043 </td> 1044 1045 <td width="100%"> 1046 <code> 1047 <a href="/reference/android/support/wearable/view/CardFragment.html#setCardMarginTop(int)">setCardMarginTop</a>(int top) 1048 </code> 1049 1050 <p>Sets the additional margin between the top edge of the card shadow, and the parent view. 1051 1052 1053</p> 1054 1055 </td> 1056 </tr> 1057 1058 1059 1060 <tr class="api apilevel-" > 1061 1062 1063 <td><code> 1064 1065 1066 1067 1068 1069 void</code> 1070 </td> 1071 1072 <td width="100%"> 1073 <code> 1074 <a href="/reference/android/support/wearable/view/CardFragment.html#setCardMargins(int, int, int, int)">setCardMargins</a>(int left, int top, int right, int bottom) 1075 </code> 1076 1077 <p>Sets the additional margin between the card shadow edge and the parent view. 1078 1079 1080</p> 1081 1082 </td> 1083 </tr> 1084 1085 1086 1087 <tr class="api apilevel-" > 1088 1089 1090 <td><code> 1091 1092 1093 1094 1095 1096 void</code> 1097 </td> 1098 1099 <td width="100%"> 1100 <code> 1101 <a href="/reference/android/support/wearable/view/CardFragment.html#setContentPadding(int, int, int, int)">setContentPadding</a>(int left, int top, int right, int bottom) 1102 </code> 1103 1104 <p>Sets padding between the inside card edge and the card content. 1105 1106 1107</p> 1108 1109 </td> 1110 </tr> 1111 1112 1113 1114 <tr class="api apilevel-" > 1115 1116 1117 <td><code> 1118 1119 1120 1121 1122 1123 void</code> 1124 </td> 1125 1126 <td width="100%"> 1127 <code> 1128 <a href="/reference/android/support/wearable/view/CardFragment.html#setContentPaddingBottom(int)">setContentPaddingBottom</a>(int bottomPadding) 1129 </code> 1130 1131 <p>Sets the padding between the inside card's bottom edge and the card content. 1132 1133 1134</p> 1135 1136 </td> 1137 </tr> 1138 1139 1140 1141 <tr class="api apilevel-" > 1142 1143 1144 <td><code> 1145 1146 1147 1148 1149 1150 void</code> 1151 </td> 1152 1153 <td width="100%"> 1154 <code> 1155 <a href="/reference/android/support/wearable/view/CardFragment.html#setContentPaddingLeft(int)">setContentPaddingLeft</a>(int leftPadding) 1156 </code> 1157 1158 <p>Sets the padding between the inside card's left edge and the card content. 1159 1160 1161</p> 1162 1163 </td> 1164 </tr> 1165 1166 1167 1168 <tr class="api apilevel-" > 1169 1170 1171 <td><code> 1172 1173 1174 1175 1176 1177 void</code> 1178 </td> 1179 1180 <td width="100%"> 1181 <code> 1182 <a href="/reference/android/support/wearable/view/CardFragment.html#setContentPaddingRight(int)">setContentPaddingRight</a>(int rightPadding) 1183 </code> 1184 1185 <p>Sets the padding between the inside card's right edge and the card content. 1186 1187 1188</p> 1189 1190 </td> 1191 </tr> 1192 1193 1194 1195 <tr class="api apilevel-" > 1196 1197 1198 <td><code> 1199 1200 1201 1202 1203 1204 void</code> 1205 </td> 1206 1207 <td width="100%"> 1208 <code> 1209 <a href="/reference/android/support/wearable/view/CardFragment.html#setContentPaddingTop(int)">setContentPaddingTop</a>(int topPadding) 1210 </code> 1211 1212 <p>Sets the padding between the inside card's top edge and the card content. 1213 1214 1215</p> 1216 1217 </td> 1218 </tr> 1219 1220 1221 1222 <tr class="api apilevel-" > 1223 1224 1225 <td><code> 1226 1227 1228 1229 1230 1231 void</code> 1232 </td> 1233 1234 <td width="100%"> 1235 <code> 1236 <a href="/reference/android/support/wearable/view/CardFragment.html#setExpansionDirection(int)">setExpansionDirection</a>(int direction) 1237 </code> 1238 1239 <p>Adjusts which direction the card height will expand. 1240 1241 1242</p> 1243 1244 </td> 1245 </tr> 1246 1247 1248 1249 <tr class="api apilevel-" > 1250 1251 1252 <td><code> 1253 1254 1255 1256 1257 1258 void</code> 1259 </td> 1260 1261 <td width="100%"> 1262 <code> 1263 <a href="/reference/android/support/wearable/view/CardFragment.html#setExpansionEnabled(boolean)">setExpansionEnabled</a>(boolean enabled) 1264 </code> 1265 1266 <p>Enables support contents which maybe be larger than the card's container. 1267 1268 1269</p> 1270 1271 </td> 1272 </tr> 1273 1274 1275 1276 <tr class="api apilevel-" > 1277 1278 1279 <td><code> 1280 1281 1282 1283 1284 1285 void</code> 1286 </td> 1287 1288 <td width="100%"> 1289 <code> 1290 <a href="/reference/android/support/wearable/view/CardFragment.html#setExpansionFactor(float)">setExpansionFactor</a>(float factor) 1291 </code> 1292 1293 <p>Sets the allowed maximum height of the card as a multiple of the parent height. 1294 1295 1296</p> 1297 1298 </td> 1299 </tr> 1300 1301 1302 1303</table> 1304 1305 1306 1307 1308 1309 1310 1311<!-- ========== METHOD SUMMARY =========== --> 1312<table id="inhmethods" class="methods inhtable"> 1313<tr><th><h3>Inherited methods</h3></th></tr> 1314 1315 1316<tr class="api apilevel-" > 1317<td colspan="2"> 1318 1319 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-android.app.Fragment" class="jd-expando-trigger closed" 1320 ><img height="34" id="inherited-methods-android.app.Fragment-trigger" 1321 src="/assets/images/styles/disclosure_down.png" 1322 class="jd-expando-trigger-img" /></a>From 1323class 1324<code> 1325 1326 android.app.Fragment 1327 1328</code> 1329<div id="inherited-methods-android.app.Fragment"> 1330 <div id="inherited-methods-android.app.Fragment-list" 1331 class="jd-inheritedlinks"> 1332 </div> 1333 <div id="inherited-methods-android.app.Fragment-summary" style="display: none;"> 1334 <table class="jd-sumtable-expando responsive"> 1335 1336 1337 1338 1339 <tr class="api apilevel-" > 1340 1341 1342 <td><code> 1343 1344 1345 1346 1347 1348 void</code> 1349 </td> 1350 1351 <td width="100%"> 1352 <code> 1353 dump(String arg0, FileDescriptor arg1, PrintWriter arg2, String[] arg3) 1354 </code> 1355 1356 </td> 1357 </tr> 1358 1359 1360 1361 <tr class="api apilevel-" > 1362 1363 1364 <td><code> 1365 1366 1367 1368 final 1369 1370 boolean</code> 1371 </td> 1372 1373 <td width="100%"> 1374 <code> 1375 equals(Object arg0) 1376 </code> 1377 1378 </td> 1379 </tr> 1380 1381 1382 1383 <tr class="api apilevel-" > 1384 1385 1386 <td><code> 1387 1388 1389 1390 final 1391 1392 Activity</code> 1393 </td> 1394 1395 <td width="100%"> 1396 <code> 1397 getActivity() 1398 </code> 1399 1400 </td> 1401 </tr> 1402 1403 1404 1405 <tr class="api apilevel-" > 1406 1407 1408 <td><code> 1409 1410 1411 1412 1413 1414 boolean</code> 1415 </td> 1416 1417 <td width="100%"> 1418 <code> 1419 getAllowEnterTransitionOverlap() 1420 </code> 1421 1422 </td> 1423 </tr> 1424 1425 1426 1427 <tr class="api apilevel-" > 1428 1429 1430 <td><code> 1431 1432 1433 1434 1435 1436 boolean</code> 1437 </td> 1438 1439 <td width="100%"> 1440 <code> 1441 getAllowReturnTransitionOverlap() 1442 </code> 1443 1444 </td> 1445 </tr> 1446 1447 1448 1449 <tr class="api apilevel-" > 1450 1451 1452 <td><code> 1453 1454 1455 1456 final 1457 1458 Bundle</code> 1459 </td> 1460 1461 <td width="100%"> 1462 <code> 1463 getArguments() 1464 </code> 1465 1466 </td> 1467 </tr> 1468 1469 1470 1471 <tr class="api apilevel-" > 1472 1473 1474 <td><code> 1475 1476 1477 1478 final 1479 1480 FragmentManager</code> 1481 </td> 1482 1483 <td width="100%"> 1484 <code> 1485 getChildFragmentManager() 1486 </code> 1487 1488 </td> 1489 </tr> 1490 1491 1492 1493 <tr class="api apilevel-" > 1494 1495 1496 <td><code> 1497 1498 1499 1500 1501 1502 Context</code> 1503 </td> 1504 1505 <td width="100%"> 1506 <code> 1507 getContext() 1508 </code> 1509 1510 </td> 1511 </tr> 1512 1513 1514 1515 <tr class="api apilevel-" > 1516 1517 1518 <td><code> 1519 1520 1521 1522 1523 1524 Transition</code> 1525 </td> 1526 1527 <td width="100%"> 1528 <code> 1529 getEnterTransition() 1530 </code> 1531 1532 </td> 1533 </tr> 1534 1535 1536 1537 <tr class="api apilevel-" > 1538 1539 1540 <td><code> 1541 1542 1543 1544 1545 1546 Transition</code> 1547 </td> 1548 1549 <td width="100%"> 1550 <code> 1551 getExitTransition() 1552 </code> 1553 1554 </td> 1555 </tr> 1556 1557 1558 1559 <tr class="api apilevel-" > 1560 1561 1562 <td><code> 1563 1564 1565 1566 final 1567 1568 FragmentManager</code> 1569 </td> 1570 1571 <td width="100%"> 1572 <code> 1573 getFragmentManager() 1574 </code> 1575 1576 </td> 1577 </tr> 1578 1579 1580 1581 <tr class="api apilevel-" > 1582 1583 1584 <td><code> 1585 1586 1587 1588 final 1589 1590 Object</code> 1591 </td> 1592 1593 <td width="100%"> 1594 <code> 1595 getHost() 1596 </code> 1597 1598 </td> 1599 </tr> 1600 1601 1602 1603 <tr class="api apilevel-" > 1604 1605 1606 <td><code> 1607 1608 1609 1610 final 1611 1612 int</code> 1613 </td> 1614 1615 <td width="100%"> 1616 <code> 1617 getId() 1618 </code> 1619 1620 </td> 1621 </tr> 1622 1623 1624 1625 <tr class="api apilevel-" > 1626 1627 1628 <td><code> 1629 1630 1631 1632 1633 1634 LayoutInflater</code> 1635 </td> 1636 1637 <td width="100%"> 1638 <code> 1639 getLayoutInflater(Bundle arg0) 1640 </code> 1641 1642 </td> 1643 </tr> 1644 1645 1646 1647 <tr class="api apilevel-" > 1648 1649 1650 <td><code> 1651 1652 1653 1654 1655 1656 LoaderManager</code> 1657 </td> 1658 1659 <td width="100%"> 1660 <code> 1661 getLoaderManager() 1662 </code> 1663 1664 </td> 1665 </tr> 1666 1667 1668 1669 <tr class="api apilevel-" > 1670 1671 1672 <td><code> 1673 1674 1675 1676 final 1677 1678 Fragment</code> 1679 </td> 1680 1681 <td width="100%"> 1682 <code> 1683 getParentFragment() 1684 </code> 1685 1686 </td> 1687 </tr> 1688 1689 1690 1691 <tr class="api apilevel-" > 1692 1693 1694 <td><code> 1695 1696 1697 1698 1699 1700 Transition</code> 1701 </td> 1702 1703 <td width="100%"> 1704 <code> 1705 getReenterTransition() 1706 </code> 1707 1708 </td> 1709 </tr> 1710 1711 1712 1713 <tr class="api apilevel-" > 1714 1715 1716 <td><code> 1717 1718 1719 1720 final 1721 1722 Resources</code> 1723 </td> 1724 1725 <td width="100%"> 1726 <code> 1727 getResources() 1728 </code> 1729 1730 </td> 1731 </tr> 1732 1733 1734 1735 <tr class="api apilevel-" > 1736 1737 1738 <td><code> 1739 1740 1741 1742 final 1743 1744 boolean</code> 1745 </td> 1746 1747 <td width="100%"> 1748 <code> 1749 getRetainInstance() 1750 </code> 1751 1752 </td> 1753 </tr> 1754 1755 1756 1757 <tr class="api apilevel-" > 1758 1759 1760 <td><code> 1761 1762 1763 1764 1765 1766 Transition</code> 1767 </td> 1768 1769 <td width="100%"> 1770 <code> 1771 getReturnTransition() 1772 </code> 1773 1774 </td> 1775 </tr> 1776 1777 1778 1779 <tr class="api apilevel-" > 1780 1781 1782 <td><code> 1783 1784 1785 1786 1787 1788 Transition</code> 1789 </td> 1790 1791 <td width="100%"> 1792 <code> 1793 getSharedElementEnterTransition() 1794 </code> 1795 1796 </td> 1797 </tr> 1798 1799 1800 1801 <tr class="api apilevel-" > 1802 1803 1804 <td><code> 1805 1806 1807 1808 1809 1810 Transition</code> 1811 </td> 1812 1813 <td width="100%"> 1814 <code> 1815 getSharedElementReturnTransition() 1816 </code> 1817 1818 </td> 1819 </tr> 1820 1821 1822 1823 <tr class="api apilevel-" > 1824 1825 1826 <td><code> 1827 1828 1829 1830 final 1831 1832 String</code> 1833 </td> 1834 1835 <td width="100%"> 1836 <code> 1837 getString(int arg0, Object... arg1) 1838 </code> 1839 1840 </td> 1841 </tr> 1842 1843 1844 1845 <tr class="api apilevel-" > 1846 1847 1848 <td><code> 1849 1850 1851 1852 final 1853 1854 String</code> 1855 </td> 1856 1857 <td width="100%"> 1858 <code> 1859 getString(int arg0) 1860 </code> 1861 1862 </td> 1863 </tr> 1864 1865 1866 1867 <tr class="api apilevel-" > 1868 1869 1870 <td><code> 1871 1872 1873 1874 final 1875 1876 String</code> 1877 </td> 1878 1879 <td width="100%"> 1880 <code> 1881 getTag() 1882 </code> 1883 1884 </td> 1885 </tr> 1886 1887 1888 1889 <tr class="api apilevel-" > 1890 1891 1892 <td><code> 1893 1894 1895 1896 final 1897 1898 Fragment</code> 1899 </td> 1900 1901 <td width="100%"> 1902 <code> 1903 getTargetFragment() 1904 </code> 1905 1906 </td> 1907 </tr> 1908 1909 1910 1911 <tr class="api apilevel-" > 1912 1913 1914 <td><code> 1915 1916 1917 1918 final 1919 1920 int</code> 1921 </td> 1922 1923 <td width="100%"> 1924 <code> 1925 getTargetRequestCode() 1926 </code> 1927 1928 </td> 1929 </tr> 1930 1931 1932 1933 <tr class="api apilevel-" > 1934 1935 1936 <td><code> 1937 1938 1939 1940 final 1941 1942 CharSequence</code> 1943 </td> 1944 1945 <td width="100%"> 1946 <code> 1947 getText(int arg0) 1948 </code> 1949 1950 </td> 1951 </tr> 1952 1953 1954 1955 <tr class="api apilevel-" > 1956 1957 1958 <td><code> 1959 1960 1961 1962 1963 1964 boolean</code> 1965 </td> 1966 1967 <td width="100%"> 1968 <code> 1969 getUserVisibleHint() 1970 </code> 1971 1972 </td> 1973 </tr> 1974 1975 1976 1977 <tr class="api apilevel-" > 1978 1979 1980 <td><code> 1981 1982 1983 1984 1985 1986 View</code> 1987 </td> 1988 1989 <td width="100%"> 1990 <code> 1991 getView() 1992 </code> 1993 1994 </td> 1995 </tr> 1996 1997 1998 1999 <tr class="api apilevel-" > 2000 2001 2002 <td><code> 2003 2004 2005 2006 final 2007 2008 int</code> 2009 </td> 2010 2011 <td width="100%"> 2012 <code> 2013 hashCode() 2014 </code> 2015 2016 </td> 2017 </tr> 2018 2019 2020 2021 <tr class="api apilevel-" > 2022 2023 2024 <td><code> 2025 2026 2027 static 2028 2029 2030 Fragment</code> 2031 </td> 2032 2033 <td width="100%"> 2034 <code> 2035 instantiate(Context arg0, String arg1) 2036 </code> 2037 2038 </td> 2039 </tr> 2040 2041 2042 2043 <tr class="api apilevel-" > 2044 2045 2046 <td><code> 2047 2048 2049 static 2050 2051 2052 Fragment</code> 2053 </td> 2054 2055 <td width="100%"> 2056 <code> 2057 instantiate(Context arg0, String arg1, Bundle arg2) 2058 </code> 2059 2060 </td> 2061 </tr> 2062 2063 2064 2065 <tr class="api apilevel-" > 2066 2067 2068 <td><code> 2069 2070 2071 2072 final 2073 2074 boolean</code> 2075 </td> 2076 2077 <td width="100%"> 2078 <code> 2079 isAdded() 2080 </code> 2081 2082 </td> 2083 </tr> 2084 2085 2086 2087 <tr class="api apilevel-" > 2088 2089 2090 <td><code> 2091 2092 2093 2094 final 2095 2096 boolean</code> 2097 </td> 2098 2099 <td width="100%"> 2100 <code> 2101 isDetached() 2102 </code> 2103 2104 </td> 2105 </tr> 2106 2107 2108 2109 <tr class="api apilevel-" > 2110 2111 2112 <td><code> 2113 2114 2115 2116 final 2117 2118 boolean</code> 2119 </td> 2120 2121 <td width="100%"> 2122 <code> 2123 isHidden() 2124 </code> 2125 2126 </td> 2127 </tr> 2128 2129 2130 2131 <tr class="api apilevel-" > 2132 2133 2134 <td><code> 2135 2136 2137 2138 final 2139 2140 boolean</code> 2141 </td> 2142 2143 <td width="100%"> 2144 <code> 2145 isInLayout() 2146 </code> 2147 2148 </td> 2149 </tr> 2150 2151 2152 2153 <tr class="api apilevel-" > 2154 2155 2156 <td><code> 2157 2158 2159 2160 final 2161 2162 boolean</code> 2163 </td> 2164 2165 <td width="100%"> 2166 <code> 2167 isRemoving() 2168 </code> 2169 2170 </td> 2171 </tr> 2172 2173 2174 2175 <tr class="api apilevel-" > 2176 2177 2178 <td><code> 2179 2180 2181 2182 final 2183 2184 boolean</code> 2185 </td> 2186 2187 <td width="100%"> 2188 <code> 2189 isResumed() 2190 </code> 2191 2192 </td> 2193 </tr> 2194 2195 2196 2197 <tr class="api apilevel-" > 2198 2199 2200 <td><code> 2201 2202 2203 2204 final 2205 2206 boolean</code> 2207 </td> 2208 2209 <td width="100%"> 2210 <code> 2211 isVisible() 2212 </code> 2213 2214 </td> 2215 </tr> 2216 2217 2218 2219 <tr class="api apilevel-" > 2220 2221 2222 <td><code> 2223 2224 2225 2226 2227 2228 void</code> 2229 </td> 2230 2231 <td width="100%"> 2232 <code> 2233 onActivityCreated(Bundle arg0) 2234 </code> 2235 2236 </td> 2237 </tr> 2238 2239 2240 2241 <tr class="api apilevel-" > 2242 2243 2244 <td><code> 2245 2246 2247 2248 2249 2250 void</code> 2251 </td> 2252 2253 <td width="100%"> 2254 <code> 2255 onActivityResult(int arg0, int arg1, Intent arg2) 2256 </code> 2257 2258 </td> 2259 </tr> 2260 2261 2262 2263 <tr class="api apilevel-" > 2264 2265 2266 <td><code> 2267 2268 2269 2270 2271 2272 void</code> 2273 </td> 2274 2275 <td width="100%"> 2276 <code> 2277 onAttach(Activity arg0) 2278 </code> 2279 2280 </td> 2281 </tr> 2282 2283 2284 2285 <tr class="api apilevel-" > 2286 2287 2288 <td><code> 2289 2290 2291 2292 2293 2294 void</code> 2295 </td> 2296 2297 <td width="100%"> 2298 <code> 2299 onAttach(Context arg0) 2300 </code> 2301 2302 </td> 2303 </tr> 2304 2305 2306 2307 <tr class="api apilevel-" > 2308 2309 2310 <td><code> 2311 2312 2313 2314 2315 2316 void</code> 2317 </td> 2318 2319 <td width="100%"> 2320 <code> 2321 onConfigurationChanged(Configuration arg0) 2322 </code> 2323 2324 </td> 2325 </tr> 2326 2327 2328 2329 <tr class="api apilevel-" > 2330 2331 2332 <td><code> 2333 2334 2335 2336 2337 2338 boolean</code> 2339 </td> 2340 2341 <td width="100%"> 2342 <code> 2343 onContextItemSelected(MenuItem arg0) 2344 </code> 2345 2346 </td> 2347 </tr> 2348 2349 2350 2351 <tr class="api apilevel-" > 2352 2353 2354 <td><code> 2355 2356 2357 2358 2359 2360 void</code> 2361 </td> 2362 2363 <td width="100%"> 2364 <code> 2365 onCreate(Bundle arg0) 2366 </code> 2367 2368 </td> 2369 </tr> 2370 2371 2372 2373 <tr class="api apilevel-" > 2374 2375 2376 <td><code> 2377 2378 2379 2380 2381 2382 Animator</code> 2383 </td> 2384 2385 <td width="100%"> 2386 <code> 2387 onCreateAnimator(int arg0, boolean arg1, int arg2) 2388 </code> 2389 2390 </td> 2391 </tr> 2392 2393 2394 2395 <tr class="api apilevel-" > 2396 2397 2398 <td><code> 2399 2400 2401 2402 2403 2404 void</code> 2405 </td> 2406 2407 <td width="100%"> 2408 <code> 2409 onCreateContextMenu(ContextMenu arg0, View arg1, ContextMenu.ContextMenuInfo arg2) 2410 </code> 2411 2412 </td> 2413 </tr> 2414 2415 2416 2417 <tr class="api apilevel-" > 2418 2419 2420 <td><code> 2421 2422 2423 2424 2425 2426 void</code> 2427 </td> 2428 2429 <td width="100%"> 2430 <code> 2431 onCreateOptionsMenu(Menu arg0, MenuInflater arg1) 2432 </code> 2433 2434 </td> 2435 </tr> 2436 2437 2438 2439 <tr class="api apilevel-" > 2440 2441 2442 <td><code> 2443 2444 2445 2446 2447 2448 View</code> 2449 </td> 2450 2451 <td width="100%"> 2452 <code> 2453 onCreateView(LayoutInflater arg0, ViewGroup arg1, Bundle arg2) 2454 </code> 2455 2456 </td> 2457 </tr> 2458 2459 2460 2461 <tr class="api apilevel-" > 2462 2463 2464 <td><code> 2465 2466 2467 2468 2469 2470 void</code> 2471 </td> 2472 2473 <td width="100%"> 2474 <code> 2475 onDestroy() 2476 </code> 2477 2478 </td> 2479 </tr> 2480 2481 2482 2483 <tr class="api apilevel-" > 2484 2485 2486 <td><code> 2487 2488 2489 2490 2491 2492 void</code> 2493 </td> 2494 2495 <td width="100%"> 2496 <code> 2497 onDestroyOptionsMenu() 2498 </code> 2499 2500 </td> 2501 </tr> 2502 2503 2504 2505 <tr class="api apilevel-" > 2506 2507 2508 <td><code> 2509 2510 2511 2512 2513 2514 void</code> 2515 </td> 2516 2517 <td width="100%"> 2518 <code> 2519 onDestroyView() 2520 </code> 2521 2522 </td> 2523 </tr> 2524 2525 2526 2527 <tr class="api apilevel-" > 2528 2529 2530 <td><code> 2531 2532 2533 2534 2535 2536 void</code> 2537 </td> 2538 2539 <td width="100%"> 2540 <code> 2541 onDetach() 2542 </code> 2543 2544 </td> 2545 </tr> 2546 2547 2548 2549 <tr class="api apilevel-" > 2550 2551 2552 <td><code> 2553 2554 2555 2556 2557 2558 void</code> 2559 </td> 2560 2561 <td width="100%"> 2562 <code> 2563 onHiddenChanged(boolean arg0) 2564 </code> 2565 2566 </td> 2567 </tr> 2568 2569 2570 2571 <tr class="api apilevel-" > 2572 2573 2574 <td><code> 2575 2576 2577 2578 2579 2580 void</code> 2581 </td> 2582 2583 <td width="100%"> 2584 <code> 2585 onInflate(AttributeSet arg0, Bundle arg1) 2586 </code> 2587 2588 </td> 2589 </tr> 2590 2591 2592 2593 <tr class="api apilevel-" > 2594 2595 2596 <td><code> 2597 2598 2599 2600 2601 2602 void</code> 2603 </td> 2604 2605 <td width="100%"> 2606 <code> 2607 onInflate(Activity arg0, AttributeSet arg1, Bundle arg2) 2608 </code> 2609 2610 </td> 2611 </tr> 2612 2613 2614 2615 <tr class="api apilevel-" > 2616 2617 2618 <td><code> 2619 2620 2621 2622 2623 2624 void</code> 2625 </td> 2626 2627 <td width="100%"> 2628 <code> 2629 onInflate(Context arg0, AttributeSet arg1, Bundle arg2) 2630 </code> 2631 2632 </td> 2633 </tr> 2634 2635 2636 2637 <tr class="api apilevel-" > 2638 2639 2640 <td><code> 2641 2642 2643 2644 2645 2646 void</code> 2647 </td> 2648 2649 <td width="100%"> 2650 <code> 2651 onLowMemory() 2652 </code> 2653 2654 </td> 2655 </tr> 2656 2657 2658 2659 <tr class="api apilevel-" > 2660 2661 2662 <td><code> 2663 2664 2665 2666 2667 2668 void</code> 2669 </td> 2670 2671 <td width="100%"> 2672 <code> 2673 onMultiWindowModeChanged(boolean arg0) 2674 </code> 2675 2676 </td> 2677 </tr> 2678 2679 2680 2681 <tr class="api apilevel-" > 2682 2683 2684 <td><code> 2685 2686 2687 2688 2689 2690 boolean</code> 2691 </td> 2692 2693 <td width="100%"> 2694 <code> 2695 onOptionsItemSelected(MenuItem arg0) 2696 </code> 2697 2698 </td> 2699 </tr> 2700 2701 2702 2703 <tr class="api apilevel-" > 2704 2705 2706 <td><code> 2707 2708 2709 2710 2711 2712 void</code> 2713 </td> 2714 2715 <td width="100%"> 2716 <code> 2717 onOptionsMenuClosed(Menu arg0) 2718 </code> 2719 2720 </td> 2721 </tr> 2722 2723 2724 2725 <tr class="api apilevel-" > 2726 2727 2728 <td><code> 2729 2730 2731 2732 2733 2734 void</code> 2735 </td> 2736 2737 <td width="100%"> 2738 <code> 2739 onPause() 2740 </code> 2741 2742 </td> 2743 </tr> 2744 2745 2746 2747 <tr class="api apilevel-" > 2748 2749 2750 <td><code> 2751 2752 2753 2754 2755 2756 void</code> 2757 </td> 2758 2759 <td width="100%"> 2760 <code> 2761 onPictureInPictureModeChanged(boolean arg0) 2762 </code> 2763 2764 </td> 2765 </tr> 2766 2767 2768 2769 <tr class="api apilevel-" > 2770 2771 2772 <td><code> 2773 2774 2775 2776 2777 2778 void</code> 2779 </td> 2780 2781 <td width="100%"> 2782 <code> 2783 onPrepareOptionsMenu(Menu arg0) 2784 </code> 2785 2786 </td> 2787 </tr> 2788 2789 2790 2791 <tr class="api apilevel-" > 2792 2793 2794 <td><code> 2795 2796 2797 2798 2799 2800 void</code> 2801 </td> 2802 2803 <td width="100%"> 2804 <code> 2805 onRequestPermissionsResult(int arg0, String[] arg1, int[] arg2) 2806 </code> 2807 2808 </td> 2809 </tr> 2810 2811 2812 2813 <tr class="api apilevel-" > 2814 2815 2816 <td><code> 2817 2818 2819 2820 2821 2822 void</code> 2823 </td> 2824 2825 <td width="100%"> 2826 <code> 2827 onResume() 2828 </code> 2829 2830 </td> 2831 </tr> 2832 2833 2834 2835 <tr class="api apilevel-" > 2836 2837 2838 <td><code> 2839 2840 2841 2842 2843 2844 void</code> 2845 </td> 2846 2847 <td width="100%"> 2848 <code> 2849 onSaveInstanceState(Bundle arg0) 2850 </code> 2851 2852 </td> 2853 </tr> 2854 2855 2856 2857 <tr class="api apilevel-" > 2858 2859 2860 <td><code> 2861 2862 2863 2864 2865 2866 void</code> 2867 </td> 2868 2869 <td width="100%"> 2870 <code> 2871 onStart() 2872 </code> 2873 2874 </td> 2875 </tr> 2876 2877 2878 2879 <tr class="api apilevel-" > 2880 2881 2882 <td><code> 2883 2884 2885 2886 2887 2888 void</code> 2889 </td> 2890 2891 <td width="100%"> 2892 <code> 2893 onStop() 2894 </code> 2895 2896 </td> 2897 </tr> 2898 2899 2900 2901 <tr class="api apilevel-" > 2902 2903 2904 <td><code> 2905 2906 2907 2908 2909 2910 void</code> 2911 </td> 2912 2913 <td width="100%"> 2914 <code> 2915 onTrimMemory(int arg0) 2916 </code> 2917 2918 </td> 2919 </tr> 2920 2921 2922 2923 <tr class="api apilevel-" > 2924 2925 2926 <td><code> 2927 2928 2929 2930 2931 2932 void</code> 2933 </td> 2934 2935 <td width="100%"> 2936 <code> 2937 onViewCreated(View arg0, Bundle arg1) 2938 </code> 2939 2940 </td> 2941 </tr> 2942 2943 2944 2945 <tr class="api apilevel-" > 2946 2947 2948 <td><code> 2949 2950 2951 2952 2953 2954 void</code> 2955 </td> 2956 2957 <td width="100%"> 2958 <code> 2959 onViewStateRestored(Bundle arg0) 2960 </code> 2961 2962 </td> 2963 </tr> 2964 2965 2966 2967 <tr class="api apilevel-" > 2968 2969 2970 <td><code> 2971 2972 2973 2974 2975 2976 void</code> 2977 </td> 2978 2979 <td width="100%"> 2980 <code> 2981 registerForContextMenu(View arg0) 2982 </code> 2983 2984 </td> 2985 </tr> 2986 2987 2988 2989 <tr class="api apilevel-" > 2990 2991 2992 <td><code> 2993 2994 2995 2996 final 2997 2998 void</code> 2999 </td> 3000 3001 <td width="100%"> 3002 <code> 3003 requestPermissions(String[] arg0, int arg1) 3004 </code> 3005 3006 </td> 3007 </tr> 3008 3009 3010 3011 <tr class="api apilevel-" > 3012 3013 3014 <td><code> 3015 3016 3017 3018 3019 3020 void</code> 3021 </td> 3022 3023 <td width="100%"> 3024 <code> 3025 setAllowEnterTransitionOverlap(boolean arg0) 3026 </code> 3027 3028 </td> 3029 </tr> 3030 3031 3032 3033 <tr class="api apilevel-" > 3034 3035 3036 <td><code> 3037 3038 3039 3040 3041 3042 void</code> 3043 </td> 3044 3045 <td width="100%"> 3046 <code> 3047 setAllowReturnTransitionOverlap(boolean arg0) 3048 </code> 3049 3050 </td> 3051 </tr> 3052 3053 3054 3055 <tr class="api apilevel-" > 3056 3057 3058 <td><code> 3059 3060 3061 3062 3063 3064 void</code> 3065 </td> 3066 3067 <td width="100%"> 3068 <code> 3069 setArguments(Bundle arg0) 3070 </code> 3071 3072 </td> 3073 </tr> 3074 3075 3076 3077 <tr class="api apilevel-" > 3078 3079 3080 <td><code> 3081 3082 3083 3084 3085 3086 void</code> 3087 </td> 3088 3089 <td width="100%"> 3090 <code> 3091 setEnterSharedElementCallback(SharedElementCallback arg0) 3092 </code> 3093 3094 </td> 3095 </tr> 3096 3097 3098 3099 <tr class="api apilevel-" > 3100 3101 3102 <td><code> 3103 3104 3105 3106 3107 3108 void</code> 3109 </td> 3110 3111 <td width="100%"> 3112 <code> 3113 setEnterSharedElementTransitionCallback(SharedElementCallback arg0) 3114 </code> 3115 3116 </td> 3117 </tr> 3118 3119 3120 3121 <tr class="api apilevel-" > 3122 3123 3124 <td><code> 3125 3126 3127 3128 3129 3130 void</code> 3131 </td> 3132 3133 <td width="100%"> 3134 <code> 3135 setEnterTransition(Transition arg0) 3136 </code> 3137 3138 </td> 3139 </tr> 3140 3141 3142 3143 <tr class="api apilevel-" > 3144 3145 3146 <td><code> 3147 3148 3149 3150 3151 3152 void</code> 3153 </td> 3154 3155 <td width="100%"> 3156 <code> 3157 setExitSharedElementCallback(SharedElementCallback arg0) 3158 </code> 3159 3160 </td> 3161 </tr> 3162 3163 3164 3165 <tr class="api apilevel-" > 3166 3167 3168 <td><code> 3169 3170 3171 3172 3173 3174 void</code> 3175 </td> 3176 3177 <td width="100%"> 3178 <code> 3179 setExitSharedElementTransitionCallback(SharedElementCallback arg0) 3180 </code> 3181 3182 </td> 3183 </tr> 3184 3185 3186 3187 <tr class="api apilevel-" > 3188 3189 3190 <td><code> 3191 3192 3193 3194 3195 3196 void</code> 3197 </td> 3198 3199 <td width="100%"> 3200 <code> 3201 setExitTransition(Transition arg0) 3202 </code> 3203 3204 </td> 3205 </tr> 3206 3207 3208 3209 <tr class="api apilevel-" > 3210 3211 3212 <td><code> 3213 3214 3215 3216 3217 3218 void</code> 3219 </td> 3220 3221 <td width="100%"> 3222 <code> 3223 setHasOptionsMenu(boolean arg0) 3224 </code> 3225 3226 </td> 3227 </tr> 3228 3229 3230 3231 <tr class="api apilevel-" > 3232 3233 3234 <td><code> 3235 3236 3237 3238 3239 3240 void</code> 3241 </td> 3242 3243 <td width="100%"> 3244 <code> 3245 setInitialSavedState(Fragment.SavedState arg0) 3246 </code> 3247 3248 </td> 3249 </tr> 3250 3251 3252 3253 <tr class="api apilevel-" > 3254 3255 3256 <td><code> 3257 3258 3259 3260 3261 3262 void</code> 3263 </td> 3264 3265 <td width="100%"> 3266 <code> 3267 setMenuVisibility(boolean arg0) 3268 </code> 3269 3270 </td> 3271 </tr> 3272 3273 3274 3275 <tr class="api apilevel-" > 3276 3277 3278 <td><code> 3279 3280 3281 3282 3283 3284 void</code> 3285 </td> 3286 3287 <td width="100%"> 3288 <code> 3289 setReenterTransition(Transition arg0) 3290 </code> 3291 3292 </td> 3293 </tr> 3294 3295 3296 3297 <tr class="api apilevel-" > 3298 3299 3300 <td><code> 3301 3302 3303 3304 3305 3306 void</code> 3307 </td> 3308 3309 <td width="100%"> 3310 <code> 3311 setRetainInstance(boolean arg0) 3312 </code> 3313 3314 </td> 3315 </tr> 3316 3317 3318 3319 <tr class="api apilevel-" > 3320 3321 3322 <td><code> 3323 3324 3325 3326 3327 3328 void</code> 3329 </td> 3330 3331 <td width="100%"> 3332 <code> 3333 setReturnTransition(Transition arg0) 3334 </code> 3335 3336 </td> 3337 </tr> 3338 3339 3340 3341 <tr class="api apilevel-" > 3342 3343 3344 <td><code> 3345 3346 3347 3348 3349 3350 void</code> 3351 </td> 3352 3353 <td width="100%"> 3354 <code> 3355 setSharedElementEnterTransition(Transition arg0) 3356 </code> 3357 3358 </td> 3359 </tr> 3360 3361 3362 3363 <tr class="api apilevel-" > 3364 3365 3366 <td><code> 3367 3368 3369 3370 3371 3372 void</code> 3373 </td> 3374 3375 <td width="100%"> 3376 <code> 3377 setSharedElementReturnTransition(Transition arg0) 3378 </code> 3379 3380 </td> 3381 </tr> 3382 3383 3384 3385 <tr class="api apilevel-" > 3386 3387 3388 <td><code> 3389 3390 3391 3392 3393 3394 void</code> 3395 </td> 3396 3397 <td width="100%"> 3398 <code> 3399 setTargetFragment(Fragment arg0, int arg1) 3400 </code> 3401 3402 </td> 3403 </tr> 3404 3405 3406 3407 <tr class="api apilevel-" > 3408 3409 3410 <td><code> 3411 3412 3413 3414 3415 3416 void</code> 3417 </td> 3418 3419 <td width="100%"> 3420 <code> 3421 setUserVisibleHint(boolean arg0) 3422 </code> 3423 3424 </td> 3425 </tr> 3426 3427 3428 3429 <tr class="api apilevel-" > 3430 3431 3432 <td><code> 3433 3434 3435 3436 3437 3438 boolean</code> 3439 </td> 3440 3441 <td width="100%"> 3442 <code> 3443 shouldShowRequestPermissionRationale(String arg0) 3444 </code> 3445 3446 </td> 3447 </tr> 3448 3449 3450 3451 <tr class="api apilevel-" > 3452 3453 3454 <td><code> 3455 3456 3457 3458 3459 3460 void</code> 3461 </td> 3462 3463 <td width="100%"> 3464 <code> 3465 startActivity(Intent arg0) 3466 </code> 3467 3468 </td> 3469 </tr> 3470 3471 3472 3473 <tr class="api apilevel-" > 3474 3475 3476 <td><code> 3477 3478 3479 3480 3481 3482 void</code> 3483 </td> 3484 3485 <td width="100%"> 3486 <code> 3487 startActivity(Intent arg0, Bundle arg1) 3488 </code> 3489 3490 </td> 3491 </tr> 3492 3493 3494 3495 <tr class="api apilevel-" > 3496 3497 3498 <td><code> 3499 3500 3501 3502 3503 3504 void</code> 3505 </td> 3506 3507 <td width="100%"> 3508 <code> 3509 startActivityForResult(Intent arg0, int arg1) 3510 </code> 3511 3512 </td> 3513 </tr> 3514 3515 3516 3517 <tr class="api apilevel-" > 3518 3519 3520 <td><code> 3521 3522 3523 3524 3525 3526 void</code> 3527 </td> 3528 3529 <td width="100%"> 3530 <code> 3531 startActivityForResult(Intent arg0, int arg1, Bundle arg2) 3532 </code> 3533 3534 </td> 3535 </tr> 3536 3537 3538 3539 <tr class="api apilevel-" > 3540 3541 3542 <td><code> 3543 3544 3545 3546 3547 3548 void</code> 3549 </td> 3550 3551 <td width="100%"> 3552 <code> 3553 startIntentSenderForResult(IntentSender arg0, int arg1, Intent arg2, int arg3, int arg4, int arg5, Bundle arg6) 3554 </code> 3555 3556 </td> 3557 </tr> 3558 3559 3560 3561 <tr class="api apilevel-" > 3562 3563 3564 <td><code> 3565 3566 3567 3568 3569 3570 String</code> 3571 </td> 3572 3573 <td width="100%"> 3574 <code> 3575 toString() 3576 </code> 3577 3578 </td> 3579 </tr> 3580 3581 3582 3583 <tr class="api apilevel-" > 3584 3585 3586 <td><code> 3587 3588 3589 3590 3591 3592 void</code> 3593 </td> 3594 3595 <td width="100%"> 3596 <code> 3597 unregisterForContextMenu(View arg0) 3598 </code> 3599 3600 </td> 3601 </tr> 3602 3603 3604 3605 </table> 3606 </div> 3607</div> 3608</td></tr> 3609 3610 3611 3612<tr class="api apilevel-" > 3613<td colspan="2"> 3614 3615 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" 3616 ><img height="34" id="inherited-methods-java.lang.Object-trigger" 3617 src="/assets/images/styles/disclosure_down.png" 3618 class="jd-expando-trigger-img" /></a>From 3619class 3620<code> 3621 3622 java.lang.Object 3623 3624</code> 3625<div id="inherited-methods-java.lang.Object"> 3626 <div id="inherited-methods-java.lang.Object-list" 3627 class="jd-inheritedlinks"> 3628 </div> 3629 <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> 3630 <table class="jd-sumtable-expando responsive"> 3631 3632 3633 3634 3635 <tr class="api apilevel-" > 3636 3637 3638 <td><code> 3639 3640 3641 3642 3643 3644 Object</code> 3645 </td> 3646 3647 <td width="100%"> 3648 <code> 3649 clone() 3650 </code> 3651 3652 </td> 3653 </tr> 3654 3655 3656 3657 <tr class="api apilevel-" > 3658 3659 3660 <td><code> 3661 3662 3663 3664 3665 3666 boolean</code> 3667 </td> 3668 3669 <td width="100%"> 3670 <code> 3671 equals(Object arg0) 3672 </code> 3673 3674 </td> 3675 </tr> 3676 3677 3678 3679 <tr class="api apilevel-" > 3680 3681 3682 <td><code> 3683 3684 3685 3686 3687 3688 void</code> 3689 </td> 3690 3691 <td width="100%"> 3692 <code> 3693 finalize() 3694 </code> 3695 3696 </td> 3697 </tr> 3698 3699 3700 3701 <tr class="api apilevel-" > 3702 3703 3704 <td><code> 3705 3706 3707 3708 final 3709 3710 Class<?></code> 3711 </td> 3712 3713 <td width="100%"> 3714 <code> 3715 getClass() 3716 </code> 3717 3718 </td> 3719 </tr> 3720 3721 3722 3723 <tr class="api apilevel-" > 3724 3725 3726 <td><code> 3727 3728 3729 3730 3731 3732 int</code> 3733 </td> 3734 3735 <td width="100%"> 3736 <code> 3737 hashCode() 3738 </code> 3739 3740 </td> 3741 </tr> 3742 3743 3744 3745 <tr class="api apilevel-" > 3746 3747 3748 <td><code> 3749 3750 3751 3752 final 3753 3754 void</code> 3755 </td> 3756 3757 <td width="100%"> 3758 <code> 3759 notify() 3760 </code> 3761 3762 </td> 3763 </tr> 3764 3765 3766 3767 <tr class="api apilevel-" > 3768 3769 3770 <td><code> 3771 3772 3773 3774 final 3775 3776 void</code> 3777 </td> 3778 3779 <td width="100%"> 3780 <code> 3781 notifyAll() 3782 </code> 3783 3784 </td> 3785 </tr> 3786 3787 3788 3789 <tr class="api apilevel-" > 3790 3791 3792 <td><code> 3793 3794 3795 3796 3797 3798 String</code> 3799 </td> 3800 3801 <td width="100%"> 3802 <code> 3803 toString() 3804 </code> 3805 3806 </td> 3807 </tr> 3808 3809 3810 3811 <tr class="api apilevel-" > 3812 3813 3814 <td><code> 3815 3816 3817 3818 final 3819 3820 void</code> 3821 </td> 3822 3823 <td width="100%"> 3824 <code> 3825 wait(long arg0, int arg1) 3826 </code> 3827 3828 </td> 3829 </tr> 3830 3831 3832 3833 <tr class="api apilevel-" > 3834 3835 3836 <td><code> 3837 3838 3839 3840 final 3841 3842 void</code> 3843 </td> 3844 3845 <td width="100%"> 3846 <code> 3847 wait(long arg0) 3848 </code> 3849 3850 </td> 3851 </tr> 3852 3853 3854 3855 <tr class="api apilevel-" > 3856 3857 3858 <td><code> 3859 3860 3861 3862 final 3863 3864 void</code> 3865 </td> 3866 3867 <td width="100%"> 3868 <code> 3869 wait() 3870 </code> 3871 3872 </td> 3873 </tr> 3874 3875 3876 3877 </table> 3878 </div> 3879</div> 3880</td></tr> 3881 3882 3883 3884<tr class="api apilevel-" > 3885<td colspan="2"> 3886 3887 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-android.content.ComponentCallbacks2" class="jd-expando-trigger closed" 3888 ><img height="34" id="inherited-methods-android.content.ComponentCallbacks2-trigger" 3889 src="/assets/images/styles/disclosure_down.png" 3890 class="jd-expando-trigger-img" /></a>From 3891interface 3892<code> 3893 3894 android.content.ComponentCallbacks2 3895 3896</code> 3897<div id="inherited-methods-android.content.ComponentCallbacks2"> 3898 <div id="inherited-methods-android.content.ComponentCallbacks2-list" 3899 class="jd-inheritedlinks"> 3900 </div> 3901 <div id="inherited-methods-android.content.ComponentCallbacks2-summary" style="display: none;"> 3902 <table class="jd-sumtable-expando responsive"> 3903 3904 3905 3906 3907 <tr class="api apilevel-" > 3908 3909 3910 <td><code> 3911 abstract 3912 3913 3914 3915 3916 void</code> 3917 </td> 3918 3919 <td width="100%"> 3920 <code> 3921 onTrimMemory(int arg0) 3922 </code> 3923 3924 </td> 3925 </tr> 3926 3927 3928 3929 </table> 3930 </div> 3931</div> 3932</td></tr> 3933 3934 3935 3936<tr class="api apilevel-" > 3937<td colspan="2"> 3938 3939 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-android.view.View.OnCreateContextMenuListener" class="jd-expando-trigger closed" 3940 ><img height="34" id="inherited-methods-android.view.View.OnCreateContextMenuListener-trigger" 3941 src="/assets/images/styles/disclosure_down.png" 3942 class="jd-expando-trigger-img" /></a>From 3943interface 3944<code> 3945 3946 android.view.View.OnCreateContextMenuListener 3947 3948</code> 3949<div id="inherited-methods-android.view.View.OnCreateContextMenuListener"> 3950 <div id="inherited-methods-android.view.View.OnCreateContextMenuListener-list" 3951 class="jd-inheritedlinks"> 3952 </div> 3953 <div id="inherited-methods-android.view.View.OnCreateContextMenuListener-summary" style="display: none;"> 3954 <table class="jd-sumtable-expando responsive"> 3955 3956 3957 3958 3959 <tr class="api apilevel-" > 3960 3961 3962 <td><code> 3963 abstract 3964 3965 3966 3967 3968 void</code> 3969 </td> 3970 3971 <td width="100%"> 3972 <code> 3973 onCreateContextMenu(ContextMenu arg0, View arg1, ContextMenu.ContextMenuInfo arg2) 3974 </code> 3975 3976 </td> 3977 </tr> 3978 3979 3980 3981 </table> 3982 </div> 3983</div> 3984</td></tr> 3985 3986 3987 3988<tr class="api apilevel-" > 3989<td colspan="2"> 3990 3991 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-android.content.ComponentCallbacks" class="jd-expando-trigger closed" 3992 ><img height="34" id="inherited-methods-android.content.ComponentCallbacks-trigger" 3993 src="/assets/images/styles/disclosure_down.png" 3994 class="jd-expando-trigger-img" /></a>From 3995interface 3996<code> 3997 3998 android.content.ComponentCallbacks 3999 4000</code> 4001<div id="inherited-methods-android.content.ComponentCallbacks"> 4002 <div id="inherited-methods-android.content.ComponentCallbacks-list" 4003 class="jd-inheritedlinks"> 4004 </div> 4005 <div id="inherited-methods-android.content.ComponentCallbacks-summary" style="display: none;"> 4006 <table class="jd-sumtable-expando responsive"> 4007 4008 4009 4010 4011 <tr class="api apilevel-" > 4012 4013 4014 <td><code> 4015 abstract 4016 4017 4018 4019 4020 void</code> 4021 </td> 4022 4023 <td width="100%"> 4024 <code> 4025 onConfigurationChanged(Configuration arg0) 4026 </code> 4027 4028 </td> 4029 </tr> 4030 4031 4032 4033 <tr class="api apilevel-" > 4034 4035 4036 <td><code> 4037 abstract 4038 4039 4040 4041 4042 void</code> 4043 </td> 4044 4045 <td width="100%"> 4046 <code> 4047 onLowMemory() 4048 </code> 4049 4050 </td> 4051 </tr> 4052 4053 4054 4055 </table> 4056 </div> 4057</div> 4058</td></tr> 4059 4060 4061</table> 4062 4063 4064 4065<!-- XML Attributes --> 4066 4067 4068<!-- Enum Values --> 4069 4070 4071<!-- Constants --> 4072 4073 4074<!-- ========= ENUM CONSTANTS DETAIL ======== --> 4075<h2 class="api-section">Constants</h2> 4076 4077 4078 4079 4080<A NAME="EXPAND_DOWN"></A> 4081 4082<div class="api apilevel-"> 4083 <h3 class="api-name">EXPAND_DOWN</h3> 4084 <div class="api-level"> 4085 4086 4087 4088 4089 </div> 4090<pre class="api-signature no-pretty-print"> 4091int EXPAND_DOWN</pre> 4092 4093 4094 4095 4096 <p></p> 4097 4098 4099 <p>Constant Value: 4100 4101 1 4102 (0x00000001) 4103 4104 4105</div> 4106 4107 4108 4109<A NAME="EXPAND_UP"></A> 4110 4111<div class="api apilevel-"> 4112 <h3 class="api-name">EXPAND_UP</h3> 4113 <div class="api-level"> 4114 4115 4116 4117 4118 </div> 4119<pre class="api-signature no-pretty-print"> 4120int EXPAND_UP</pre> 4121 4122 4123 4124 4125 <p></p> 4126 4127 4128 <p>Constant Value: 4129 4130 -1 4131 (0xffffffff) 4132 4133 4134</div> 4135 4136 4137 4138<A NAME="KEY_ICON_RESOURCE"></A> 4139 4140<div class="api apilevel-"> 4141 <h3 class="api-name">KEY_ICON_RESOURCE</h3> 4142 <div class="api-level"> 4143 4144 4145 4146 4147 </div> 4148<pre class="api-signature no-pretty-print"> 4149String KEY_ICON_RESOURCE</pre> 4150 4151 4152 4153 4154 <p></p> 4155 4156 4157 <p>Constant Value: 4158 4159 "CardFragment_icon" 4160 4161 4162</div> 4163 4164 4165 4166<A NAME="KEY_TEXT"></A> 4167 4168<div class="api apilevel-"> 4169 <h3 class="api-name">KEY_TEXT</h3> 4170 <div class="api-level"> 4171 4172 4173 4174 4175 </div> 4176<pre class="api-signature no-pretty-print"> 4177String KEY_TEXT</pre> 4178 4179 4180 4181 4182 <p></p> 4183 4184 4185 <p>Constant Value: 4186 4187 "CardFragment_text" 4188 4189 4190</div> 4191 4192 4193 4194<A NAME="KEY_TITLE"></A> 4195 4196<div class="api apilevel-"> 4197 <h3 class="api-name">KEY_TITLE</h3> 4198 <div class="api-level"> 4199 4200 4201 4202 4203 </div> 4204<pre class="api-signature no-pretty-print"> 4205String KEY_TITLE</pre> 4206 4207 4208 4209 4210 <p></p> 4211 4212 4213 <p>Constant Value: 4214 4215 "CardFragment_title" 4216 4217 4218</div> 4219 4220 4221 4222 4223<!-- Fields --> 4224 4225 4226<!-- Public ctors --> 4227 4228 4229<!-- ========= CONSTRUCTOR DETAIL ======== --> 4230<h2 class="api-section">Public constructors</h2> 4231 4232 4233 4234<A NAME="CardFragment()"></A> 4235 4236<div class="api apilevel-"> 4237 <h3 class="api-name">CardFragment</h3> 4238 <div class="api-level"> 4239 <div></div> 4240 4241 4242 4243 </div> 4244<pre class="api-signature no-pretty-print"> 4245CardFragment ()</pre> 4246 4247 4248 4249 4250 <p></p> 4251 4252</div> 4253 4254 4255 4256 4257 4258<!-- ========= CONSTRUCTOR DETAIL ======== --> 4259<!-- Protected ctors --> 4260 4261 4262 4263<!-- ========= METHOD DETAIL ======== --> 4264<!-- Public methdos --> 4265 4266<h2 class="api-section">Public methods</h2> 4267 4268 4269 4270<A NAME="create(java.lang.CharSequence, java.lang.CharSequence, int)"></A> 4271 4272<div class="api apilevel-"> 4273 <h3 class="api-name">create</h3> 4274 <div class="api-level"> 4275 <div></div> 4276 4277 4278 4279 </div> 4280<pre class="api-signature no-pretty-print"> 4281<a href="/reference/android/support/wearable/view/CardFragment.html">CardFragment</a> create (CharSequence title, 4282 CharSequence text, 4283 int iconRes)</pre> 4284 4285 4286 4287 4288 <p>Construct a new CardFragment using the default content layout, including and icon.</p> 4289 <table class="responsive"> 4290 <tr><th colspan=2>Parameters</th></tr> 4291 <tr> 4292 <td><code>title</code></td> 4293 <td width="100%"> 4294 <code>CharSequence</code>: 4295 the card title displayed on the first line</td> 4296 </tr> 4297 <tr> 4298 <td><code>text</code></td> 4299 <td width="100%"> 4300 <code>CharSequence</code>: 4301 the card text displayed below the title</td> 4302 </tr> 4303 <tr> 4304 <td><code>iconRes</code></td> 4305 <td width="100%"> 4306 <code>int</code>: 4307 a resourceId for an icon to be displayed next to the title</td> 4308 </tr> 4309 </table> 4310 <table class="responsive"> 4311 <tr><th colspan=2>Returns</th></tr> 4312 <tr> 4313 <td><code><a href="/reference/android/support/wearable/view/CardFragment.html">CardFragment</a></code></td> 4314 <td width="100%">a new CardFragment 4315</td> 4316 </tr> 4317 </table> 4318 4319</div> 4320 4321 4322<A NAME="create(java.lang.CharSequence, java.lang.CharSequence)"></A> 4323 4324<div class="api apilevel-"> 4325 <h3 class="api-name">create</h3> 4326 <div class="api-level"> 4327 <div></div> 4328 4329 4330 4331 </div> 4332<pre class="api-signature no-pretty-print"> 4333<a href="/reference/android/support/wearable/view/CardFragment.html">CardFragment</a> create (CharSequence title, 4334 CharSequence description)</pre> 4335 4336 4337 4338 4339 <p>Construct a new CardFragment using the default content layout.</p> 4340 <table class="responsive"> 4341 <tr><th colspan=2>Parameters</th></tr> 4342 <tr> 4343 <td><code>title</code></td> 4344 <td width="100%"> 4345 <code>CharSequence</code>: 4346 the card title displayed on the first line</td> 4347 </tr> 4348 <tr> 4349 <td><code>description</code></td> 4350 <td width="100%"> 4351 <code>CharSequence</code>: 4352 the card text displayed below the title</td> 4353 </tr> 4354 </table> 4355 <table class="responsive"> 4356 <tr><th colspan=2>Returns</th></tr> 4357 <tr> 4358 <td><code><a href="/reference/android/support/wearable/view/CardFragment.html">CardFragment</a></code></td> 4359 <td width="100%">a new CardFragment 4360</td> 4361 </tr> 4362 </table> 4363 4364</div> 4365 4366 4367<A NAME="getContentPadding()"></A> 4368 4369<div class="api apilevel-"> 4370 <h3 class="api-name">getContentPadding</h3> 4371 <div class="api-level"> 4372 <div></div> 4373 4374 4375 4376 </div> 4377<pre class="api-signature no-pretty-print"> 4378Rect getContentPadding ()</pre> 4379 4380 4381 4382 4383 <p>Gets the padding between the inside card edge and the card content. 4384</p> 4385 <table class="responsive"> 4386 <tr><th colspan=2>Returns</th></tr> 4387 <tr> 4388 <td><code>Rect</code></td> 4389 <td width="100%"><!-- no returns description in source --></td> 4390 </tr> 4391 </table> 4392 4393</div> 4394 4395 4396<A NAME="getContentPaddingBottom()"></A> 4397 4398<div class="api apilevel-"> 4399 <h3 class="api-name">getContentPaddingBottom</h3> 4400 <div class="api-level"> 4401 <div></div> 4402 4403 4404 4405 </div> 4406<pre class="api-signature no-pretty-print"> 4407int getContentPaddingBottom ()</pre> 4408 4409 4410 4411 4412 <p>Gets the padding between the inside card's bottom edge and the card content. 4413</p> 4414 <table class="responsive"> 4415 <tr><th colspan=2>Returns</th></tr> 4416 <tr> 4417 <td><code>int</code></td> 4418 <td width="100%"><!-- no returns description in source --></td> 4419 </tr> 4420 </table> 4421 4422</div> 4423 4424 4425<A NAME="getContentPaddingLeft()"></A> 4426 4427<div class="api apilevel-"> 4428 <h3 class="api-name">getContentPaddingLeft</h3> 4429 <div class="api-level"> 4430 <div></div> 4431 4432 4433 4434 </div> 4435<pre class="api-signature no-pretty-print"> 4436int getContentPaddingLeft ()</pre> 4437 4438 4439 4440 4441 <p>Gets the padding between the inside card's left edge and the card content. 4442</p> 4443 <table class="responsive"> 4444 <tr><th colspan=2>Returns</th></tr> 4445 <tr> 4446 <td><code>int</code></td> 4447 <td width="100%"><!-- no returns description in source --></td> 4448 </tr> 4449 </table> 4450 4451</div> 4452 4453 4454<A NAME="getContentPaddingRight()"></A> 4455 4456<div class="api apilevel-"> 4457 <h3 class="api-name">getContentPaddingRight</h3> 4458 <div class="api-level"> 4459 <div></div> 4460 4461 4462 4463 </div> 4464<pre class="api-signature no-pretty-print"> 4465int getContentPaddingRight ()</pre> 4466 4467 4468 4469 4470 <p>Gets the padding between the inside card's right edge and the card content. 4471</p> 4472 <table class="responsive"> 4473 <tr><th colspan=2>Returns</th></tr> 4474 <tr> 4475 <td><code>int</code></td> 4476 <td width="100%"><!-- no returns description in source --></td> 4477 </tr> 4478 </table> 4479 4480</div> 4481 4482 4483<A NAME="getContentPaddingTop()"></A> 4484 4485<div class="api apilevel-"> 4486 <h3 class="api-name">getContentPaddingTop</h3> 4487 <div class="api-level"> 4488 <div></div> 4489 4490 4491 4492 </div> 4493<pre class="api-signature no-pretty-print"> 4494int getContentPaddingTop ()</pre> 4495 4496 4497 4498 4499 <p>Gets the padding between the inside card's top edge and the card content. 4500</p> 4501 <table class="responsive"> 4502 <tr><th colspan=2>Returns</th></tr> 4503 <tr> 4504 <td><code>int</code></td> 4505 <td width="100%"><!-- no returns description in source --></td> 4506 </tr> 4507 </table> 4508 4509</div> 4510 4511 4512<A NAME="onActivityCreated(android.os.Bundle)"></A> 4513 4514<div class="api apilevel-"> 4515 <h3 class="api-name">onActivityCreated</h3> 4516 <div class="api-level"> 4517 <div></div> 4518 4519 4520 4521 </div> 4522<pre class="api-signature no-pretty-print"> 4523void onActivityCreated (Bundle savedInstanceState)</pre> 4524 4525 4526 4527 4528 <p></p> 4529 <table class="responsive"> 4530 <tr><th colspan=2>Parameters</th></tr> 4531 <tr> 4532 <td><code>savedInstanceState</code></td> 4533 <td width="100%"> 4534 <code>Bundle</code> 4535 <!-- no parameter comment --></td> 4536 </tr> 4537 </table> 4538 4539</div> 4540 4541 4542<A NAME="onCreateContentView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle)"></A> 4543 4544<div class="api apilevel-"> 4545 <h3 class="api-name">onCreateContentView</h3> 4546 <div class="api-level"> 4547 <div></div> 4548 4549 4550 4551 </div> 4552<pre class="api-signature no-pretty-print"> 4553View onCreateContentView (LayoutInflater inflater, 4554 ViewGroup container, 4555 Bundle savedInstanceState)</pre> 4556 4557 4558 4559 4560 <p>Called to have subclasses instantiate their layout which is inserted within the card. 4561 Override this method to supply your own custom layout for the card content.</p> 4562 <table class="responsive"> 4563 <tr><th colspan=2>Parameters</th></tr> 4564 <tr> 4565 <td><code>inflater</code></td> 4566 <td width="100%"> 4567 <code>LayoutInflater</code>: 4568 The LayoutInflater object that can be used to inflate any views in the 4569 fragment</td> 4570 </tr> 4571 <tr> 4572 <td><code>container</code></td> 4573 <td width="100%"> 4574 <code>ViewGroup</code>: 4575 If non-null, this is the parent view that the fragment's UI should be 4576 attached to. The fragment should not add the view itself, but this can be used to 4577 generate the LayoutParams of the view</td> 4578 </tr> 4579 <tr> 4580 <td><code>savedInstanceState</code></td> 4581 <td width="100%"> 4582 <code>Bundle</code>: 4583 If non-null, this fragment is being re-constructed from a previous 4584 saved state as given here</td> 4585 </tr> 4586 </table> 4587 <table class="responsive"> 4588 <tr><th colspan=2>Returns</th></tr> 4589 <tr> 4590 <td><code>View</code></td> 4591 <td width="100%">Return the View for the fragment's UI, or null 4592</td> 4593 </tr> 4594 </table> 4595 4596</div> 4597 4598 4599<A NAME="onCreateView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle)"></A> 4600 4601<div class="api apilevel-"> 4602 <h3 class="api-name">onCreateView</h3> 4603 <div class="api-level"> 4604 <div></div> 4605 4606 4607 4608 </div> 4609<pre class="api-signature no-pretty-print"> 4610View onCreateView (LayoutInflater inflater, 4611 ViewGroup container, 4612 Bundle savedInstanceState)</pre> 4613 4614 4615 4616 4617 <p></p> 4618 <table class="responsive"> 4619 <tr><th colspan=2>Parameters</th></tr> 4620 <tr> 4621 <td><code>inflater</code></td> 4622 <td width="100%"> 4623 <code>LayoutInflater</code> 4624 <!-- no parameter comment --></td> 4625 </tr> 4626 <tr> 4627 <td><code>container</code></td> 4628 <td width="100%"> 4629 <code>ViewGroup</code> 4630 <!-- no parameter comment --></td> 4631 </tr> 4632 <tr> 4633 <td><code>savedInstanceState</code></td> 4634 <td width="100%"> 4635 <code>Bundle</code> 4636 <!-- no parameter comment --></td> 4637 </tr> 4638 </table> 4639 <table class="responsive"> 4640 <tr><th colspan=2>Returns</th></tr> 4641 <tr> 4642 <td><code>View</code></td> 4643 <td width="100%"><!-- no returns description in source --></td> 4644 </tr> 4645 </table> 4646 4647</div> 4648 4649 4650<A NAME="onDestroy()"></A> 4651 4652<div class="api apilevel-"> 4653 <h3 class="api-name">onDestroy</h3> 4654 <div class="api-level"> 4655 <div></div> 4656 4657 4658 4659 </div> 4660<pre class="api-signature no-pretty-print"> 4661void onDestroy ()</pre> 4662 4663 4664 4665 4666 <p></p> 4667 4668</div> 4669 4670 4671<A NAME="scrollToBottom()"></A> 4672 4673<div class="api apilevel-"> 4674 <h3 class="api-name">scrollToBottom</h3> 4675 <div class="api-level"> 4676 <div></div> 4677 4678 4679 4680 </div> 4681<pre class="api-signature no-pretty-print"> 4682void scrollToBottom ()</pre> 4683 4684 4685 4686 4687 <p>Sets the card scroll position as far down as possible so the bottom edge is visible. 4688</p> 4689 4690</div> 4691 4692 4693<A NAME="scrollToTop()"></A> 4694 4695<div class="api apilevel-"> 4696 <h3 class="api-name">scrollToTop</h3> 4697 <div class="api-level"> 4698 <div></div> 4699 4700 4701 4702 </div> 4703<pre class="api-signature no-pretty-print"> 4704void scrollToTop ()</pre> 4705 4706 4707 4708 4709 <p>Sets the card scroll position as far up as possible so the top edge is visible. 4710</p> 4711 4712</div> 4713 4714 4715<A NAME="setCardGravity(int)"></A> 4716 4717<div class="api apilevel-"> 4718 <h3 class="api-name">setCardGravity</h3> 4719 <div class="api-level"> 4720 <div></div> 4721 4722 4723 4724 </div> 4725<pre class="api-signature no-pretty-print"> 4726void setCardGravity (int gravity)</pre> 4727 4728 4729 4730 4731 <p>Assigns vertical gravity to the card, which determines where it should float when the card 4732 and it's content are shorter than the page.</p> 4733 <table class="responsive"> 4734 <tr><th colspan=2>Parameters</th></tr> 4735 <tr> 4736 <td><code>gravity</code></td> 4737 <td width="100%"> 4738 <code>int</code>: 4739 a vertical gravity, either <code><a href="/reference/android/view/Gravity.html#TOP">TOP</a></code> or <code><a href="/reference/android/view/Gravity.html#BOTTOM">BOTTOM</a></code> 4740</td> 4741 </tr> 4742 </table> 4743 4744</div> 4745 4746 4747<A NAME="setCardMarginBottom(int)"></A> 4748 4749<div class="api apilevel-"> 4750 <h3 class="api-name">setCardMarginBottom</h3> 4751 <div class="api-level"> 4752 <div></div> 4753 4754 4755 4756 </div> 4757<pre class="api-signature no-pretty-print"> 4758void setCardMarginBottom (int bottom)</pre> 4759 4760 4761 4762 4763 <p>Sets the additional margin between the bottom edge of the card shadow, and the parent view.</p> 4764 <table class="responsive"> 4765 <tr><th colspan=2>Parameters</th></tr> 4766 <tr> 4767 <td><code>bottom</code></td> 4768 <td width="100%"> 4769 <code>int</code>: 4770 the top margin 4771</td> 4772 </tr> 4773 </table> 4774 4775</div> 4776 4777 4778<A NAME="setCardMarginLeft(int)"></A> 4779 4780<div class="api apilevel-"> 4781 <h3 class="api-name">setCardMarginLeft</h3> 4782 <div class="api-level"> 4783 <div></div> 4784 4785 4786 4787 </div> 4788<pre class="api-signature no-pretty-print"> 4789void setCardMarginLeft (int left)</pre> 4790 4791 4792 4793 4794 <p>Sets the additional margin between the left edge of the card shadow, and the parent view.</p> 4795 <table class="responsive"> 4796 <tr><th colspan=2>Parameters</th></tr> 4797 <tr> 4798 <td><code>left</code></td> 4799 <td width="100%"> 4800 <code>int</code>: 4801 the top margin 4802</td> 4803 </tr> 4804 </table> 4805 4806</div> 4807 4808 4809<A NAME="setCardMarginRight(int)"></A> 4810 4811<div class="api apilevel-"> 4812 <h3 class="api-name">setCardMarginRight</h3> 4813 <div class="api-level"> 4814 <div></div> 4815 4816 4817 4818 </div> 4819<pre class="api-signature no-pretty-print"> 4820void setCardMarginRight (int right)</pre> 4821 4822 4823 4824 4825 <p>Sets the additional margin between the right edge of the card shadow, and the parent view.</p> 4826 <table class="responsive"> 4827 <tr><th colspan=2>Parameters</th></tr> 4828 <tr> 4829 <td><code>right</code></td> 4830 <td width="100%"> 4831 <code>int</code>: 4832 the top margin 4833</td> 4834 </tr> 4835 </table> 4836 4837</div> 4838 4839 4840<A NAME="setCardMarginTop(int)"></A> 4841 4842<div class="api apilevel-"> 4843 <h3 class="api-name">setCardMarginTop</h3> 4844 <div class="api-level"> 4845 <div></div> 4846 4847 4848 4849 </div> 4850<pre class="api-signature no-pretty-print"> 4851void setCardMarginTop (int top)</pre> 4852 4853 4854 4855 4856 <p>Sets the additional margin between the top edge of the card shadow, and the parent view.</p> 4857 <table class="responsive"> 4858 <tr><th colspan=2>Parameters</th></tr> 4859 <tr> 4860 <td><code>top</code></td> 4861 <td width="100%"> 4862 <code>int</code>: 4863 the top margin 4864</td> 4865 </tr> 4866 </table> 4867 4868</div> 4869 4870 4871<A NAME="setCardMargins(int, int, int, int)"></A> 4872 4873<div class="api apilevel-"> 4874 <h3 class="api-name">setCardMargins</h3> 4875 <div class="api-level"> 4876 <div></div> 4877 4878 4879 4880 </div> 4881<pre class="api-signature no-pretty-print"> 4882void setCardMargins (int left, 4883 int top, 4884 int right, 4885 int bottom)</pre> 4886 4887 4888 4889 4890 <p>Sets the additional margin between the card shadow edge and the parent view.</p> 4891 <table class="responsive"> 4892 <tr><th colspan=2>Parameters</th></tr> 4893 <tr> 4894 <td><code>left</code></td> 4895 <td width="100%"> 4896 <code>int</code>: 4897 the left margin</td> 4898 </tr> 4899 <tr> 4900 <td><code>top</code></td> 4901 <td width="100%"> 4902 <code>int</code>: 4903 the top margin</td> 4904 </tr> 4905 <tr> 4906 <td><code>right</code></td> 4907 <td width="100%"> 4908 <code>int</code>: 4909 the right margin</td> 4910 </tr> 4911 <tr> 4912 <td><code>bottom</code></td> 4913 <td width="100%"> 4914 <code>int</code>: 4915 the bottom margin 4916</td> 4917 </tr> 4918 </table> 4919 4920</div> 4921 4922 4923<A NAME="setContentPadding(int, int, int, int)"></A> 4924 4925<div class="api apilevel-"> 4926 <h3 class="api-name">setContentPadding</h3> 4927 <div class="api-level"> 4928 <div></div> 4929 4930 4931 4932 </div> 4933<pre class="api-signature no-pretty-print"> 4934void setContentPadding (int left, 4935 int top, 4936 int right, 4937 int bottom)</pre> 4938 4939 4940 4941 4942 <p>Sets padding between the inside card edge and the card content.</p> 4943 <table class="responsive"> 4944 <tr><th colspan=2>Parameters</th></tr> 4945 <tr> 4946 <td><code>left</code></td> 4947 <td width="100%"> 4948 <code>int</code>: 4949 the left padding</td> 4950 </tr> 4951 <tr> 4952 <td><code>top</code></td> 4953 <td width="100%"> 4954 <code>int</code>: 4955 the top padding</td> 4956 </tr> 4957 <tr> 4958 <td><code>right</code></td> 4959 <td width="100%"> 4960 <code>int</code>: 4961 the right padding</td> 4962 </tr> 4963 <tr> 4964 <td><code>bottom</code></td> 4965 <td width="100%"> 4966 <code>int</code>: 4967 the bottom padding 4968</td> 4969 </tr> 4970 </table> 4971 4972</div> 4973 4974 4975<A NAME="setContentPaddingBottom(int)"></A> 4976 4977<div class="api apilevel-"> 4978 <h3 class="api-name">setContentPaddingBottom</h3> 4979 <div class="api-level"> 4980 <div></div> 4981 4982 4983 4984 </div> 4985<pre class="api-signature no-pretty-print"> 4986void setContentPaddingBottom (int bottomPadding)</pre> 4987 4988 4989 4990 4991 <p>Sets the padding between the inside card's bottom edge and the card content.</p> 4992 <table class="responsive"> 4993 <tr><th colspan=2>Parameters</th></tr> 4994 <tr> 4995 <td><code>bottomPadding</code></td> 4996 <td width="100%"> 4997 <code>int</code>: 4998 the bottom padding 4999</td> 5000 </tr> 5001 </table> 5002 5003</div> 5004 5005 5006<A NAME="setContentPaddingLeft(int)"></A> 5007 5008<div class="api apilevel-"> 5009 <h3 class="api-name">setContentPaddingLeft</h3> 5010 <div class="api-level"> 5011 <div></div> 5012 5013 5014 5015 </div> 5016<pre class="api-signature no-pretty-print"> 5017void setContentPaddingLeft (int leftPadding)</pre> 5018 5019 5020 5021 5022 <p>Sets the padding between the inside card's left edge and the card content.</p> 5023 <table class="responsive"> 5024 <tr><th colspan=2>Parameters</th></tr> 5025 <tr> 5026 <td><code>leftPadding</code></td> 5027 <td width="100%"> 5028 <code>int</code>: 5029 the left padding 5030</td> 5031 </tr> 5032 </table> 5033 5034</div> 5035 5036 5037<A NAME="setContentPaddingRight(int)"></A> 5038 5039<div class="api apilevel-"> 5040 <h3 class="api-name">setContentPaddingRight</h3> 5041 <div class="api-level"> 5042 <div></div> 5043 5044 5045 5046 </div> 5047<pre class="api-signature no-pretty-print"> 5048void setContentPaddingRight (int rightPadding)</pre> 5049 5050 5051 5052 5053 <p>Sets the padding between the inside card's right edge and the card content.</p> 5054 <table class="responsive"> 5055 <tr><th colspan=2>Parameters</th></tr> 5056 <tr> 5057 <td><code>rightPadding</code></td> 5058 <td width="100%"> 5059 <code>int</code>: 5060 the right padding 5061</td> 5062 </tr> 5063 </table> 5064 5065</div> 5066 5067 5068<A NAME="setContentPaddingTop(int)"></A> 5069 5070<div class="api apilevel-"> 5071 <h3 class="api-name">setContentPaddingTop</h3> 5072 <div class="api-level"> 5073 <div></div> 5074 5075 5076 5077 </div> 5078<pre class="api-signature no-pretty-print"> 5079void setContentPaddingTop (int topPadding)</pre> 5080 5081 5082 5083 5084 <p>Sets the padding between the inside card's top edge and the card content. 5085</p> 5086 <table class="responsive"> 5087 <tr><th colspan=2>Parameters</th></tr> 5088 <tr> 5089 <td><code>topPadding</code></td> 5090 <td width="100%"> 5091 <code>int</code> 5092 <!-- no parameter comment --></td> 5093 </tr> 5094 </table> 5095 5096</div> 5097 5098 5099<A NAME="setExpansionDirection(int)"></A> 5100 5101<div class="api apilevel-"> 5102 <h3 class="api-name">setExpansionDirection</h3> 5103 <div class="api-level"> 5104 <div></div> 5105 5106 5107 5108 </div> 5109<pre class="api-signature no-pretty-print"> 5110void setExpansionDirection (int direction)</pre> 5111 5112 5113 5114 5115 <p>Adjusts which direction the card height will expand. This also determines which edge is 5116 rendered with a faded edge when more content is available by scrolling.</p> 5117 <table class="responsive"> 5118 <tr><th colspan=2>Parameters</th></tr> 5119 <tr> 5120 <td><code>direction</code></td> 5121 <td width="100%"> 5122 <code>int</code>: 5123 a direction constant, either <code><a href="/reference/android/support/wearable/view/CardFragment.html#EXPAND_UP">EXPAND_UP</a></code> or <code><a href="/reference/android/support/wearable/view/CardFragment.html#EXPAND_DOWN">EXPAND_DOWN</a></code> 5124</td> 5125 </tr> 5126 </table> 5127 5128</div> 5129 5130 5131<A NAME="setExpansionEnabled(boolean)"></A> 5132 5133<div class="api apilevel-"> 5134 <h3 class="api-name">setExpansionEnabled</h3> 5135 <div class="api-level"> 5136 <div></div> 5137 5138 5139 5140 </div> 5141<pre class="api-signature no-pretty-print"> 5142void setExpansionEnabled (boolean enabled)</pre> 5143 5144 5145 5146 5147 <p>Enables support contents which maybe be larger than the card's container. When expansion is 5148 enabled, and the contents are larger than the card, the top or bottom edge will fade to 5149 indicate this. The expansion factor must also be increased to allow the card to increase in 5150 height. 5151</p> 5152 <table class="responsive"> 5153 <tr><th colspan=2>Parameters</th></tr> 5154 <tr> 5155 <td><code>enabled</code></td> 5156 <td width="100%"> 5157 <code>boolean</code> 5158 <!-- no parameter comment --></td> 5159 </tr> 5160 </table> 5161 5162</div> 5163 5164 5165<A NAME="setExpansionFactor(float)"></A> 5166 5167<div class="api apilevel-"> 5168 <h3 class="api-name">setExpansionFactor</h3> 5169 <div class="api-level"> 5170 <div></div> 5171 5172 5173 5174 </div> 5175<pre class="api-signature no-pretty-print"> 5176void setExpansionFactor (float factor)</pre> 5177 5178 5179 5180 5181 <p>Sets the allowed maximum height of the card as a multiple of the parent height. If expansion 5182 is enabled, The card will increase in height up to this amount as needed to accommodate 5183 content.</p> 5184 <table class="responsive"> 5185 <tr><th colspan=2>Parameters</th></tr> 5186 <tr> 5187 <td><code>factor</code></td> 5188 <td width="100%"> 5189 <code>float</code>: 5190 the vertical height multiplier to set the maximum height 5191</td> 5192 </tr> 5193 </table> 5194 5195</div> 5196 5197 5198 5199 5200 5201<!-- ========= METHOD DETAIL ======== --> 5202 5203 5204 5205<!-- ========= END OF CLASS DATA ========= --> 5206 5207</div><!-- end jd-content --> 5208 5209 5210 5211<div class="data-reference-resources-wrapper"> 5212 5213 <ul data-reference-resources> 5214 5215 5216 <li><h2>Interfaces</h2> 5217 <ul> 5218 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionChooserView.ActionChooserListener.html">ActionChooserView.ActionChooserListener</a></li> 5219 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DelayedConfirmationView.DelayedConfirmationListener.html">DelayedConfirmationView.DelayedConfirmationListener</a></li> 5220 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridPageOptions.html">GridPageOptions</a></li> 5221 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridPageOptions.BackgroundListener.html">GridPageOptions.BackgroundListener</a></li> 5222 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.OnAdapterChangeListener.html">GridViewPager.OnAdapterChangeListener</a></li> 5223 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.OnPageChangeListener.html">GridViewPager.OnPageChangeListener</a></li> 5224 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WatchViewStub.OnLayoutInflatedListener.html">WatchViewStub.OnLayoutInflatedListener</a></li> 5225 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.ClickListener.html">WearableListView.ClickListener</a></li> 5226 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.OnCenterProximityListener.html">WearableListView.OnCenterProximityListener</a></li> 5227 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.OnCentralPositionChangedListener.html">WearableListView.OnCentralPositionChangedListener</a></li> 5228 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.OnScrollListener.html">WearableListView.OnScrollListener</a></li> 5229 </ul> 5230 </li> 5231 5232 <li><h2>Classes</h2> 5233 <ul> 5234 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionChooserView.html">ActionChooserView</a></li> 5235 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionLabel.html">ActionLabel</a></li> 5236 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionPage.html">ActionPage</a></li> 5237 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/BoxInsetLayout.html">BoxInsetLayout</a></li> 5238 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html">BoxInsetLayout.LayoutParams</a></li> 5239 <li class="selected api apilevel-"><a href="/reference/android/support/wearable/view/CardFragment.html">CardFragment</a></li> 5240 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CardFrame.html">CardFrame</a></li> 5241 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CardScrollView.html">CardScrollView</a></li> 5242 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CircledImageView.html">CircledImageView</a></li> 5243 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CircularButton.html">CircularButton</a></li> 5244 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CrossfadeDrawable.html">CrossfadeDrawable</a></li> 5245 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DelayedConfirmationView.html">DelayedConfirmationView</a></li> 5246 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DismissOverlayView.html">DismissOverlayView</a></li> 5247 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DotsPageIndicator.html">DotsPageIndicator</a></li> 5248 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/FragmentGridPagerAdapter.html">FragmentGridPagerAdapter</a></li> 5249 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridPagerAdapter.html">GridPagerAdapter</a></li> 5250 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.html">GridViewPager</a></li> 5251 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.LayoutParams.html">GridViewPager.LayoutParams</a></li> 5252 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ProgressSpinner.html">ProgressSpinner</a></li> 5253 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/SimpleAnimatorListener.html">SimpleAnimatorListener</a></li> 5254 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WatchViewStub.html">WatchViewStub</a></li> 5255 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableFrameLayout.html">WearableFrameLayout</a></li> 5256 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableFrameLayout.LayoutParams.html">WearableFrameLayout.LayoutParams</a></li> 5257 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.html">WearableListView</a></li> 5258 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.Adapter.html">WearableListView.Adapter</a></li> 5259 <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.ViewHolder.html">WearableListView.ViewHolder</a></li> 5260 </ul> 5261 </li> 5262 5263 5264 5265 </ul> 5266 5267</div> 5268 5269 5270 5271</body> 5272</html> 5273