Home | History | Annotate | Download | only in layout-w800dp-port
      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     <include layout="@layout/timeline_layout"/>
     24 
     25     <FrameLayout android:id="@+id/video_frame_view"
     26         android:layout_width="wrap_content"
     27         android:layout_height="wrap_content"
     28         android:layout_margin="10dip"
     29         android:layout_centerHorizontal="true"
     30         android:padding="5dip"
     31         android:background="@drawable/surface_background">
     32         <com.android.videoeditor.widgets.PreviewSurfaceView android:id="@+id/video_view"
     33             android:layout_width="0dip"
     34             android:layout_height="430dip"/>
     35         <ImageView android:id="@+id/overlay_layer"
     36             android:layout_width="0dip"
     37             android:layout_height="430dip"/>
     38     </FrameLayout>
     39 
     40     <RelativeLayout
     41         android:layout_width="300dip"
     42         android:layout_height="300dip"
     43         android:layout_alignParentLeft="true"
     44         android:layout_below="@id/video_frame_view"
     45         android:layout_marginLeft="-60dip"
     46         android:background="@drawable/buttons_background_zoom">
     47         <com.android.videoeditor.widgets.ZoomControl android:id="@+id/editor_zoom"
     48             android:layout_width="match_parent"
     49             android:layout_height="match_parent"
     50             android:clickable="true"/>
     51     </RelativeLayout>
     52 
     53     <RelativeLayout android:id="@+id/playback_buttons"
     54         android:layout_width="300dip"
     55         android:layout_height="300dip"
     56         android:layout_below="@id/video_frame_view"
     57         android:layout_alignParentRight="true"
     58         android:layout_marginRight="-60dip"
     59         android:background="@drawable/buttons_background">
     60          <ImageButton android:id="@+id/editor_prev"
     61             android:onClick="onClickHandler"
     62             android:layout_width="wrap_content"
     63             android:layout_height="wrap_content"
     64             android:layout_alignParentTop="true"
     65             android:layout_marginTop="18dip"
     66             android:layout_centerHorizontal="true"
     67             android:src="@drawable/btn_playback_ic_prev"
     68             android:background="@drawable/background_selector"/>
     69         <ImageButton android:id="@+id/editor_rewind"
     70             android:onClick="onClickHandler"
     71             android:layout_width="wrap_content"
     72             android:layout_height="wrap_content"
     73             android:layout_centerVertical="true"
     74             android:layout_marginLeft="20dip"
     75             android:src="@drawable/btn_playback_ic_rev"
     76             android:background="@drawable/background_selector"/>
     77         <ImageButton android:id="@+id/editor_play"
     78             android:onClick="onClickHandler"
     79             android:layout_width="wrap_content"
     80             android:layout_height="wrap_content"
     81             android:layout_centerHorizontal="true"
     82             android:layout_centerVertical="true"
     83             android:src="@drawable/btn_playback_ic_play"
     84             android:background="@drawable/background_selector"/>
     85         <ImageButton android:id="@+id/editor_next"
     86             android:onClick="onClickHandler"
     87             android:layout_width="wrap_content"
     88             android:layout_height="wrap_content"
     89             android:layout_alignParentBottom="true"
     90             android:layout_centerHorizontal="true"
     91             android:layout_marginBottom="18dip"
     92             android:src="@drawable/btn_playback_ic_next"
     93             android:background="@drawable/background_selector"/>
     94     </RelativeLayout>
     95 
     96     <TextView android:id="@+id/editor_time"
     97         android:layout_width="wrap_content"
     98         android:layout_height="wrap_content"
     99         android:layout_marginTop="-25dip"
    100         android:layout_marginRight="40dip"
    101         android:layout_below="@id/playback_buttons"
    102         android:layout_alignParentRight="true"
    103         android:singleLine="true"
    104         android:text="@string/editor_zero_time_stamp"
    105         android:textSize="24sp"
    106         android:textStyle="bold"
    107         android:textColor="#ffcf8104"/>
    108 
    109 </com.android.videoeditor.widgets.EditorRelativeLayout>
    110