Skip to content

Commit f26e506

Browse files
committed
Add primary and secondary buck buttons to ADS for testing
1 parent 785de0a commit f26e506

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

common/common-ui/src/main/res/layout/component_buttons.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,31 @@
263263
android:layout_marginTop="16dp"
264264
app:srcCompat="@drawable/ic_union" />
265265

266+
<com.duckduckgo.common.ui.view.listitem.SectionHeaderListItem
267+
android:layout_width="match_parent"
268+
android:layout_height="wrap_content"
269+
app:primaryText="Onboarding Experiment Buttons" />
270+
271+
<com.duckduckgo.common.ui.view.button.DaxButtonPrimary
272+
android:id="@+id/buck_button_primary"
273+
style="@style/Widget.DuckDuckGo.BuckButton.TextButton.Primary"
274+
android:text="Primary buck"
275+
android:layout_width="wrap_content"
276+
android:layout_height="wrap_content"/>
277+
278+
<Space
279+
android:layout_width="match_parent"
280+
android:layout_height="16dp"/>
281+
282+
<com.google.android.material.button.MaterialButton
283+
android:id="@+id/buck_button_secondary"
284+
style="@style/Widget.DuckDuckGo.BuckButton.Secondary"
285+
android:text="Secondary buck"
286+
app:icon="@drawable/ic_find_search_24"
287+
app:iconGravity="end"
288+
android:layout_width="wrap_content"
289+
android:layout_height="wrap_content"/>
290+
266291
</LinearLayout>
267292

268293
</androidx.core.widget.NestedScrollView>

0 commit comments

Comments
 (0)