기본 콘텐츠로 건너뛰기

TextRecognitionAPP 성공한 xml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity">
    <ImageView
        android:id="@+id/image_view"
        android:layout_width="match_parent"
        android:layout_height="400dp"
        />
    <TextView
        android:id="@+id/text_display"
        android:layout_width="401dp"
        android:layout_height="202dp"
        android:layout_below="@+id/image_view"
        android:layout_marginStart="10dp"
        android:layout_marginLeft="10dp"
        android:layout_marginTop="10dp"
        android:layout_marginEnd="10dp"
        android:layout_marginRight="10dp"
        android:layout_marginBottom="10dp"
        android:gravity="center"
        android:maxLines="5"
        android:text="Display Detected Text from image"
        android:textSize="26dp" />
    <Button
        android:id="@+id/caputure_image"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_above="@id/detect_text_image"
        android:layout_marginBottom="5dp"
        android:background="@color/Orange"
        android:text="이미지 캡쳐"
        android:textAllCaps="false"
        android:textColor="@android:color/white"
        android:textSize="17dp" />
    <Button
        android:id="@+id/detect_text_image"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:background="@color/Blue"
        android:text="금자 변환하기"
        android:textAllCaps="false"
        android:textColor="@android:color/white"
        android:textSize="17dp" />
</RelativeLayout>
cs

댓글

이 블로그의 인기 게시물

비행정비VR 영상설명

0:00~3:00초  기본작동법 설명 3:00~4:05초  Stage 1 Front(Light) Fuselage Part (Cockpit Placard, System Safety, Landing gear Safety Pins) 4:05~5:17초  Stage 2 Engine Part (Engine Fan, Engine Cowls, Safety Pads, Latches) 5:17~6:42초  Stage 3 Wind Part (Fuel, Hydraulics, Exhaust Proximity) 6:42~7:26초  Stage 4 Area Part (Visual Inspaection, Flight Control, Ground Operations) 7:26~8:12초  Stage 5 Back Fuselage Part (Waste Water,APU) 8:12~10:12초 Stage 6 Landing Gear Part (Wheel Chocks, Tires,  Landing Gear Doors, Landing Gear Safety Pins) 10:12~11:11초 Stage 7 Middle(Left) FuseLage Part (Statics Ports, Safety Working Heights, Ram Air Inlet) 11:11~11:58초 Stage 8 Front(Left) FuseLage Part (Pitot Tubes, Ground Power, Pressure Outflow Valve) 11:58~12:57초 Stage 9 etc(Safe Turning, Towing) 12:57초~ 시험