Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2012 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     <SurfaceView
     23         android:id="@+id/surface"
     24         android:layout_width="1dip"
     25         android:layout_height="1dip" />
     26     <ScrollView
     27         android:layout_width="fill_parent"
     28         android:layout_height="fill_parent">
     29             <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     30                 android:orientation="vertical"
     31                 android:layout_width="fill_parent"
     32                 android:layout_height="fill_parent">
     33             <ImageView
     34                 android:id="@+id/display"
     35                 android:layout_width="wrap_content"
     36                 android:layout_height="wrap_content" />
     37             <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     38                 android:orientation="horizontal"
     39                 android:layout_width="fill_parent"
     40                 android:layout_height="wrap_content">
     41                     <Button
     42                         android:layout_width="wrap_content"
     43                         android:layout_height="wrap_content"
     44                         android:text="@string/benchmark"
     45                         android:onClick="benchmark"/>
     46                     <TextView
     47                         android:id="@+id/benchmarkText"
     48                         android:layout_width="match_parent"
     49                         android:layout_height="wrap_content"
     50                         android:textSize="8pt"
     51                         android:text="@string/saturation"/>
     52             </LinearLayout>
     53             <TextView
     54                 android:id="@+id/inSaturationText"
     55                 android:layout_width="match_parent"
     56                 android:layout_height="wrap_content"
     57                 android:textSize="8pt"
     58                 android:layout_marginLeft="10sp"
     59                 android:layout_marginTop="15sp"
     60                 android:text="@string/saturation"/>
     61              <SeekBar
     62                 android:id="@+id/inSaturation"
     63                 android:layout_marginLeft="10sp"
     64                 android:layout_marginRight="10sp"
     65                 android:layout_width="match_parent"
     66                 android:layout_height="wrap_content"/>
     67             <TextView
     68                 android:id="@+id/outWhiteText"
     69                 android:layout_width="match_parent"
     70                 android:layout_height="wrap_content"
     71                 android:layout_marginLeft="10sp"
     72                 android:layout_marginTop="15sp"
     73                 android:textSize="8pt"
     74                 android:text="@string/out_white"/>
     75             <SeekBar
     76                 android:id="@+id/outWhite"
     77                 android:layout_marginLeft="10sp"
     78                 android:layout_marginRight="10sp"
     79                 android:layout_width="match_parent"
     80                 android:layout_height="wrap_content"/>
     81             <TextView
     82                 android:id="@+id/inWhiteText"
     83                 android:layout_width="match_parent"
     84                 android:layout_height="wrap_content"
     85                 android:textSize="8pt"
     86                 android:layout_marginLeft="10sp"
     87                 android:layout_marginTop="15sp"
     88                 android:text="@string/in_white"/>
     89             <SeekBar
     90                 android:id="@+id/inWhite"
     91                 android:layout_marginLeft="10sp"
     92                 android:layout_marginRight="10sp"
     93                 android:layout_width="match_parent"
     94                 android:layout_height="wrap_content"/>
     95             <TextView
     96                 android:id="@+id/outBlackText"
     97                 android:layout_width="match_parent"
     98                 android:layout_height="wrap_content"
     99                 android:textSize="8pt"
    100                 android:layout_marginLeft="10sp"
    101                 android:layout_marginTop="15sp"
    102                 android:text="@string/out_black"/>
    103             <SeekBar
    104                 android:id="@+id/outBlack"
    105                 android:layout_marginLeft="10sp"
    106                 android:layout_marginRight="10sp"
    107                 android:layout_width="match_parent"
    108                 android:layout_height="wrap_content"/>
    109             <TextView
    110                 android:id="@+id/inBlackText"
    111                 android:layout_width="match_parent"
    112                 android:layout_height="wrap_content"
    113                 android:textSize="8pt"
    114                 android:layout_marginLeft="10sp"
    115                 android:layout_marginTop="15sp"
    116                 android:text="@string/in_black"/>
    117             <SeekBar
    118                 android:id="@+id/inBlack"
    119                 android:layout_marginLeft="10sp"
    120                 android:layout_marginRight="10sp"
    121                 android:layout_width="match_parent"
    122                 android:layout_height="wrap_content"/>
    123             <TextView
    124                 android:id="@+id/inGammaText"
    125                 android:layout_width="match_parent"
    126                 android:layout_height="wrap_content"
    127                 android:textSize="8pt"
    128                 android:layout_marginLeft="10sp"
    129                 android:layout_marginTop="15sp"
    130                 android:text="@string/gamma"/>
    131             <SeekBar
    132                 android:id="@+id/inGamma"
    133                 android:layout_marginLeft="10sp"
    134                 android:layout_marginRight="10sp"
    135                 android:layout_width="match_parent"
    136                 android:layout_height="wrap_content"/>
    137             </LinearLayout>
    138     </ScrollView>
    139 </LinearLayout>
    140 
    141