File tree Expand file tree Collapse file tree 7 files changed +13
-13
lines changed
catalog/java/io/material/catalog/tabs
tests/javatests/com/google/android/material Expand file tree Collapse file tree 7 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 2121import android .os .Bundle ;
2222import androidx .annotation .LayoutRes ;
2323import androidx .annotation .Nullable ;
24- import com .google .android .material .tabs .TabLayout ;
25- import com .google .android .material .tabs .TabLayout .Tab ;
2624import android .view .LayoutInflater ;
2725import android .view .View ;
2826import android .view .ViewGroup ;
2927import android .widget .Button ;
28+ import com .google .android .material .tabs .TabLayout ;
29+ import com .google .android .material .tabs .TabLayout .Tab ;
3030import io .material .catalog .feature .DemoFragment ;
3131
3232/** A fragment that displays a scrollable tabs demo for the Catalog app. */
Original file line number Diff line number Diff line change 2525import androidx .annotation .LayoutRes ;
2626import androidx .annotation .Nullable ;
2727import androidx .annotation .StringRes ;
28- import com .google .android .material .tabs .TabLayout ;
29- import com .google .android .material .tabs .TabLayout .LabelVisibility ;
30- import com .google .android .material .tabs .TabLayout .OnTabSelectedListener ;
31- import com .google .android .material .tabs .TabLayout .Tab ;
3228import androidx .appcompat .widget .SwitchCompat ;
3329import android .view .LayoutInflater ;
3430import android .view .View ;
4036import android .widget .Spinner ;
4137import androidx .viewpager .widget .ViewPager ;
4238import com .google .android .material .badge .BadgeDrawable ;
39+ import com .google .android .material .tabs .TabLayout ;
40+ import com .google .android .material .tabs .TabLayout .LabelVisibility ;
41+ import com .google .android .material .tabs .TabLayout .OnTabSelectedListener ;
42+ import com .google .android .material .tabs .TabLayout .Tab ;
4343import io .material .catalog .feature .DemoFragment ;
4444import io .material .catalog .feature .DemoUtils ;
4545import java .util .List ;
Original file line number Diff line number Diff line change 2222import androidx .annotation .LayoutRes ;
2323import androidx .annotation .Nullable ;
2424import com .google .android .material .button .MaterialButton ;
25- import com .google .android .material .tabs .TabLayout ;
26- import com .google .android .material .tabs .TabLayout .OnTabSelectedListener ;
27- import com .google .android .material .tabs .TabLayout .Tab ;
2825import android .view .LayoutInflater ;
2926import android .view .View ;
3027import android .view .ViewGroup ;
3128import com .google .android .material .badge .BadgeDrawable ;
29+ import com .google .android .material .tabs .TabLayout ;
30+ import com .google .android .material .tabs .TabLayout .OnTabSelectedListener ;
31+ import com .google .android .material .tabs .TabLayout .Tab ;
3232import io .material .catalog .feature .DemoFragment ;
3333import io .material .catalog .feature .DemoUtils ;
3434import java .util .List ;
Original file line number Diff line number Diff line change 2424import android .os .SystemClock ;
2525import androidx .annotation .LayoutRes ;
2626import androidx .annotation .StringRes ;
27- import com .google .android .material .tabs .TabLayout ;
2827import com .google .android .material .testapp .R ;
2928import com .google .android .material .testutils .Cheeses ;
3029import androidx .coordinatorlayout .widget .CoordinatorLayout ;
3130import androidx .test .filters .LargeTest ;
3231import androidx .test .runner .AndroidJUnit4 ;
32+ import com .google .android .material .tabs .TabLayout ;
3333import org .junit .Test ;
3434import org .junit .runner .RunWith ;
3535
Original file line number Diff line number Diff line change 3737import android .animation .AnimatorListenerAdapter ;
3838import android .annotation .TargetApi ;
3939import android .os .Build ;
40- import com .google .android .material .tabs .TabLayout .Tab ;
4140import com .google .android .material .testapp .R ;
4241import androidx .core .view .ViewCompat ;
4342import androidx .appcompat .app .AppCompatActivity ;
5453import androidx .test .filters .SmallTest ;
5554import androidx .test .rule .ActivityTestRule ;
5655import androidx .test .runner .AndroidJUnit4 ;
56+ import com .google .android .material .tabs .TabLayout .Tab ;
5757import java .util .concurrent .atomic .AtomicInteger ;
5858import org .junit .Rule ;
5959import org .junit .Test ;
Original file line number Diff line number Diff line change 1919import static androidx .test .espresso .matcher .ViewMatchers .isDisplayingAtLeast ;
2020
2121import androidx .annotation .Nullable ;
22- import com .google .android .material .tabs .TabLayout ;
2322import android .view .View ;
2423import androidx .test .espresso .UiController ;
2524import androidx .test .espresso .ViewAction ;
2625import androidx .test .espresso .matcher .ViewMatchers ;
2726import androidx .viewpager .widget .ViewPager ;
27+ import com .google .android .material .tabs .TabLayout ;
2828import org .hamcrest .Matcher ;
2929
3030public class TabLayoutActions {
Original file line number Diff line number Diff line change 2828import androidx .annotation .MenuRes ;
2929import androidx .annotation .Nullable ;
3030import com .google .android .material .appbar .CollapsingToolbarLayout ;
31- import com .google .android .material .tabs .TabLayout ;
3231import androidx .core .view .ViewCompat ;
3332import androidx .core .widget .TextViewCompat ;
3433import android .util .SparseArray ;
4039import androidx .test .espresso .ViewAction ;
4140import com .google .android .material .expandable .ExpandableWidget ;
4241import com .google .android .material .navigation .NavigationView ;
42+ import com .google .android .material .tabs .TabLayout ;
4343import org .hamcrest .Matcher ;
4444
4545public class TestUtilsActions {
You can’t perform that action at this time.
0 commit comments