PageRenderTime 23ms CodeModel.GetById 14ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/ocr/textscanner/res/layout/main.xml

http://eyes-free.googlecode.com/
XML | 59 lines | 34 code | 11 blank | 14 comment | 0 complexity | ef68c00f589722915c5f17dc8ca21f22 MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<!-- Copyright (C) 2009 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
17
18<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_height="fill_parent"
20    android:layout_width="fill_parent">
21    
22    <LinearLayout
23        android:orientation="vertical"
24        android:layout_width="fill_parent"
25        android:layout_height="fill_parent">
26    
27        <TextView android:layout_height="wrap_content"
28            android:layout_width="wrap_content"
29            android:padding="5sp"
30            android:text="Scanned text:"
31            android:textAppearance="?android:attr/textAppearanceLarge"
32            android:textColor="?android:attr/textColorPrimary"
33            android:shadowRadius="2" />
34
35        <EditText android:id="@+id/textresult"
36            android:text=""
37            android:layout_width="fill_parent"
38            android:layout_height="wrap_content" />
39    
40        <RelativeLayout android:layout_width="fill_parent"
41            android:layout_height="wrap_content">
42    
43            <Button android:id="@+id/capture" 
44                android:layout_height="wrap_content"
45                android:layout_width="wrap_content"
46                android:layout_alignParentLeft="true"
47                android:text="Capture Image" />
48    
49            <Button android:id="@+id/clipboard" 
50                android:layout_height="wrap_content"
51                android:layout_width="wrap_content"
52                android:layout_alignParentRight="true"
53                android:text="Copy to Clipboard" />
54    
55        </RelativeLayout>
56    
57    </LinearLayout>
58
59</ScrollView>