Lines Matching refs:setText
71 * change the tab's label or icon via {@link Tab#setText(int)} and {@link Tab#setIcon(int)}
76 * tabLayout.addTab(tabLayout.newTab().setText("Tab 1"));
77 * tabLayout.addTab(tabLayout.newTab().setText("Tab 2"));
78 * tabLayout.addTab(tabLayout.newTab().setText("Tab 3"));
624 addTab(newTab().setText(adapter.getPageTitle(i)));
949 * to {@link #setText(CharSequence)}. Similarly, if this layout contains an
971 * to {@link #setText(CharSequence)}. Similarly, if this layout contains an
1053 public Tab setText(@Nullable CharSequence text) {
1069 public Tab setText(@StringRes int resId) {
1070 return setText(mParent.getResources().getText(resId));
1277 textView.setText(text);
1283 textView.setText(null);