Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2013 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 <merge xmlns:android="http://schemas.android.com/apk/res/android"
     17     android:layout_width="match_parent"
     18     android:layout_height="match_parent">
     19 
     20   <FrameLayout
     21       android:id="@+id/bottombar_capture"
     22       android:layout_width="match_parent"
     23       android:layout_height="match_parent"
     24       android:visibility="visible" >
     25     <com.android.camera.ShutterButton
     26         android:id="@+id/shutter_button"
     27         android:layout_width="match_parent"
     28         android:layout_height="match_parent"
     29         android:layout_gravity="center"
     30         android:scaleType="center"
     31         android:clickable="true"
     32         android:contentDescription="@string/accessibility_shutter_button"
     33         android:focusable="true"
     34         android:src="@drawable/ic_camera" />
     35   </FrameLayout>
     36 
     37   <FrameLayout
     38     android:id="@+id/bottombar_cancel"
     39     android:layout_width="match_parent"
     40     android:layout_height="match_parent"
     41     android:visibility="visible" >
     42       <ImageButton
     43         android:id="@+id/shutter_cancel_button"
     44         android:layout_width="match_parent"
     45         android:layout_height="match_parent"
     46         android:layout_gravity="center"
     47         android:scaleType="center"
     48         android:clickable="true"
     49         android:contentDescription="@string/accessibility_cancel_button"
     50         android:focusable="true"
     51         android:background="@drawable/shutter_button_background_refocus"
     52         android:src="@drawable/ic_cancel" />
     53   </FrameLayout>
     54 
     55   <include layout="@layout/retake_done_cancel_layout" />
     56 </merge>
     57