ui opt
This commit is contained in:
@@ -170,11 +170,17 @@ public final class TipToast {
|
||||
public interface ToastViewGenerator {
|
||||
View make( Context context, String message );
|
||||
|
||||
int gravity();
|
||||
default int gravity() {
|
||||
return Gravity.CENTER;
|
||||
}
|
||||
|
||||
int yOffset();
|
||||
default int yOffset() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int xOffset();
|
||||
default int xOffset() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user