/ocr/ocrservice/res/layout/blocking.xml
XML | 49 lines | 35 code | 0 blank | 14 comment | 0 complexity | 01ca185528322f553a409c5472368f67 MD5 | raw file
1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2011 Google Inc. 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<RelativeLayout 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="fill_parent" 19 android:layout_height="fill_parent"> 20 <ImageView 21 android:id="@+id/preview" 22 android:layout_width="fill_parent" 23 android:layout_height="fill_parent" /> 24 <com.googlecode.eyesfree.ocr.intent.BlockingView 25 android:id="@+id/blocking" 26 android:layout_width="fill_parent" 27 android:layout_height="fill_parent" /> 28 <Button 29 android:id="@+id/clear" 30 android:layout_width="wrap_content" 31 android:layout_height="wrap_content" 32 android:layout_alignParentLeft="true" 33 android:layout_alignParentBottom="true" 34 android:text="@string/clear" /> 35 <Button 36 android:id="@+id/accept" 37 android:layout_width="wrap_content" 38 android:layout_height="wrap_content" 39 android:layout_alignParentRight="true" 40 android:layout_alignParentBottom="true" 41 android:text="@string/accept" /> 42 <Button 43 android:id="@+id/cancel" 44 android:layout_width="wrap_content" 45 android:layout_height="wrap_content" 46 android:layout_toLeftOf="@id/accept" 47 android:layout_alignParentBottom="true" 48 android:text="@string/cancel" /> 49</RelativeLayout>