1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2 xmlns:tools="http://schemas.android.com/tools"
3 android:layout_width="match_parent"
4 android:layout_height="match_parent"
5 android:paddingLeft="@dimen/activity_horizontal_margin"
6 android:paddingRight="@dimen/activity_horizontal_margin"
7 android:paddingTop="@dimen/activity_vertical_margin"
8 android:paddingBottom="@dimen/activity_vertical_margin"
9 tools:context="cz.cvut.fel.dce.qrscanner.PreviewActivity"
11 android:orientation="vertical">
14 android:layout_width="wrap_content"
15 android:layout_height="wrap_content"
16 android:textAppearance="?android:attr/textAppearanceMedium"
17 android:text="@string/previewHeading"
18 android:id="@+id/textView"/>
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
23 android:text="@string/butManufacturingGuide"
24 android:id="@+id/butManufactGuide"
25 android:onClick="showManufactGuide"
29 android:layout_width="match_parent"
30 android:layout_height="wrap_content"
31 android:text="@string/butPicturedmanufacturing"
32 android:id="@+id/butManufactImages"
33 android:onClick="showManufactImages"
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content"
39 android:text="@string/butManufacturing"
40 android:id="@+id/butManufacturing"
41 android:onClick="showManufacturing"
45 android:layout_width="match_parent"
46 android:layout_height="wrap_content"
47 android:text="@string/butContacts"
48 android:id="@+id/butContacts"
49 android:onClick="showContacts"
52 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
53 android:orientation="horizontal"
54 android:layout_width="match_parent"
55 android:layout_height="match_parent">
58 android:layout_width="match_parent"
59 android:layout_height="match_parent"
60 android:id="@+id/imgComponent"
61 android:layout_gravity="center_vertical"
62 android:scaleType="center"
63 android:contentDescription="@string/preview_content_desc"/>
66 android:layout_width="73dp"
67 android:layout_height="match_parent"
68 android:id="@+id/progress_container"
69 android:layout_alignParentTop="true"
70 android:layout_alignParentEnd="true"
71 android:layout_alignParentStart="true"
72 android:layout_alignParentLeft="true"
73 android:layout_alignParentRight="true">
76 style="?android:attr/progressBarStyleLarge"
77 android:layout_width="wrap_content"
78 android:layout_height="wrap_content"
79 android:id="@+id/progressBar2"
80 android:layout_centerVertical="true"
81 android:layout_centerHorizontal="true"/>
84 android:layout_width="wrap_content"
85 android:layout_height="wrap_content"
86 android:textAppearance="?android:attr/textAppearanceMedium"
87 android:text="@string/loading_page"
88 android:id="@+id/textView6"
89 android:layout_below="@+id/progressBar2"
90 android:layout_alignStart="@+id/progressBar2"
91 android:layout_alignLeft="@+id/progressBar2"/>