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     <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             <view class="com.android.rs.image2.ImageProcessingActivity2$SizedTV"
     34                 android:id="@+id/display2"
     35                 android:layout_width="wrap_content"
     36                 android:layout_height="wrap_content" />
     37             <ImageView
     38                 android:id="@+id/display"
     39                 android:layout_width="wrap_content"
     40                 android:layout_height="wrap_content" />
     41             <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     42                 android:orientation="horizontal"
     43                 android:layout_width="wrap_content"
     44                 android:layout_height="wrap_content">
     45             </LinearLayout>
     46 
     47             <Spinner
     48                 android:id="@+id/spinner1"
     49                 android:layout_width="wrap_content"
     50                 android:layout_height="wrap_content"/>
     51             <TextView
     52                 android:id="@+id/slider1Text"
     53                 android:layout_width="match_parent"
     54                 android:layout_height="wrap_content"
     55                 android:textSize="8pt"
     56                 android:layout_marginLeft="10sp"
     57                 android:layout_marginTop="15sp"
     58                 android:text="@string/saturation"/>
     59              <SeekBar
     60                 android:id="@+id/slider1"
     61                 android:layout_marginLeft="10sp"
     62                 android:layout_marginRight="10sp"
     63                 android:layout_width="match_parent"
     64                 android:layout_height="wrap_content"/>
     65             <TextView
     66                 android:id="@+id/slider2Text"
     67                 android:layout_width="match_parent"
     68                 android:layout_height="wrap_content"
     69                 android:textSize="8pt"
     70                 android:layout_marginLeft="10sp"
     71                 android:layout_marginTop="15sp"
     72                 android:text="@string/gamma"/>
     73             <SeekBar
     74                 android:id="@+id/slider2"
     75                 android:layout_marginLeft="10sp"
     76                 android:layout_marginRight="10sp"
     77                 android:layout_width="match_parent"
     78                 android:layout_height="wrap_content"/>
     79             <TextView
     80                 android:id="@+id/slider3Text"
     81                 android:layout_width="match_parent"
     82                 android:layout_height="wrap_content"
     83                 android:layout_marginLeft="10sp"
     84                 android:layout_marginTop="15sp"
     85                 android:textSize="8pt"
     86                 android:text="@string/out_white"/>
     87             <SeekBar
     88                 android:id="@+id/slider3"
     89                 android:layout_marginLeft="10sp"
     90                 android:layout_marginRight="10sp"
     91                 android:layout_width="match_parent"
     92                 android:layout_height="wrap_content"/>
     93             <TextView
     94                 android:id="@+id/slider4Text"
     95                 android:layout_width="match_parent"
     96                 android:layout_height="wrap_content"
     97                 android:textSize="8pt"
     98                 android:layout_marginLeft="10sp"
     99                 android:layout_marginTop="15sp"
    100                 android:text="@string/in_white"/>
    101             <SeekBar
    102                 android:id="@+id/slider4"
    103                 android:layout_marginLeft="10sp"
    104                 android:layout_marginRight="10sp"
    105                 android:layout_width="match_parent"
    106                 android:layout_height="wrap_content"/>
    107             <TextView
    108                 android:id="@+id/slider5Text"
    109                 android:layout_width="match_parent"
    110                 android:layout_height="wrap_content"
    111                 android:textSize="8pt"
    112                 android:layout_marginLeft="10sp"
    113                 android:layout_marginTop="15sp"
    114                 android:text="@string/in_white"/>
    115             <SeekBar
    116                 android:id="@+id/slider5"
    117                 android:layout_marginLeft="10sp"
    118                 android:layout_marginRight="10sp"
    119                 android:layout_width="match_parent"
    120                 android:layout_height="wrap_content"/>
    121             </LinearLayout>
    122     </ScrollView>
    123 </LinearLayout>
    124 
    125