Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2010 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     17     android:orientation="vertical"
     18     android:layout_width="match_parent"
     19     android:layout_height="match_parent"
     20     android:id="@+id/container"
     21     android:splitMotionEvents="true"
     22     >
     23     <LinearLayout
     24         android:orientation="horizontal"
     25         android:layout_width="match_parent"
     26         android:layout_height="wrap_content"
     27         android:layout_marginTop="20dip"
     28         android:splitMotionEvents="true"
     29         >
     30         <TextView
     31             android:layout_width="wrap_content"
     32             android:layout_height="wrap_content"
     33             android:paddingLeft="5dip"
     34             android:paddingRight="5dip"
     35             android:textStyle="bold"
     36             android:text="TX"
     37             />
     38         <SeekBar
     39             android:orientation="horizontal"
     40             android:layout_weight="1"
     41             android:layout_width="match_parent"
     42             android:layout_height="wrap_content"
     43             android:id="@+id/translationX"
     44         />
     45         <TextView
     46             android:layout_width="wrap_content"
     47             android:layout_height="wrap_content"
     48             android:paddingLeft="15dip"
     49             android:paddingRight="5dip"
     50             android:textStyle="bold"
     51             android:text="TY"
     52             />
     53         <SeekBar
     54             android:orientation="horizontal"
     55             android:layout_weight="1"
     56             android:layout_width="match_parent"
     57             android:layout_height="wrap_content"
     58             android:id="@+id/translationY"
     59         />
     60     </LinearLayout>
     61     <LinearLayout
     62         android:orientation="horizontal"
     63         android:layout_width="match_parent"
     64         android:layout_height="wrap_content"
     65         android:layout_marginTop="20dip"
     66         android:splitMotionEvents="true"
     67         >
     68         <TextView
     69             android:layout_width="wrap_content"
     70             android:layout_height="wrap_content"
     71             android:paddingLeft="5dip"
     72             android:paddingRight="5dip"
     73             android:textStyle="bold"
     74             android:text="SX"
     75             />
     76         <SeekBar
     77             android:orientation="horizontal"
     78             android:layout_weight="1"
     79             android:layout_width="wrap_content"
     80             android:layout_height="wrap_content"
     81             android:id="@+id/scaleX"
     82         />
     83         <TextView
     84             android:layout_width="wrap_content"
     85             android:layout_height="wrap_content"
     86             android:paddingLeft="15dip"
     87             android:paddingRight="5dip"
     88             android:textStyle="bold"
     89             android:text="SY"
     90             />
     91         <SeekBar
     92             android:orientation="horizontal"
     93             android:layout_weight="1"
     94             android:layout_width="wrap_content"
     95             android:layout_height="wrap_content"
     96             android:id="@+id/scaleY"
     97         />
     98     </LinearLayout>
     99     <LinearLayout
    100         android:orientation="horizontal"
    101         android:layout_width="match_parent"
    102         android:layout_height="wrap_content"
    103         android:layout_marginTop="20dip"
    104         android:splitMotionEvents="true"
    105         >
    106         <TextView
    107             android:layout_width="wrap_content"
    108             android:layout_height="wrap_content"
    109             android:paddingLeft="5dip"
    110             android:paddingRight="5dip"
    111             android:textStyle="bold"
    112             android:text="X"
    113             />
    114         <SeekBar
    115             android:orientation="horizontal"
    116             android:layout_weight="1"
    117             android:layout_width="match_parent"
    118             android:layout_height="wrap_content"
    119             android:id="@+id/rotationX"
    120         />
    121         <TextView
    122             android:layout_width="wrap_content"
    123             android:layout_height="wrap_content"
    124             android:paddingLeft="15dip"
    125             android:paddingRight="5dip"
    126             android:textStyle="bold"
    127             android:text="Y"
    128             />
    129         <SeekBar
    130             android:orientation="horizontal"
    131             android:layout_weight="1"
    132             android:layout_width="match_parent"
    133             android:layout_height="wrap_content"
    134             android:id="@+id/rotationY"
    135         />
    136         <TextView
    137             android:layout_width="wrap_content"
    138             android:layout_height="wrap_content"
    139             android:paddingLeft="15dip"
    140             android:paddingRight="5dip"
    141             android:textStyle="bold"
    142             android:text="Z"
    143             />
    144         <SeekBar
    145             android:orientation="horizontal"
    146             android:layout_weight="1"
    147             android:layout_width="match_parent"
    148             android:layout_height="wrap_content"
    149             android:id="@+id/rotationZ"
    150         />
    151     </LinearLayout>
    152     <Button
    153         android:layout_width="200dip"
    154         android:layout_height="150dip"
    155         android:layout_marginLeft="50dip"
    156         android:layout_marginTop="50dip"
    157         android:text="Rotating Button"
    158         android:id="@+id/rotatingButton"
    159         />
    160 </LinearLayout>
    161