/
fragment_product_attribute_details.xml
118 lines (101 loc) 路 4.98 KB
/
fragment_product_attribute_details.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<data>
</data>
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
style="@style/ButtonFlat.Green"
android:layout_width="match_parent"
android:contentDescription="@string/app_name"
android:gravity="center"
android:padding="@dimen/padding_short"
android:scaleType="center"
android:text="@string/wikidata_information"
android:textAlignment="center"
android:textSize="@dimen/font_large" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/titleContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/spacing_tiny"
android:background="@color/grey_50"
android:gravity="center_vertical|center_horizontal"
android:orientation="horizontal"
android:padding="@dimen/spacing_small">
<TextView
android:id="@+id/titleBottomSheet"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:gravity="center"
android:text="@string/title_activity_product"
android:textAlignment="center"
android:textSize="@dimen/font_large"
android:textStyle="bold" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/titleBottomSheetIcon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone" />
</LinearLayout>
<TextView
android:id="@+id/description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/titleContainer"
android:layout_margin="@dimen/spacing_tiny"
android:background="@color/grey_50"
android:gravity="center"
android:padding="@dimen/spacing_small"
android:text="@string/description_activity_product"
android:textAlignment="center"
android:textSize="@dimen/font_normal" />
<include
android:id="@+id/exposureEvalTable"
layout="@layout/exposure_eval_table"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/description"
android:visibility="gone" />
<LinearLayout
android:id="@+id/buttonsContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/exposureEvalTable"
android:layout_marginBottom="@dimen/spacing_small"
android:gravity="center"
android:weightSum="100">
<Button
android:id="@+id/wikipediaButton"
style="@style/ButtonFlat"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="@dimen/spacing_normal"
android:layout_weight="50"
android:text="@string/Wikipedia"
android:textStyle="normal" />
<Button
android:id="@+id/buttonToBrowseProducts"
style="@style/ButtonFlat"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="@dimen/spacing_normal"
android:layout_weight="50"
android:text="@string/Browse_Products"
android:textStyle="normal" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</layout>