Skip to content

Commit fdb9546

Browse files
committed
Add tools namespace and ignore deprecated widget warning in component_buttons.xml
1 parent f26e506 commit fdb9546

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
1919
xmlns:app="http://schemas.android.com/apk/res-auto"
20+
xmlns:tools="http://schemas.android.com/tools"
2021
android:layout_width="match_parent"
2122
android:layout_height="wrap_content"
2223
android:clipToPadding="false"
@@ -286,7 +287,8 @@
286287
app:icon="@drawable/ic_find_search_24"
287288
app:iconGravity="end"
288289
android:layout_width="wrap_content"
289-
android:layout_height="wrap_content"/>
290+
android:layout_height="wrap_content"
291+
tools:ignore="DeprecatedWidgetInXml" />
290292

291293
</LinearLayout>
292294

0 commit comments

Comments
 (0)