Can I show any other way to error message not using toast message
. Please help me?
and i don't want to display the popup also..
Asked
Active
Viewed 592 times
-3
-
also can use Coustem Toast and Dialog in android to show error message – Naveen Tamrakar Oct 20 '14 at 13:07
-
[http://stackoverflow.com/questions/17647465/facebook-app-type-no-internet-connection-message](http://stackoverflow.com/questions/17647465/facebook-app-type-no-internet-connection-message) – M D Oct 20 '14 at 13:07
2 Answers
2
Use Animation, onclick of edittext(if its empty)
Animation shake = AnimationUtils.loadAnimation(LoginActivity.this,
R.anim.shake);
editTextId.startAnimation(shake);
Create folder anim in res
Add file shake.xml
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="500"
android:fromXDelta="0"
android:interpolator="@anim/cycle_7"
android:toXDelta="10" />
file cycle_7.xml
<cycleInterpolator xmlns:android="http://schemas.android.com/apk/res/android"
android:cycles="7" />

Ravi Sharma
- 753
- 1
- 7
- 13