Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18             android:orientation="vertical"
     19             android:layout_width="fill_parent"
     20             android:layout_height="fill_parent"
     21             android:id="@+id/toplevel">
     22 
     23     <Spinner
     24         android:id="@+id/image_size"
     25         android:layout_width="fill_parent"
     26         android:layout_height="wrap_content"/>
     27 
     28     <LinearLayout
     29         android:orientation="horizontal"
     30         android:layout_width="fill_parent" android:layout_height="wrap_content">
     31         <ToggleButton android:id="@+id/io_control"
     32              android:layout_width="wrap_content"
     33              android:layout_height="wrap_content"
     34              android:textColorLink="@android:color/holo_blue_light"
     35              android:textOff="@string/io_control_on"
     36              android:textOn="@string/io_control_off"
     37              android:textSize="12dp"/>
     38         <ToggleButton
     39              android:id="@+id/length_control"
     40              android:layout_width="wrap_content"
     41              android:layout_height="wrap_content"
     42              android:textColorLink="@android:color/holo_blue_light"
     43              android:textOff="@string/length_long"
     44              android:textOn="@string/length_short"
     45              android:textSize="12dp"/>
     46         <ToggleButton
     47              android:id="@+id/background_work"
     48              android:layout_width="wrap_content"
     49              android:layout_height="wrap_content"
     50              android:textColorLink="@android:color/holo_blue_light"
     51              android:textOff="@string/dvfs_on"
     52              android:textOn="@string/dvfs_off"
     53              android:textSize="12dp"/>
     54         <ToggleButton
     55              android:id="@+id/pause"
     56              android:layout_width="wrap_content"
     57              android:layout_height="wrap_content"
     58              android:textColorLink="@android:color/holo_blue_light"
     59              android:textOff="@string/pause_on"
     60              android:textOn="@string/pause_off"
     61              android:textSize="12dp"/>
     62     </LinearLayout>
     63 
     64     <ListView
     65         android:id="@+id/test_list"
     66         android:layout_weight="0.2"
     67         android:layout_width="fill_parent"
     68         android:layout_height="wrap_content"/>
     69 
     70     <LinearLayout
     71         android:orientation="horizontal"
     72         android:layout_width="fill_parent" android:layout_height="wrap_content">
     73         <Button
     74          android:id="@+id/select_all"
     75          android:layout_width="wrap_content"
     76          android:layout_height="wrap_content"
     77          android:text="@string/select_all"
     78          android:textSize="12dp"
     79          android:onClick="btnSelAll"/>
     80         <Button
     81          android:id="@+id/select_none"
     82          android:layout_width="wrap_content"
     83          android:layout_height="wrap_content"
     84          android:text="@string/select_none"
     85          android:textSize="12dp"
     86          android:onClick="btnSelNone"/>
     87         <Button
     88          android:id="@+id/select_hp"
     89          android:layout_width="wrap_content"
     90          android:layout_height="wrap_content"
     91          android:text="@string/select_hp"
     92          android:textSize="12dp"
     93          android:onClick="btnSelHp"/>
     94         <Button
     95          android:id="@+id/select_lp"
     96          android:layout_width="wrap_content"
     97          android:layout_height="wrap_content"
     98          android:text="@string/select_lp"
     99          android:textSize="12dp"
    100          android:onClick="btnSelLp"/>
    101         <Button
    102          android:id="@+id/select_intrinsics"
    103          android:layout_width="wrap_content"
    104          android:layout_height="wrap_content"
    105          android:text="@string/select_intrinsics"
    106          android:textSize="12dp"
    107          android:onClick="btnSelIntrinsic"/>
    108     </LinearLayout>
    109 
    110     <Button
    111          android:id="@+id/run"
    112          android:layout_width="wrap_content"
    113          android:layout_height="wrap_content"
    114          android:text="@string/benchmark"
    115          android:onClick="btnRun"/>
    116 
    117     <TextView
    118         android:id="@+id/results"
    119         android:layout_width="match_parent"
    120         android:layout_height="wrap_content"
    121         android:textSize="8pt"
    122         android:layout_marginLeft="10sp"
    123         android:layout_marginTop="15sp"
    124         android:text="@string/results"/>
    125 
    126 </LinearLayout>
    127 
    128