Xml文件  |  74行  |  3.49 KB

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:orientation="vertical"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent">

    <ScrollView android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_weight="1">
        <LinearLayout 
                      android:orientation="vertical"
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content">
            <Button android:id="@+id/startSimplePieExButton"
                    style="@style/toc_button"
                    android:text="A Pie Chart"/>
            <Button android:id="@+id/startSimpleXYExButton"
                    style="@style/toc_button"
                    android:text="A Simple XY Plot"/>
            <Button android:id="@+id/startDynamicXYExButton"
                    style="@style/toc_button"
                    android:text="A Dynamic XY Plot"/>
            <Button android:id="@+id/startOrSensorExButton"
                    style="@style/toc_button"
                    android:text="Realtime Orientation Sensor Plot"/>
            <Button android:id="@+id/startTimeSeriesExButton"
                    style="@style/toc_button"
                    android:text="@string/ts_title"/>
            <Button android:id="@+id/startStepChartExButton"
                    style="@style/toc_button"
                    android:text="Step Chart"
                    />
            <Button android:id="@+id/startScrollZoomButton"
                    style="@style/toc_button"
                    android:text="Scroll and Zoom"
                    />
            <Button android:id="@+id/startBarPlotExButton"
                    style="@style/toc_button"
                    android:text="Bar Plot"/>
            <Button android:id="@+id/startXyScatterExButton"
                    style="@style/toc_button"
                    android:text="XY Scatter"
                    android:enabled="false"/>
            <Button android:id="@+id/startXyScatterLineExButton"
                    style="@style/toc_button"
                    android:text="XY Scatter With Lines"
                    android:enabled="false"/>
            <Button android:id="@+id/startXyRegionExampleButton"
                    style="@style/toc_button"
                    android:text="XYRegion Example"
                    android:enabled="true"/>
            <Button android:id="@+id/startXyListViewExButton"
                    style="@style/toc_button"
                    android:text="ListView of XYPlots"
                    android:enabled="true"/>
            <Button android:id="@+id/startDualScaleExampleButton"
                    style="@style/toc_button"
                    android:text="Dual Scale Example"
                    android:enabled="true"/>
            <Button android:id="@+id/startXYPlotWithBgImgExample"
                    style="@style/toc_button"
                    android:text="XY Background Example"
                    android:enabled="true"/>
            </LinearLayout>
    </ScrollView>
    <TextView android:id="@+id/text"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:autoLink="web"
              android:gravity="center"
              android:text="http://androidplot.com"/>
</LinearLayout>