2

I know android uses their own loading animations through that are included with the android.jar...however I have not been able to successfully get them to work with an ImageView correctly. For instance, the following code gives me an error in my xml file that says the image is not public...is there anyway to get this to work correctly or is it even possible?

        <ImageView android:layout_height="wrap_content" android:id="@+id/loadingImg"
        android:layout_width="wrap_content" android:paddingTop="6px"
        android:paddingLeft="6px" android:src="@android:drawable/spinner_white_16">
    </ImageView>

I know its possible to slice a loading gif up and use animation-list however it would be convenient to just use android's images.

ninjasense
  • 13,756
  • 19
  • 75
  • 92

0 Answers0