Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Button
- android:id="@+id/partTime"
- style="@style/FilterFragment.JobTypeButton"
- android:layout_marginStart="8dp"
- android:onClick="@{(view) -> vm.updateJobType(view.getId())}"
- android:text="@string/part_time"
- app:layout_constraintStart_toEndOf="@+id/fullTime"
- app:layout_constraintTop_toTopOf="@+id/fullTime" />
- <style name="FilterFragment"/>
- <style name="FilterFragment.JobTypeButton" parent="TextLittleButtonWhite">
- <item name="android:layout_width">wrap_content</item>
- <item name="android:layout_height">wrap_content</item>
- <item name="android:background">@drawable/background_job_type</item>
- <item name="android:padding">8dp</item>
- <item name="android:drawableLeft">@drawable/add</item>
- <item name="android:drawablePadding">8dp</item>
- <item name="android:textAllCaps">false</item>
- </style>
- <selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@drawable/background_job_type_selected" android:state_pressed="true" android:state_selected="true" />
- <item android:drawable="@drawable/background_job_type_selected" android:state_pressed="true" />
- <item android:drawable="@drawable/background_job_type_selected" android:state_selected="true" />
- <item android:drawable="@drawable/background_job_type_unselected" />
Add Comment
Please, Sign In to add comment