Home | History | Annotate | Download | only in layout-w1280dp-land
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3   Copyright (C) 2009 The Android Open Source Project
      4 
      5   Licensed under the Apache License, Version 2.0 (the "License");
      6   you may not use this file except in compliance with the License.
      7   You may obtain a copy of the License at
      8 
      9      http://www.apache.org/licenses/LICENSE-2.0
     10 
     11   Unless required by applicable law or agreed to in writing, software
     12   distributed under the License is distributed on an "AS IS" BASIS,
     13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14   See the License for the specific language governing permissions and
     15   limitations under the License.
     16 -->
     17 
     18 <com.android.videoeditor.widgets.EditorRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:id="@+id/editor_project_view"
     20     android:layout_width="match_parent"
     21     android:layout_height="match_parent">
     22 
     23     <RelativeLayout
     24         android:layout_width="300dip"
     25         android:layout_height="300dip"
     26         android:layout_alignParentLeft="true"
     27         android:layout_marginTop="30dip"
     28         android:layout_marginLeft="-60dip"
     29         android:background="@drawable/buttons_background_zoom">
     30         <com.android.videoeditor.widgets.ZoomControl android:id="@+id/editor_zoom"
     31             android:layout_width="match_parent"
     32             android:layout_height="match_parent"
     33             android:clickable="true"/>
     34     </RelativeLayout>
     35     <RelativeLayout android:id="@+id/playback_buttons"
     36         android:layout_width="300dip"
     37         android:layout_height="300dip"
     38         android:layout_alignParentRight="true"
     39         android:layout_marginTop="30dip"
     40         android:layout_marginRight="-60dip"
     41         android:background="@drawable/buttons_background">
     42          <ImageButton android:id="@+id/editor_prev"
     43             android:onClick="onClickHandler"
     44             android:layout_width="wrap_content"
     45             android:layout_height="wrap_content"
     46             android:layout_alignParentTop="true"
     47             android:layout_marginTop="18dip"
     48             android:layout_centerHorizontal="true"
     49             android:src="@drawable/btn_playback_ic_prev"
     50             android:background="@drawable/background_selector"/>
     51         <ImageButton android:id="@+id/editor_rewind"
     52             android:onClick="onClickHandler"
     53             android:layout_width="wrap_content"
     54             android:layout_height="wrap_content"
     55             android:layout_centerVertical="true"
     56             android:layout_marginLeft="20dip"
     57             android:src="@drawable/btn_playback_ic_rev"
     58             android:background="@drawable/background_selector"/>
     59         <ImageButton android:id="@+id/editor_play"
     60             android:onClick="onClickHandler"
     61             android:layout_width="wrap_content"
     62             android:layout_height="wrap_content"
     63             android:layout_centerHorizontal="true"
     64             android:layout_centerVertical="true"
     65             android:src="@drawable/btn_playback_ic_play"
     66             android:background="@drawable/background_selector"/>
     67         <ImageButton android:id="@+id/editor_next"
     68             android:onClick="onClickHandler"
     69             android:layout_width="wrap_content"
     70             android:layout_height="wrap_content"
     71             android:layout_alignParentBottom="true"
     72             android:layout_centerHorizontal="true"
     73             android:layout_marginBottom="18dip"
     74             android:src="@drawable/btn_playback_ic_next"
     75             android:background="@drawable/background_selector"/>
     76     </RelativeLayout>
     77 
     78     <TextView android:id="@+id/editor_time"
     79         android:layout_width="wrap_content"
     80         android:layout_height="wrap_content"
     81         android:layout_marginRight="40dip"
     82         android:layout_below="@id/playback_buttons"
     83         android:layout_alignParentRight="true"
     84         android:layout_marginTop="-10dip"
     85         android:singleLine="true"
     86         android:text="@string/editor_zero_time_stamp"
     87         android:textSize="24sp"
     88         android:textStyle="bold"
     89         android:textColor="@color/orange"/>
     90 
     91     <include layout="@layout/timeline_layout"/>
     92 
     93     <FrameLayout android:id="@+id/video_frame_view"
     94         android:layout_width="wrap_content"
     95         android:layout_height="wrap_content"
     96         android:layout_margin="10dip"
     97         android:layout_centerHorizontal="true"
     98         android:layout_alignParentTop="true"
     99         android:padding="5dip"
    100         android:background="@drawable/surface_background">
    101         <com.android.videoeditor.widgets.PreviewSurfaceView android:id="@+id/video_view"
    102             android:layout_width="0dip"
    103             android:layout_height="340dip"/>
    104         <ImageView android:id="@+id/overlay_layer"
    105             android:layout_width="0dip"
    106             android:layout_height="340dip"/>
    107     </FrameLayout>
    108 </com.android.videoeditor.widgets.EditorRelativeLayout>
    109