I use one button and i try to add two attrs in background property like add drawable xml and also want add ripple effect attrs "?attr/selectableItemBackground"
Is it possible? My xml button code is here :-
<Button android:id="@+id/btnRead"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/readmcq"
android:text="@string/readmcq"
android:textAllCaps="false"
android:textColor="@color/colorWhite"
android:textSize="12sp" />
Can i try like this android:background="@drawable/readmcq" | "?attr/selectableItemBackground"
??