Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      3               android:orientation="vertical"
      4               android:layout_width="fill_parent"
      5               android:layout_height="fill_parent"
      6         >
      7 
      8     <com.androidplot.xy.XYPlot
      9             android:id="@+id/xyRegionExamplePlot"
     10             android:layout_width="fill_parent"
     11             android:layout_height="fill_parent"
     12             androidPlot.title="Batting Practice Stats"
     13             androidPlot.domainLabel="Pitch #"
     14             androidPlot.rangeLabel="Distance"
     15             androidPlot.titleWidget.labelPaint.textSize="@dimen/title_font_size"
     16             androidPlot.domainLabelWidget.labelPaint.textSize="@dimen/domain_label_font_size"
     17             androidPlot.rangeLabelWidget.labelPaint.textSize="@dimen/range_label_font_size"
     18             androidPlot.graphWidget.marginTop="20dp"
     19             androidPlot.graphWidget.marginLeft="35dp"
     20             androidPlot.graphWidget.marginBottom="25dp"
     21             androidPlot.graphWidget.marginRight="10dp"
     22             androidPlot.graphWidget.rangeLabelPaint.textSize="@dimen/range_tick_label_font_size"
     23             androidPlot.graphWidget.rangeOriginLabelPaint.textSize="@dimen/range_tick_label_font_size"
     24             androidPlot.graphWidget.domainLabelPaint.textSize="@dimen/domain_tick_label_font_size"
     25             androidPlot.graphWidget.domainOriginLabelPaint.textSize="@dimen/domain_tick_label_font_size"
     26             androidPlot.legendWidget.textPaint.textSize="12dp"
     27             androidPlot.legendWidget.iconSizeMetrics.heightMetric.value="15dp"
     28             androidPlot.legendWidget.iconSizeMetrics.widthMetric.value="15dp"
     29             androidPlot.legendWidget.heightMetric.value="40dp"
     30             androidPlot.legendWidget.widthMetric.value="40dp"
     31             android:layout_weight="1"
     32             />
     33 
     34     <LinearLayout
     35             android:layout_height="wrap_content"
     36             android:layout_width="wrap_content"
     37             android:layout_gravity="center"
     38             android:orientation="horizontal">
     39         <CheckBox android:id="@+id/s1CheckBox"
     40                   android:text="Tim"
     41                   android:checked="true"
     42                   android:layout_height="wrap_content"
     43                   android:layout_width="fill_parent"/>
     44         <CheckBox android:id="@+id/s2CheckBox"
     45                   android:text="Nick"
     46                   android:checked="true"
     47                   android:layout_height="wrap_content"
     48                   android:layout_width="fill_parent"/>
     49         <CheckBox android:id="@+id/s3CheckBox"
     50                   android:text="Joe"
     51                   android:checked="true"
     52                   android:layout_height="wrap_content"
     53                   android:layout_width="fill_parent"/>
     54         <CheckBox android:id="@+id/s4CheckBox"
     55                   android:text="James"
     56                   android:checked="true"
     57                   android:layout_height="wrap_content"
     58                   android:layout_width="fill_parent"/>
     59     </LinearLayout>
     60 
     61     <LinearLayout
     62             android:layout_height="wrap_content"
     63             android:layout_width="wrap_content"
     64             android:layout_gravity="center"
     65             android:orientation="horizontal">
     66         <CheckBox android:id="@+id/r1CheckBox"
     67                   android:text="R1"
     68                   android:checked="true"
     69                   android:layout_height="wrap_content"
     70                   android:layout_width="fill_parent"/>
     71         <CheckBox android:id="@+id/r2CheckBox"
     72                   android:text="R2"
     73                   android:checked="true"
     74                   android:layout_height="wrap_content"
     75                   android:layout_width="fill_parent"/>
     76         <CheckBox android:id="@+id/r3CheckBox"
     77                   android:text="R3"
     78                   android:checked="true"
     79                   android:layout_height="wrap_content"
     80                   android:layout_width="fill_parent"/>
     81         <CheckBox android:id="@+id/r4CheckBox"
     82                   android:text="R4"
     83                   android:checked="true"
     84                   android:layout_height="wrap_content"
     85                   android:layout_width="fill_parent"/>
     86         <CheckBox android:id="@+id/r5CheckBox"
     87                   android:text="R5"
     88                   android:checked="true"
     89                   android:layout_height="wrap_content"
     90                   android:layout_width="fill_parent"/>
     91     </LinearLayout>
     92 
     93 </LinearLayout>
     94 
     95