Devlight / NavigationTabStrip

Navigation tab strip with smooth interaction.
Apache License 2.0
2.24k stars 313 forks source link

NavigationTabStrip inside HorizontalScrollView #43

Open ghost opened 6 years ago

ghost commented 6 years ago

Is it possible to put NavigationTabStrip inside HorizontalScrollView? I tried to do this, but NavigationTabStrip is not displayed.

`<HorizontalScrollView
   android:id="@+id/a"
   android:layout_width="match_parent"
   android:layout_height="wrap_content">

      <com.gigamole.navigationtabstrip.NavigationTabStrip
         android:layout_width="50dp"
         android:layout_height="50dp"
         app:nts_active_color="@color/text_color_nav"
         app:nts_animation_duration="200"
         app:nts_color="@color/statusbar_color"
         app:nts_corners_radius="1.5dp"
         app:nts_factor="1"
         app:nts_gravity="bottom"
         app:nts_inactive_color="#c4c4c4"
         app:nts_size="15sp"
         app:nts_titles="@array/coils_count"
         app:nts_type="line"
         app:nts_weight="2dp" />
     </HorizontalScrollView>`

I need to make a scrollable NavigationTabStrip with many elements. Is it possible to implement it?