Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
77 lines (64 sloc) 3.18 KB
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_spring_indicator"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
tools:context="eu.dubedout.vincent.viewpagerindicatorslibraries.components.springindicatoractivity.SpringIndicatorActivity">
<TextView
style="@style/pager_indicator_title"
android:text="SpringIndicator (default Theme)" />
<LinearLayout style="@style/pager_container">
<github.chenupt.springindicator.SpringIndicator
android:id="@+id/activity_spring_indicator_indicator_default"
android:layout_width="match_parent"
android:layout_height="60dp" />
<android.support.v4.view.ViewPager
android:id="@+id/activity_spring_indicator_viewpager_default"
android:layout_width="match_parent"
android:layout_height="50dp" />
</LinearLayout>
<TextView
style="@style/pager_indicator_title"
android:text="SpringIndicator (Themed)" />
<LinearLayout style="@style/pager_container">
<github.chenupt.springindicator.SpringIndicator
android:id="@+id/activity_spring_indicator_indicator_themed"
android:layout_width="match_parent"
android:layout_height="80dp"
app:siIndicatorColor="@color/colorPrimary"
app:siRadiusMax="20dp"
app:siRadiusMin="10dp"
app:siSelectedTextColor="@android:color/white"
app:siTextColor="@color/colorPrimary" />
<android.support.v4.view.ViewPager
android:id="@+id/activity_spring_indicator_viewpager_themed"
android:layout_width="match_parent"
android:layout_height="50dp" />
</LinearLayout>
<TextView
style="@style/pager_indicator_title"
android:text="SpringIndicator (Themed) without title" />
<LinearLayout style="@style/pager_container"
android:gravity="center_horizontal">
<github.chenupt.springindicator.SpringIndicator
android:id="@+id/activity_spring_indicator_indicator_themed_without_title"
android:layout_width="150dp"
android:layout_height="40dp"
app:siIndicatorColor="@color/colorPrimary"
app:siRadiusMax="10dp"
app:siRadiusMin="4dp"
app:siSelectedTextColor="@android:color/white"
app:siTextColor="@color/colorPrimary" />
<android.support.v4.view.ViewPager
android:id="@+id/activity_spring_indicator_viewpager_themed_without_title"
android:layout_width="match_parent"
android:layout_height="30dp" />
</LinearLayout>
</LinearLayout>
</ScrollView>
You can’t perform that action at this time.