dialog_result.xml
2.26 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/result_view"
android:orientation="horizontal"
android:padding="6dp">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1.0"
android:gravity="right|center_vertical"
android:orientation="vertical">
<ImageView
android:id="@+id/img_barcode"
android:layout_width="140dip"
android:layout_height="wrap_content"
android:layout_marginBottom="6dp"
android:adjustViewBounds="true"
android:maxHeight="140dip"
android:maxWidth="140dip"
android:scaleType="centerCrop"
android:src="@drawable/explore_icon"
tools:ignore="ContentDescription" />
<TextView
android:id="@+id/tv_format"
style="@style/style_dialog_result_desc"
android:text="@string/label_format" />
<TextView
android:id="@+id/tv_type"
style="@style/style_dialog_result_desc"
android:text="@string/label_type" />
<TextView
android:id="@+id/tv_time"
style="@style/style_dialog_result_desc"
android:text="@string/label_time" />
<TextView
android:id="@+id/tv_meta"
style="@style/style_dialog_result_desc"
android:text="@string/label_meta" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1.0"
android:gravity="center_vertical"
android:orientation="vertical">
<TextView
android:id="@+id/tv_value"
style="@style/style_dialog_result_value"
android:autoLink="web"
android:textColorLink="@color/result_text"
android:textSize="18sp" />
<TextView
android:id="@+id/tv_value_supplement"
style="@style/style_dialog_result_value" />
</LinearLayout>
</LinearLayout>