Skip to content

Commit

Permalink
Add style to a button in the product filter
Browse files Browse the repository at this point in the history
  • Loading branch information
irfano committed Dec 17, 2024
1 parent a92f117 commit 6f234e4
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:minHeight="@dimen/min_tap_target"
android:paddingTop="@dimen/minor_100"
android:paddingBottom="@dimen/minor_100"
android:background="?attr/selectableItemBackground">
android:paddingBottom="@dimen/minor_100">

<com.google.android.material.textview.MaterialTextView
android:id="@+id/filterOptionItem_name"
Expand All @@ -23,29 +23,29 @@

<Button
android:id="@+id/explorePlugin"
style="@style/Woo.Button.Colored"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/major_100"
android:clickable="false"
android:text="@string/product_filter_explore_plugin"
android:textAllCaps="false"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_marginEnd="@dimen/major_100"
android:textAllCaps="false"
android:visibility="gone"
android:clickable="false"/>
app:layout_constraintTop_toTopOf="parent" />

<ImageView
android:id="@+id/filterOptionItem_tick"
android:layout_width="@dimen/image_minor_60"
android:layout_height="@dimen/image_minor_60"
android:layout_marginEnd="@dimen/major_100"
android:button="@null"
android:contentDescription="@string/product_list_filters_list_item"
android:src="@drawable/ic_done_secondary"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_marginEnd="@dimen/major_100"
tools:visibility="visible" />

</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 6f234e4

Please sign in to comment.