Closed ch-muhammad-adil closed 9 years ago
I can't reproduce it. Using the exact same code the heart is spinning.
Is there anything you do programmatically on this IconTextView
?
What's your phone and android version?
So far I was doing nothing on it programmatically, but I have even tried it after that.. I am using jellybean and a 10" china tablet.
Is it working fine at your end ???
Yes it is. Anything in the logcat?
ummm Sorry I haven't observed that.. I will let you know for sure.. :) for now I am using simple textview and will Iconify it programmatically. Just want to make sure will this spin or animation work programmatically or not ??? with same syntax "{fa-heart spin}". if it does then its fine if not then any method or example ?
If you use Iconify.addIcons(textView)
it does work the same as an IconTextView
.
But make sure you call it again if you ever change the text of the TextView
.
textView.setText("{fa-heart spin}"); Iconify.addIcons(textView);
right ??
Yes. Which is equivalent to this, by the way:
textView.setText(Iconify.compute(this, "{fa-heart spin}", textView));
it is a device issue. I have tested it at another device running on KITKAT works fine.
one thing more any syntax for {iconname spin mycolor}?
let me try on that device again if I can provide you log-cat.
one thing more any syntax for {iconname spin mycolor}?
Yes, please checkout the README file.
it is a device issue. I have tested it at another device running on KITKAT works fine.
Thanks for your time. I'll try this on an emulator to see what's wrong with pre-4.4 devices.
08-27 01:44:31.654 18273-18273/com.custom.views D/libEGL﹕ >>> 0 0 android 08-27 01:44:31.654 18273-18273/com.custom.views D/libEGL﹕ >>> 0 1 mali 08-27 01:44:31.657 18273-18273/com.custom.views D/libEGL﹕ loaded /system/lib/egl/libEGL_mali.so 08-27 01:44:31.659 18273-18273/com.custom.views D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_mali.so 08-27 01:44:31.662 18273-18273/com.custom.views D/libEGL﹕ loaded /system/lib/egl/libGLESv2_mali.so 08-27 01:44:31.666 18273-18273/com.custom.views E/linker﹕ load_library(linker.cpp:759): library "libmaliinstr.so" not found 08-27 01:44:31.669 18273-18273/com.custom.views E/﹕ appName=com.custom.views, acAppName=com.android.cts.openglperf 08-27 01:44:31.669 18273-18273/com.custom.views E/﹕ 0 08-27 01:44:31.669 18273-18273/com.custom.views E/﹕ appName=com.custom.views, acAppName=com.android.browser 08-27 01:44:31.669 18273-18273/com.custom.views E/﹕ 0
between these line i think this is the main issue...
it must be missing ... "libmaliinstr.so"
08-27 01:44:31.666 18273-18273/com.custom.views E/linker﹕ load_library(linker.cpp:759): library "libmaliinstr.so" not found 08-27 01:44:31.669 18273-18273/com.custom.views E/﹕ appName=com.custom.views, acAppName=com.android.cts.openglperf 08-27 01:44:31.669 18273-18273/com.custom.views E/﹕ 0 08-27 01:44:31.669 18273-18273/com.custom.views E/﹕ appName=com.custom.views, acAppName=com.android.browser 08-27 01:44:31.669 18273-18273/com.custom.views E/﹕ 0
Kindly fix this and let me know so I can get updated version of your awesome library. and Thank you so much dear for your time.. I really appreciate your help and concern. :+1: :+1: :100:
It didn't work on Samung Galaxy S3 running Android 4.3
IconTextView iconTextView = (IconTextView) view.findViewById(R.id.iconTextView);
iconTextView.setText("{fa-cog spin}");
I believe the icon did rotate slightly if I call it multiple times, just that the spinning animation is not working.
I have compiled these two modules, compile 'com.joanzapata.iconify:android-iconify-material:2.0.8' compile 'com.joanzapata.iconify:android-iconify-fontawesome:2.0.8'
then in Application initialized these modules Iconify.with(new FontAwesomeModule()) .with(new MaterialModule());
tried this as it is
< com.joanzapata.iconify.widget.IconTextView android:text="{fa-heart spin}" android:shadowColor="#22000000" android:shadowDx="3" android:shadowDy="3" android:shadowRadius="1" android:textSize="40sp" android:textColor="#FFF"/>
then there was only little rotation in the heart icon, no rotation animation worked. even i have tried refresh icon.
Anything I am missing ?