I need to set two attributes like in a xml:
<ImageButton
android:id="@+id/btn_friendsMainMenu"
android:src="@drawable/general_btn_header_friendlist"
android:background="@drawable/ripple"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
As you see, there is a background and an src attribute. How do I set BOTH programmatically?
I only know of one: Which one is it? And what is the other one?
btnBack.SetBackgroundResource(Resource.Drawable.thebook_backbutton);