2323 android : layout_height =" match_parent"
2424 android : orientation =" vertical" >
2525
26- <androidx .constraintlayout.widget.ConstraintLayout
27- android : id =" @+id/inputModeWidgetLayout"
28- android : layout_width =" match_parent"
29- android : layout_height =" ?attr/actionBarSize"
30- android : layout_marginStart =" @dimen/omnibarCardMarginHorizontal"
31- android : paddingTop =" 2dp"
32- android : orientation =" horizontal"
33- app : layout_constraintEnd_toEndOf =" parent"
34- app : layout_constraintStart_toStartOf =" parent"
35- app : layout_constraintTop_toBottomOf =" @id/spacer" >
36-
37- <com .google.android.material.card.MaterialCardView
38- android : id =" @+id/inputModeWidgetCard"
39- style =" @style/Widget.DuckDuckGo.OmnibarCardView"
40- android : layout_width =" 0dp"
41- android : layout_height =" wrap_content"
42- app : cardElevation =" 0dp"
43- android : layout_marginTop =" 2dp"
44- app : layout_constraintEnd_toStartOf =" @id/inputModeMainButtonsContainer"
45- app : layout_constraintStart_toStartOf =" parent"
46- app : layout_constraintTop_toTopOf =" parent"
47- app : strokeColor =" ?attr/daxColorAccentBlue"
48- app : strokeWidth =" @dimen/omnibarOutlineWidth" >
49-
50- <LinearLayout
51- android : layout_width =" match_parent"
52- android : layout_height =" wrap_content"
53- android : orientation =" vertical" >
54-
55- <LinearLayout
56- android : id =" @+id/inputModeWidgetCardContent"
57- android : layout_width =" match_parent"
58- android : layout_height =" wrap_content"
59- android : orientation =" horizontal"
60- android : padding =" @dimen/keyline_0" >
61-
62- <ImageView
63- android : id =" @+id/daxIcon"
64- android : layout_width =" @dimen/toolbarIcon"
65- android : layout_height =" @dimen/toolbarIcon"
66- android : layout_gravity =" center"
67- android : importantForAccessibility =" no"
68- android : scaleType =" fitCenter"
69- app : srcCompat =" @drawable/ic_duckai"
70- tools : visibility =" visible" />
71-
72- <com .duckduckgo.common.ui.view.text.DaxTextView
73- android : id =" @+id/inputField"
74- android : layout_width =" 0dp"
75- android : layout_height =" wrap_content"
76- android : layout_weight =" 1"
77- android : layout_gravity =" center_vertical"
78- android : layout_marginStart =" 10dp"
79- app : typography =" body1"
80- app : textType =" primary"
81- android : text =" Duck.ai" />
82-
83- <ImageView
84- android : id =" @+id/inputFieldVoiceInputButton"
85- android : layout_width =" @dimen/toolbarIcon"
86- android : layout_height =" @dimen/toolbarIcon"
87- android : layout_gravity =" top"
88- android : background =" @drawable/selectable_item_experimental_background"
89- android : gravity =" center"
90- android : importantForAccessibility =" no"
91- android : scaleType =" center"
92- android : visibility =" gone"
93- app : srcCompat =" @drawable/ic_microphone_24"
94- tools : visibility =" visible" />
95-
96- <ImageView
97- android : id =" @+id/inputFieldClearText"
98- android : layout_width =" @dimen/toolbarIcon"
99- android : layout_height =" @dimen/toolbarIcon"
100- android : layout_gravity =" top"
101- android : background =" @drawable/selectable_item_experimental_background"
102- android : gravity =" center"
103- android : importantForAccessibility =" no"
104- android : scaleType =" centerInside"
105- android : visibility =" gone"
106- app : srcCompat =" @drawable/ic_close_circle_small_secondary_24" />
107-
108- </LinearLayout >
109-
110- <FrameLayout
111- android : id =" @+id/inputScreenButtonsContainer"
112- android : layout_width =" wrap_content"
113- android : layout_height =" wrap_content"
114- android : layout_gravity =" end"
115- android : layout_marginEnd =" 8dp"
116- android : visibility =" gone" />
117-
118- </LinearLayout >
26+ <include
27+ android : id =" @+id/includeToolbar"
28+ layout =" @layout/include_default_toolbar" />
11929
120- </com .google.android.material.card.MaterialCardView>
121-
122- <androidx .constraintlayout.widget.ConstraintLayout
123- android : id =" @+id/inputModeMainButtonsContainer"
124- android : layout_width =" wrap_content"
125- android : layout_height =" @dimen/toolbarIcon"
126- android : layout_marginStart =" @dimen/keyline_2"
127- app : layout_constraintBottom_toBottomOf =" @id/inputModeWidgetCard"
128- app : layout_constraintEnd_toEndOf =" parent"
129- app : layout_constraintStart_toEndOf =" @id/inputModeWidgetCard"
130- app : layout_constraintTop_toTopOf =" @id/inputModeWidgetCard" >
131-
132- <FrameLayout
133- android : id =" @+id/inputFieldFireButton"
134- android : layout_width =" @dimen/toolbarIcon"
135- android : layout_height =" @dimen/toolbarIcon"
136- android : background =" @drawable/selectable_item_experimental_background"
137- app : layout_constraintBottom_toBottomOf =" parent"
138- app : layout_constraintEnd_toStartOf =" @id/inputFieldTabsMenu"
139- app : layout_constraintStart_toStartOf =" parent"
140- app : layout_constraintTop_toTopOf =" parent" >
141-
142- <ImageView
143- android : id =" @+id/fireIconImageView"
144- android : layout_width =" @dimen/bottomNavIcon"
145- android : layout_height =" @dimen/bottomNavIcon"
146- android : layout_gravity =" center"
147- android : scaleType =" center"
148- android : src =" @drawable/ic_fire_24" />
149- </FrameLayout >
150-
151- <com .duckduckgo.browser.ui.tabs.NewTabSwitcherButton
152- android : id =" @+id/inputFieldTabsMenu"
153- android : layout_width =" @dimen/toolbarIcon"
154- android : layout_height =" @dimen/toolbarIcon"
155- app : layout_constraintBottom_toBottomOf =" parent"
156- app : layout_constraintEnd_toStartOf =" @id/inputFieldBrowserMenu"
157- app : layout_constraintStart_toEndOf =" @id/inputFieldFireButton"
158- app : layout_constraintTop_toTopOf =" parent" />
159-
160- <FrameLayout
161- android : id =" @+id/inputFieldBrowserMenu"
162- android : layout_width =" @dimen/toolbarIcon"
163- android : layout_height =" @dimen/toolbarIcon"
164- android : background =" @drawable/selectable_item_experimental_background"
165- app : layout_constraintBottom_toBottomOf =" parent"
166- app : layout_constraintEnd_toEndOf =" parent"
167- app : layout_constraintStart_toEndOf =" @id/inputFieldTabsMenu"
168- app : layout_constraintTop_toTopOf =" parent" >
169-
170- <ImageView
171- android : id =" @+id/browserMenuImageView"
172- android : layout_width =" @dimen/bottomNavIcon"
173- android : layout_height =" @dimen/bottomNavIcon"
174- android : layout_gravity =" center"
175- android : scaleType =" center"
176- android : src =" @drawable/ic_menu_vertical_24" />
177-
178- </FrameLayout >
179-
180- </androidx .constraintlayout.widget.ConstraintLayout>
181-
182- </androidx .constraintlayout.widget.ConstraintLayout>
30+ <com .duckduckgo.duckchat.impl.ui.DuckChatOmnibarLayout
31+ android : id =" @+id/omnibarLayoutTop"
32+ android : layout_width =" match_parent"
33+ android : layout_height =" wrap_content"
34+ android : elevation =" 1dp"
35+ android : outlineProvider =" none"
36+ app : duckOmnibarPosition =" top" />
18337
18438 <WebView
18539 android : id =" @+id/simpleWebview"
18640 android : layout_width =" match_parent"
187- android : layout_height =" match_parent"
188- app : layout_constraintBottom_toBottomOf =" @id/inputModeWidgetCard"
189- app : layout_constraintEnd_toEndOf =" parent"
190- app : layout_constraintStart_toStartOf =" parent" />
41+ android : layout_height =" match_parent" />
19142
192- </LinearLayout >
43+ </LinearLayout >
0 commit comments