Android TV: Add Open File and Install WAD

This commit is contained in:
Ryan Meredith 2020-05-19 03:24:32 -04:00
parent 74b2410d7e
commit cfe1687248
1 changed files with 8 additions and 0 deletions

View File

@ -301,6 +301,14 @@ public final class TvMainActivity extends FragmentActivity implements MainView
R.drawable.ic_refresh_tv, R.drawable.ic_refresh_tv,
R.string.grid_menu_refresh)); R.string.grid_menu_refresh));
rowItems.add(new TvSettingsItem(R.id.menu_open_file,
R.drawable.ic_play,
R.string.grid_menu_open_file));
rowItems.add(new TvSettingsItem(R.id.menu_install_wad,
R.drawable.ic_folder,
R.string.grid_menu_install_wad));
// Create a header for this row. // Create a header for this row.
HeaderItem header = HeaderItem header =
new HeaderItem(R.string.preferences_settings, getString(R.string.preferences_settings)); new HeaderItem(R.string.preferences_settings, getString(R.string.preferences_settings));