android.widget.Toast Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android Show documentation
Show all versions of android Show documentation
A library jar that provides APIs for Applications written for the Google Android Platform. The branch tag
that was used to checkout the source from the Git repos was android-2.1_r2.
package android.widget;
public class Toast
{
public Toast(android.content.Context context) { throw new RuntimeException("Stub!"); }
public void show() { throw new RuntimeException("Stub!"); }
public void cancel() { throw new RuntimeException("Stub!"); }
public void setView(android.view.View view) { throw new RuntimeException("Stub!"); }
public android.view.View getView() { throw new RuntimeException("Stub!"); }
public void setDuration(int duration) { throw new RuntimeException("Stub!"); }
public int getDuration() { throw new RuntimeException("Stub!"); }
public void setMargin(float horizontalMargin, float verticalMargin) { throw new RuntimeException("Stub!"); }
public float getHorizontalMargin() { throw new RuntimeException("Stub!"); }
public float getVerticalMargin() { throw new RuntimeException("Stub!"); }
public void setGravity(int gravity, int xOffset, int yOffset) { throw new RuntimeException("Stub!"); }
public int getGravity() { throw new RuntimeException("Stub!"); }
public int getXOffset() { throw new RuntimeException("Stub!"); }
public int getYOffset() { throw new RuntimeException("Stub!"); }
public static android.widget.Toast makeText(android.content.Context context, java.lang.CharSequence text, int duration) { throw new RuntimeException("Stub!"); }
public static android.widget.Toast makeText(android.content.Context context, int resId, int duration) throws android.content.res.Resources.NotFoundException { throw new RuntimeException("Stub!"); }
public void setText(int resId) { throw new RuntimeException("Stub!"); }
public void setText(java.lang.CharSequence s) { throw new RuntimeException("Stub!"); }
public static final int LENGTH_SHORT = 0;
public static final int LENGTH_LONG = 1;
}