Programmatisch "? SelectableItemBackground" in der Android-Ansicht festlegen
n xml mache ich das oft, um @ zu emulieronClick
effect:
<android.support.v7.widget.CardView
android:id="@+id/cardView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="?selectableItemBackground">
...
</android.support.v7.widget.CardView>
Gibt es eine Möglichkeit, auf @ zuzugreife?selectableItemBackground
in Java?