Question

How can I change my "Pin It" icon? Android:src on the xml file doesn't work.

<com.pinterest.pinit.PinItButton
    android:id="@+id/pin_bt"
    android:src="@drawable/ic_launcher"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_margin="@dimen/global_padding" />
Was it helpful?

Solution

I just found out that you can change it using setImageResource.

Thank you guys.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top