After upgrading my AppCompat library to 25, when I create a release using proguard, all of my FloatingActionButton backgrounds are transparent. When I build a debug assembly without proguard, it is painted, as it should be.
Markup
<android.support.design.widget.FloatingActionButton android:id="@+id/fab_upload" android:visibility="gone" android:layout_height="wrap_content" android:layout_width="wrap_content" app:layout_anchor="@id/content_frame" app:layout_anchorGravity="bottom|right|end" app:borderWidth="0dp" android:src="@drawable/app_fab_upload" android:layout_margin="@dimen/big_padding" android:clickable="true" app:backgroundTint="@color/fab_social"/>
Gradle
compileSdkVersion = 25 buildToolsVersion = '25.0.0' supportLibVersion = '25.0.0' supportLibAppCompat = "com.android.support:appcompat-v7:$supportLibVersion" supportLibCardView = "com.android.support:cardview-v7:$supportLibVersion" supportLibRecyclerView = "com.android.support:recyclerview-v7:$supportLibVersion" supportLibDesign = "com.android.support:design:$supportLibVersion" supportLibPalette = "com.android.support:palette-v7:$supportLibVersion" supportLibPercent = "com.android.support:percent:$supportLibVersion"
I have no references to AppCompat in my proguard configuration.
UPDATE
I just tried another of my projects and it has the same problem. The problem seems to be related to updating Android Studio to version 2.3 Canary.
source share