You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add more APIs needed for NewPipe
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
package android.view;
|
||||
|
||||
import android.graphics.drawable.Drawable;
|
||||
|
||||
public interface MenuItem {
|
||||
|
||||
public interface OnMenuItemClickListener {}
|
||||
public interface OnMenuItemClickListener {
|
||||
public boolean onMenuItemClick(MenuItem item);
|
||||
}
|
||||
|
||||
public MenuItem setIcon(int iconRes);
|
||||
|
||||
@@ -30,4 +34,10 @@ public interface MenuItem {
|
||||
|
||||
public MenuItem setTitle(int resId);
|
||||
|
||||
public boolean isVisible();
|
||||
|
||||
public Drawable getIcon();
|
||||
|
||||
public SubMenu getSubMenu();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user