yankai-victor / Loading

Android loading view
1.23k stars 203 forks source link

attribute setting problem for RotateLoading #8

Closed miladna7 closed 8 years ago

miladna7 commented 8 years ago

Hello dear. i have problem to set: app:loading_speed="11" app:loading_width="1dp" (this one is so important for me, because i want use RotateLoading in small size) this two not working and this one: app:loading_color="#f4f3" this one is change between some dark colors or if i don't set any thing, it goes to default one. and thanks for your amazing library.

yankai-victor commented 8 years ago

I try this code

<com.victor.loading.rotate.RotateLoading
        android:id="@+id/rotateloading"
        android:layout_width="80dp"
        android:layout_height="80dp"
        android:layout_centerInParent="true"
        app:loading_speed="5"
        app:loading_color="#f4f3"
        app:loading_width="1dp" />

and it works fine. Do you use the latest version? May I see your code about RotateLoading?

miladna7 commented 8 years ago

one, sorry for delay. second, i found why thing do not act right: in root tag of my layout, for app: , inserted this: xmlns:app="http://schemas.android.com/tools" and when i changed it to: xmlns:app="http://schemas.android.com/apk/res-auto" every thing back to normal. and last but not least, thank u, for your amazing library.

yankai-victor commented 8 years ago

Glad you like it