Home | History | Annotate | Download | only in layout-w360dp-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="5dip"
     29         android:layout_centerHorizontal="true"
     30         android:padding="4dip"
     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="195dip"/>
     35         <ImageView android:id="@+id/overlay_layer"
     36             android:layout_width="0dip"
     37             android:layout_height="195dip"/>
     38         <LinearLayout android:id="@+id/playback_buttons"
     39             android:layout_gravity="bottom|center"
     40             android:gravity="center"
     41             android:background="@drawable/overlay_background_1"
     42             android:layout_width="match_parent"
     43             android:layout_height="wrap_content">
     44             <ImageButton android:id="@+id/editor_prev"
     45                 android:onClick="onClickHandler"
     46                 android:layout_width="wrap_content"
     47                 android:layout_height="wrap_content"
     48                 android:layout_marginRight="15dip"
     49                 android:src="@drawable/btn_playback_ic_prev"
     50                 android:background="@drawable/background_selector"/>
     51             <ImageButton android:id="@+id/editor_play"
     52                 android:onClick="onClickHandler"
     53                 android:layout_width="wrap_content"
     54                 android:layout_height="wrap_content"
     55                 android:src="@drawable/btn_playback_ic_play"
     56                 android:background="@drawable/background_selector"/>
     57             <ImageButton android:id="@+id/editor_next"
     58                 android:onClick="onClickHandler"
     59                 android:layout_width="wrap_content"
     60                 android:layout_height="wrap_content"
     61                 android:layout_marginLeft="15dip"
     62                 android:src="@drawable/btn_playback_ic_next"
     63                 android:background="@drawable/background_selector"/>
     64             <ImageButton android:id="@+id/editor_rewind"
     65                 android:visibility="gone"
     66                 android:onClick="onClickHandler"
     67                 android:layout_width="wrap_content"
     68                 android:layout_height="wrap_content"
     69                 android:src="@drawable/btn_playback_ic_rev"
     70                 android:background="@drawable/background_selector"/>
     71         </LinearLayout>
     72     </FrameLayout>
     73 
     74     <RelativeLayout
     75         android:visibility="gone"
     76         android:layout_width="250dip"
     77         android:layout_height="250dip"
     78         android:layout_alignParentLeft="true"
     79         android:layout_below="@id/video_frame_view"
     80         android:layout_marginTop="21dip"
     81         android:layout_marginLeft="-42dip">
     82         <com.android.videoeditor.widgets.ZoomControl android:id="@+id/editor_zoom"
     83             android:layout_width="match_parent"
     84             android:layout_height="match_parent"
     85             android:clickable="true"/>
     86     </RelativeLayout>
     87 
     88     <TextView android:id="@+id/editor_time"
     89         android:layout_width="wrap_content"
     90         android:layout_height="wrap_content"
     91         android:layout_marginTop="-7dip"
     92         android:layout_marginRight="28dip"
     93         android:layout_alignParentRight="true"
     94         android:layout_below="@id/video_frame_view"
     95         android:singleLine="true"
     96         android:text="@string/editor_zero_time_stamp"
     97         android:textSize="19sp"
     98         android:textStyle="bold"
     99         android:textColor="#ffcf8104"/>
    100 
    101 </com.android.videoeditor.widgets.EditorRelativeLayout>
    102 
    103