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     <ScrollView
     23         android:layout_width="fill_parent"
     24         android:layout_height="fill_parent">
     25             <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     26                 android:orientation="vertical"
     27                 android:layout_width="fill_parent"
     28                 android:layout_height="fill_parent">
     29             <TextView
     30                         android:layout_width="match_parent"
     31                         android:layout_height="wrap_content"
     32                         android:textSize="8pt"
     33                         android:text="@string/wraplinear"/>
     34             <TextureView
     35                 android:id="@+id/display"
     36                 android:layout_width="256sp"
     37                 android:layout_height="256sp" />
     38             <TextView
     39                         android:layout_width="match_parent"
     40                         android:layout_height="wrap_content"
     41                         android:textSize="8pt"
     42                         android:text="@string/clamplinear"/>
     43             <TextureView
     44                 android:id="@+id/display2"
     45                 android:layout_width="256sp"
     46                 android:layout_height="256sp" />
     47             <TextView
     48                         android:layout_width="match_parent"
     49                         android:layout_height="wrap_content"
     50                         android:textSize="8pt"
     51                         android:text="@string/wrapnearest"/>
     52             <TextureView
     53                 android:id="@+id/display3"
     54                 android:layout_width="256sp"
     55                 android:layout_height="256sp" />
     56             <TextView
     57                         android:layout_width="match_parent"
     58                         android:layout_height="wrap_content"
     59                         android:textSize="8pt"
     60                         android:text="@string/clampnearest"/>
     61             <TextureView
     62                 android:id="@+id/display4"
     63                 android:layout_width="256sp"
     64                 android:layout_height="256sp" />
     65             <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     66                 android:orientation="horizontal"
     67                 android:layout_width="fill_parent"
     68                 android:layout_height="wrap_content">
     69                     <Button
     70                         android:layout_width="wrap_content"
     71                         android:layout_height="wrap_content"
     72                         android:text="@string/benchmark"
     73                         android:onClick="benchmark"/>
     74                     <TextView
     75                         android:id="@+id/benchmarkText"
     76                         android:layout_width="match_parent"
     77                         android:layout_height="wrap_content"
     78                         android:textSize="8pt"
     79                         android:text="@string/benchmark"/>
     80             </LinearLayout>
     81             </LinearLayout>
     82     </ScrollView>
     83 </LinearLayout>
     84 
     85