diff options
Diffstat (limited to 'sample/src/main/res/layout/main.xml')
-rw-r--r-- | sample/src/main/res/layout/main.xml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/sample/src/main/res/layout/main.xml b/sample/src/main/res/layout/main.xml new file mode 100644 index 0000000..5205b60 --- /dev/null +++ b/sample/src/main/res/layout/main.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="utf-8"?> +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" style="@style/fill"> + + <LinearLayout android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <LinearLayout + android:layout_width="300dp" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_marginTop="10dp" + android:layout_marginBottom="10dp" + android:orientation="vertical"> + + <View style="@style/indexDivider"/> + <TextView style="@style/indexLink" android:id="@+id/basicFeatures" android:text="@string/basic.link"/> + <View style="@style/indexDivider"/> + <TextView style="@style/indexLink" android:id="@+id/imageDisplay" android:text="@string/display.link"/> + <View style="@style/indexDivider"/> + <TextView style="@style/indexLink" android:id="@+id/eventHandling" android:text="@string/event.link"/> + <View style="@style/indexDivider"/> + <TextView style="@style/indexLink" android:id="@+id/advancedEventHandling" android:text="@string/advancedevent.link"/> + <View style="@style/indexDivider"/> + <TextView style="@style/indexLink" android:id="@+id/viewPagerGalleries" android:text="@string/pager.link"/> + <View style="@style/indexDivider"/> + <TextView style="@style/indexLink" android:id="@+id/animation" android:text="@string/animation.link"/> + <View style="@style/indexDivider"/> + <TextView style="@style/indexLink" android:id="@+id/extension" android:text="@string/extension.link"/> + <View style="@style/indexDivider"/> + <TextView style="@style/indexLink" android:id="@+id/configuration" android:text="@string/configuration.link"/> + <View style="@style/indexDivider"/> + + </LinearLayout> + + <Button + android:id="@+id/github" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_margin="10dp" + android:layout_gravity="center_horizontal" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:textSize="16sp" + android:text="@string/main.viewongithub"/> + + </LinearLayout> +</ScrollView> |