Android: cannot use graphics Outline

823 Views Asked by At

I want to create some sort of custom "FAB" Button, therefore I am using the android.graphics.Outline class, but I am not able to import it. If I try it, Android Studio shows the following message:

error: cannot find symbol class Outline

The following tools are installed:

  • Android Studio 0.8.2
  • Android SDK 19

I found a bug report regarding Android Studio, Outline and the newest SDL (Preview L), but I also get a similar error, when I try to build it by calling ./gradlew build.

MainActivity.java:8: error: cannot find symbol
import android.graphics.Outline;
                       ^
  symbol:   class Outline
  location: package android.graphics
0

There are 0 best solutions below