Android: Cleanup formatting
This commit is contained in:
parent
9e21ac8607
commit
3b28fe11d6
|
@ -4,7 +4,6 @@ import android.app.Application;
|
||||||
|
|
||||||
import org.dolphinemu.dolphinemu.model.GameDatabase;
|
import org.dolphinemu.dolphinemu.model.GameDatabase;
|
||||||
|
|
||||||
|
|
||||||
public class DolphinApplication extends Application
|
public class DolphinApplication extends Application
|
||||||
{
|
{
|
||||||
public static GameDatabase databaseHelper;
|
public static GameDatabase databaseHelper;
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
package org.dolphinemu.dolphinemu;
|
package org.dolphinemu.dolphinemu;
|
||||||
|
|
||||||
|
|
||||||
import android.view.Surface;
|
import android.view.Surface;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
|
@ -298,7 +297,6 @@ public final class NativeLibrary
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Saves a screen capture of the game
|
* Saves a screen capture of the game
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public static native void SaveScreenShot();
|
public static native void SaveScreenShot();
|
||||||
|
|
||||||
|
|
|
@ -121,8 +121,7 @@ public final class EmulationActivity extends AppCompatActivity
|
||||||
getSupportActionBar().hide();
|
getSupportActionBar().hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -408,7 +407,8 @@ public final class EmulationActivity extends AppCompatActivity
|
||||||
{
|
{
|
||||||
// Edit the placement of the controls
|
// Edit the placement of the controls
|
||||||
case R.id.menu_emulation_edit_layout:
|
case R.id.menu_emulation_edit_layout:
|
||||||
EmulationFragment emulationFragment = (EmulationFragment) getFragmentManager().findFragmentById(R.id.frame_emulation_fragment);
|
EmulationFragment emulationFragment = (EmulationFragment) getFragmentManager()
|
||||||
|
.findFragmentById(R.id.frame_emulation_fragment);
|
||||||
if (emulationFragment.isConfiguringControls())
|
if (emulationFragment.isConfiguringControls())
|
||||||
{
|
{
|
||||||
emulationFragment.stopConfiguringControls();
|
emulationFragment.stopConfiguringControls();
|
||||||
|
@ -434,13 +434,13 @@ public final class EmulationActivity extends AppCompatActivity
|
||||||
}
|
}
|
||||||
builder.setMultiChoiceItems(R.array.gcpadButtons, enabledButtons,
|
builder.setMultiChoiceItems(R.array.gcpadButtons, enabledButtons,
|
||||||
new DialogInterface.OnMultiChoiceClickListener()
|
new DialogInterface.OnMultiChoiceClickListener()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialog, int indexSelected, boolean isChecked)
|
public void onClick(DialogInterface dialog, int indexSelected, boolean isChecked)
|
||||||
{
|
{
|
||||||
editor.putBoolean("buttonToggleGc" + indexSelected, isChecked);
|
editor.putBoolean("buttonToggleGc" + indexSelected, isChecked);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else if (mPreferences.getInt("wiiController", 3) == 4)
|
else if (mPreferences.getInt("wiiController", 3) == 4)
|
||||||
{
|
{
|
||||||
|
@ -450,13 +450,13 @@ public final class EmulationActivity extends AppCompatActivity
|
||||||
}
|
}
|
||||||
builder.setMultiChoiceItems(R.array.classicButtons, enabledButtons,
|
builder.setMultiChoiceItems(R.array.classicButtons, enabledButtons,
|
||||||
new DialogInterface.OnMultiChoiceClickListener()
|
new DialogInterface.OnMultiChoiceClickListener()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialog, int indexSelected, boolean isChecked)
|
public void onClick(DialogInterface dialog, int indexSelected, boolean isChecked)
|
||||||
{
|
{
|
||||||
editor.putBoolean("buttonToggleClassic" + indexSelected, isChecked);
|
editor.putBoolean("buttonToggleClassic" + indexSelected, isChecked);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -468,25 +468,25 @@ public final class EmulationActivity extends AppCompatActivity
|
||||||
{
|
{
|
||||||
builder.setMultiChoiceItems(R.array.nunchukButtons, enabledButtons,
|
builder.setMultiChoiceItems(R.array.nunchukButtons, enabledButtons,
|
||||||
new DialogInterface.OnMultiChoiceClickListener()
|
new DialogInterface.OnMultiChoiceClickListener()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialog, int indexSelected, boolean isChecked)
|
public void onClick(DialogInterface dialog, int indexSelected, boolean isChecked)
|
||||||
{
|
{
|
||||||
editor.putBoolean("buttonToggleWii" + indexSelected, isChecked);
|
editor.putBoolean("buttonToggleWii" + indexSelected, isChecked);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
builder.setMultiChoiceItems(R.array.wiimoteButtons, enabledButtons,
|
builder.setMultiChoiceItems(R.array.wiimoteButtons, enabledButtons,
|
||||||
new DialogInterface.OnMultiChoiceClickListener()
|
new DialogInterface.OnMultiChoiceClickListener()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialog, int indexSelected, boolean isChecked)
|
public void onClick(DialogInterface dialog, int indexSelected, boolean isChecked)
|
||||||
{
|
{
|
||||||
editor.putBoolean("buttonToggleWii" + indexSelected, isChecked);
|
editor.putBoolean("buttonToggleWii" + indexSelected, isChecked);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
builder.setNeutralButton(getString(R.string.emulation_toggle_all), new DialogInterface.OnClickListener()
|
builder.setNeutralButton(getString(R.string.emulation_toggle_all), new DialogInterface.OnClickListener()
|
||||||
|
@ -499,7 +499,7 @@ public final class EmulationActivity extends AppCompatActivity
|
||||||
emulationFragment.toggleInputOverlayVisibility();
|
emulationFragment.toggleInputOverlayVisibility();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
builder.setPositiveButton(getString(R.string.emulation_done), new DialogInterface.OnClickListener()
|
builder.setPositiveButton(getString(R.string.ok), new DialogInterface.OnClickListener()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialogInterface, int i)
|
public void onClick(DialogInterface dialogInterface, int i)
|
||||||
|
@ -552,7 +552,7 @@ public final class EmulationActivity extends AppCompatActivity
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
||||||
builder.setTitle(R.string.emulation_control_scale);
|
builder.setTitle(R.string.emulation_control_scale);
|
||||||
builder.setView(view);
|
builder.setView(view);
|
||||||
builder.setPositiveButton(getString(R.string.emulation_done), new DialogInterface.OnClickListener()
|
builder.setPositiveButton(getString(R.string.ok), new DialogInterface.OnClickListener()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialogInterface, int i)
|
public void onClick(DialogInterface dialogInterface, int i)
|
||||||
|
@ -580,17 +580,17 @@ public final class EmulationActivity extends AppCompatActivity
|
||||||
builder.setTitle(R.string.emulation_choose_controller);
|
builder.setTitle(R.string.emulation_choose_controller);
|
||||||
builder.setSingleChoiceItems(R.array.controllersEntries, mPreferences.getInt("wiiController", 3),
|
builder.setSingleChoiceItems(R.array.controllersEntries, mPreferences.getInt("wiiController", 3),
|
||||||
new DialogInterface.OnClickListener()
|
new DialogInterface.OnClickListener()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialog, int indexSelected)
|
public void onClick(DialogInterface dialog, int indexSelected)
|
||||||
{
|
{
|
||||||
editor.putInt("wiiController", indexSelected);
|
editor.putInt("wiiController", indexSelected);
|
||||||
|
|
||||||
NativeLibrary.SetConfig("WiimoteNew.ini", "Wiimote1", "Extension",
|
NativeLibrary.SetConfig("WiimoteNew.ini", "Wiimote1", "Extension",
|
||||||
getResources().getStringArray(R.array.controllersValues)[indexSelected]);
|
getResources().getStringArray(R.array.controllersValues)[indexSelected]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
builder.setPositiveButton(getString(R.string.emulation_done), new DialogInterface.OnClickListener()
|
builder.setPositiveButton(getString(R.string.ok), new DialogInterface.OnClickListener()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialogInterface, int i)
|
public void onClick(DialogInterface dialogInterface, int i)
|
||||||
|
@ -619,7 +619,7 @@ public final class EmulationActivity extends AppCompatActivity
|
||||||
NativeLibrary.SaveScreenShot();
|
NativeLibrary.SaveScreenShot();
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Quicksave / Load
|
// Quick save / load
|
||||||
case R.id.menu_quicksave:
|
case R.id.menu_quicksave:
|
||||||
NativeLibrary.SaveState(9);
|
NativeLibrary.SaveState(9);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.adapters;
|
package org.dolphinemu.dolphinemu.adapters;
|
||||||
|
|
||||||
|
|
||||||
import android.app.Fragment;
|
import android.app.Fragment;
|
||||||
import android.app.FragmentManager;
|
import android.app.FragmentManager;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -17,10 +16,11 @@ public class PlatformPagerAdapter extends FragmentPagerAdapter
|
||||||
{
|
{
|
||||||
private Context mContext;
|
private Context mContext;
|
||||||
|
|
||||||
private final static int[] TAB_ICONS = {
|
private final static int[] TAB_ICONS =
|
||||||
|
{
|
||||||
R.drawable.ic_gamecube,
|
R.drawable.ic_gamecube,
|
||||||
R.drawable.ic_wii,
|
R.drawable.ic_wii,
|
||||||
R.drawable.ic_folder// wiiware TODO Have an icon here.
|
R.drawable.ic_folder // WiiWare TODO Have an icon here.
|
||||||
};
|
};
|
||||||
|
|
||||||
public PlatformPagerAdapter(FragmentManager fm, Context context)
|
public PlatformPagerAdapter(FragmentManager fm, Context context)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.adapters;
|
package org.dolphinemu.dolphinemu.adapters;
|
||||||
|
|
||||||
|
|
||||||
import android.content.res.Resources;
|
import android.content.res.Resources;
|
||||||
import android.support.v17.leanback.widget.ImageCardView;
|
import android.support.v17.leanback.widget.ImageCardView;
|
||||||
import android.support.v17.leanback.widget.Presenter;
|
import android.support.v17.leanback.widget.Presenter;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.dialogs;
|
package org.dolphinemu.dolphinemu.dialogs;
|
||||||
|
|
||||||
|
|
||||||
import android.app.AlertDialog;
|
import android.app.AlertDialog;
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
import android.app.DialogFragment;
|
import android.app.DialogFragment;
|
||||||
|
@ -63,7 +62,7 @@ public final class GameDetailsDialog extends DialogFragment
|
||||||
FloatingActionButton buttonLaunch = (FloatingActionButton) contents.findViewById(R.id.button_launch);
|
FloatingActionButton buttonLaunch = (FloatingActionButton) contents.findViewById(R.id.button_launch);
|
||||||
|
|
||||||
int countryIndex = getArguments().getInt(ARGUMENT_GAME_COUNTRY);
|
int countryIndex = getArguments().getInt(ARGUMENT_GAME_COUNTRY);
|
||||||
String country = getResources().getStringArray(R.array.country_names)[countryIndex];
|
String country = getResources().getStringArray(R.array.countryNames)[countryIndex];
|
||||||
|
|
||||||
textTitle.setText(getArguments().getString(ARGUMENT_GAME_TITLE));
|
textTitle.setText(getArguments().getString(ARGUMENT_GAME_TITLE));
|
||||||
textDescription.setText(getArguments().getString(ARGUMENT_GAME_DESCRIPTION));
|
textDescription.setText(getArguments().getString(ARGUMENT_GAME_DESCRIPTION));
|
||||||
|
|
|
@ -18,7 +18,6 @@ import org.dolphinemu.dolphinemu.R;
|
||||||
import org.dolphinemu.dolphinemu.overlay.InputOverlay;
|
import org.dolphinemu.dolphinemu.overlay.InputOverlay;
|
||||||
import org.dolphinemu.dolphinemu.utils.Log;
|
import org.dolphinemu.dolphinemu.utils.Log;
|
||||||
|
|
||||||
|
|
||||||
public final class EmulationFragment extends Fragment implements SurfaceHolder.Callback
|
public final class EmulationFragment extends Fragment implements SurfaceHolder.Callback
|
||||||
{
|
{
|
||||||
public static final String FRAGMENT_TAG = BuildConfig.APPLICATION_ID + ".emulation_fragment";
|
public static final String FRAGMENT_TAG = BuildConfig.APPLICATION_ID + ".emulation_fragment";
|
||||||
|
@ -36,7 +35,6 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C
|
||||||
private boolean mEmulationStarted;
|
private boolean mEmulationStarted;
|
||||||
private boolean mEmulationRunning;
|
private boolean mEmulationRunning;
|
||||||
|
|
||||||
|
|
||||||
public static EmulationFragment newInstance(String path)
|
public static EmulationFragment newInstance(String path)
|
||||||
{
|
{
|
||||||
EmulationFragment fragment = new EmulationFragment();
|
EmulationFragment fragment = new EmulationFragment();
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.model;
|
package org.dolphinemu.dolphinemu.model;
|
||||||
|
|
||||||
|
|
||||||
import org.dolphinemu.dolphinemu.NativeLibrary;
|
import org.dolphinemu.dolphinemu.NativeLibrary;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.model;
|
package org.dolphinemu.dolphinemu.model;
|
||||||
|
|
||||||
|
|
||||||
public final class TvSettingsItem
|
public final class TvSettingsItem
|
||||||
{
|
{
|
||||||
private final int mItemId;
|
private final int mItemId;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.model.settings.view;
|
package org.dolphinemu.dolphinemu.model.settings.view;
|
||||||
|
|
||||||
|
|
||||||
import org.dolphinemu.dolphinemu.model.settings.BooleanSetting;
|
import org.dolphinemu.dolphinemu.model.settings.BooleanSetting;
|
||||||
import org.dolphinemu.dolphinemu.model.settings.Setting;
|
import org.dolphinemu.dolphinemu.model.settings.Setting;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.model.settings.view;
|
package org.dolphinemu.dolphinemu.model.settings.view;
|
||||||
|
|
||||||
|
|
||||||
import org.dolphinemu.dolphinemu.model.settings.Setting;
|
import org.dolphinemu.dolphinemu.model.settings.Setting;
|
||||||
|
|
||||||
public final class HeaderSetting extends SettingsItem
|
public final class HeaderSetting extends SettingsItem
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.model.settings.view;
|
package org.dolphinemu.dolphinemu.model.settings.view;
|
||||||
|
|
||||||
|
|
||||||
import org.dolphinemu.dolphinemu.model.settings.IntSetting;
|
import org.dolphinemu.dolphinemu.model.settings.IntSetting;
|
||||||
import org.dolphinemu.dolphinemu.model.settings.Setting;
|
import org.dolphinemu.dolphinemu.model.settings.Setting;
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ import java.util.Set;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Draws the interactive input overlay on top of the
|
* Draws the interactive input overlay on top of the
|
||||||
* {@link NativeGLSurfaceView} that is rendering emulation.
|
* {@link SurfaceView} that is rendering emulation.
|
||||||
*/
|
*/
|
||||||
public final class InputOverlay extends SurfaceView implements OnTouchListener
|
public final class InputOverlay extends SurfaceView implements OnTouchListener
|
||||||
{
|
{
|
||||||
|
@ -215,8 +215,8 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener
|
||||||
int fingerPositionX = (int)event.getX(pointerIndex);
|
int fingerPositionX = (int)event.getX(pointerIndex);
|
||||||
int fingerPositionY = (int)event.getY(pointerIndex);
|
int fingerPositionY = (int)event.getY(pointerIndex);
|
||||||
|
|
||||||
//Maybe combine Button and Joystick as subclasses of the same parent?
|
// Maybe combine Button and Joystick as subclasses of the same parent?
|
||||||
//Or maybe create an interface like IMoveableHUDControl?
|
// Or maybe create an interface like IMoveableHUDControl?
|
||||||
|
|
||||||
for (InputOverlayDrawableButton button : overlayButtons)
|
for (InputOverlayDrawableButton button : overlayButtons)
|
||||||
{
|
{
|
||||||
|
@ -245,7 +245,7 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener
|
||||||
case MotionEvent.ACTION_POINTER_UP:
|
case MotionEvent.ACTION_POINTER_UP:
|
||||||
if (mButtonBeingConfigured == button)
|
if (mButtonBeingConfigured == button)
|
||||||
{
|
{
|
||||||
//Persist button position by saving new place.
|
// Persist button position by saving new place.
|
||||||
saveControlPosition(mButtonBeingConfigured.getId(), mButtonBeingConfigured.getBounds().left, mButtonBeingConfigured.getBounds().top);
|
saveControlPosition(mButtonBeingConfigured.getId(), mButtonBeingConfigured.getBounds().left, mButtonBeingConfigured.getBounds().top);
|
||||||
mButtonBeingConfigured = null;
|
mButtonBeingConfigured = null;
|
||||||
}
|
}
|
||||||
|
@ -280,7 +280,7 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener
|
||||||
case MotionEvent.ACTION_POINTER_UP:
|
case MotionEvent.ACTION_POINTER_UP:
|
||||||
if (mDpadBeingConfigured == dpad)
|
if (mDpadBeingConfigured == dpad)
|
||||||
{
|
{
|
||||||
//Persist button position by saving new place.
|
// Persist button position by saving new place.
|
||||||
saveControlPosition(mDpadBeingConfigured.getId(0), mDpadBeingConfigured.getBounds().left, mDpadBeingConfigured.getBounds().top);
|
saveControlPosition(mDpadBeingConfigured.getId(0), mDpadBeingConfigured.getBounds().left, mDpadBeingConfigured.getBounds().top);
|
||||||
mDpadBeingConfigured = null;
|
mDpadBeingConfigured = null;
|
||||||
}
|
}
|
||||||
|
@ -638,8 +638,8 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener
|
||||||
|
|
||||||
// The X and Y coordinates of the InputOverlayDrawableButton on the InputOverlay.
|
// The X and Y coordinates of the InputOverlayDrawableButton on the InputOverlay.
|
||||||
// These were set in the input overlay configuration menu.
|
// These were set in the input overlay configuration menu.
|
||||||
int drawableX = (int) sPrefs.getFloat(buttonId+"-X", 0f);
|
int drawableX = (int) sPrefs.getFloat(buttonId + "-X", 0f);
|
||||||
int drawableY = (int) sPrefs.getFloat(buttonId+"-Y", 0f);
|
int drawableY = (int) sPrefs.getFloat(buttonId + "-Y", 0f);
|
||||||
|
|
||||||
// Intrinsic width and height of the InputOverlayDrawableButton.
|
// Intrinsic width and height of the InputOverlayDrawableButton.
|
||||||
// For any who may not know, intrinsic width/height
|
// For any who may not know, intrinsic width/height
|
||||||
|
@ -649,7 +649,7 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener
|
||||||
|
|
||||||
// Now set the bounds for the InputOverlayDrawableButton.
|
// Now set the bounds for the InputOverlayDrawableButton.
|
||||||
// This will dictate where on the screen (and the what the size) the InputOverlayDrawableButton will be.
|
// This will dictate where on the screen (and the what the size) the InputOverlayDrawableButton will be.
|
||||||
overlayDrawable.setBounds(drawableX, drawableY, drawableX+intrinWidth, drawableY+intrinHeight);
|
overlayDrawable.setBounds(drawableX, drawableY, drawableX + intrinWidth, drawableY + intrinHeight);
|
||||||
|
|
||||||
// Need to set the image's position
|
// Need to set the image's position
|
||||||
overlayDrawable.setPosition(drawableX, drawableY);
|
overlayDrawable.setPosition(drawableX, drawableY);
|
||||||
|
@ -660,12 +660,12 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener
|
||||||
/**
|
/**
|
||||||
* Initializes an {@link InputOverlayDrawableDpad}
|
* Initializes an {@link InputOverlayDrawableDpad}
|
||||||
*
|
*
|
||||||
* @param context The current {@link Context}.
|
* @param context The current {@link Context}.
|
||||||
* @param resId The resource ID of the {@link Drawable} to get the {@link Bitmap} of.
|
* @param resId The resource ID of the {@link Drawable} to get the {@link Bitmap} of.
|
||||||
* @param buttonUp Identifier for the up button.
|
* @param buttonUp Identifier for the up button.
|
||||||
* @param buttonDown Identifier for the down button.
|
* @param buttonDown Identifier for the down button.
|
||||||
* @param buttonLeft Identifier for the left button.
|
* @param buttonLeft Identifier for the left button.
|
||||||
* @param buttonRight Identifier for the right button.
|
* @param buttonRight Identifier for the right button.
|
||||||
*
|
*
|
||||||
* @return the initialized {@link InputOverlayDrawableDpad}
|
* @return the initialized {@link InputOverlayDrawableDpad}
|
||||||
*/
|
*/
|
||||||
|
@ -705,8 +705,8 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener
|
||||||
|
|
||||||
// The X and Y coordinates of the InputOverlayDrawableDpad on the InputOverlay.
|
// The X and Y coordinates of the InputOverlayDrawableDpad on the InputOverlay.
|
||||||
// These were set in the input overlay configuration menu.
|
// These were set in the input overlay configuration menu.
|
||||||
int drawableX = (int) sPrefs.getFloat(buttonUp+"-X", 0f);
|
int drawableX = (int) sPrefs.getFloat(buttonUp + "-X", 0f);
|
||||||
int drawableY = (int) sPrefs.getFloat(buttonUp+"-Y", 0f);
|
int drawableY = (int) sPrefs.getFloat(buttonUp + "-Y", 0f);
|
||||||
|
|
||||||
// Intrinsic width and height of the InputOverlayDrawableDpad.
|
// Intrinsic width and height of the InputOverlayDrawableDpad.
|
||||||
// For any who may not know, intrinsic width/height
|
// For any who may not know, intrinsic width/height
|
||||||
|
@ -716,7 +716,7 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener
|
||||||
|
|
||||||
// Now set the bounds for the InputOverlayDrawableDpad.
|
// Now set the bounds for the InputOverlayDrawableDpad.
|
||||||
// This will dictate where on the screen (and the what the size) the InputOverlayDrawableDpad will be.
|
// This will dictate where on the screen (and the what the size) the InputOverlayDrawableDpad will be.
|
||||||
overlayDrawable.setBounds(drawableX, drawableY, drawableX+intrinWidth, drawableY+intrinHeight);
|
overlayDrawable.setBounds(drawableX, drawableY, drawableX + intrinWidth, drawableY + intrinHeight);
|
||||||
|
|
||||||
// Need to set the image's position
|
// Need to set the image's position
|
||||||
overlayDrawable.setPosition(drawableX, drawableY);
|
overlayDrawable.setPosition(drawableX, drawableY);
|
||||||
|
@ -730,7 +730,7 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener
|
||||||
* @param context The current {@link Context}
|
* @param context The current {@link Context}
|
||||||
* @param resOuter Resource ID for the outer image of the joystick (the static image that shows the circular bounds).
|
* @param resOuter Resource ID for the outer image of the joystick (the static image that shows the circular bounds).
|
||||||
* @param resInner Resource ID for the inner image of the joystick (the one you actually move around).
|
* @param resInner Resource ID for the inner image of the joystick (the one you actually move around).
|
||||||
* @param joystick Identifier for which joystick this is.
|
* @param joystick Identifier for which joystick this is.
|
||||||
*
|
*
|
||||||
* @return the initialized {@link InputOverlayDrawableJoystick}.
|
* @return the initialized {@link InputOverlayDrawableJoystick}.
|
||||||
*/
|
*/
|
||||||
|
@ -753,8 +753,8 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener
|
||||||
|
|
||||||
// The X and Y coordinates of the InputOverlayDrawableButton on the InputOverlay.
|
// The X and Y coordinates of the InputOverlayDrawableButton on the InputOverlay.
|
||||||
// These were set in the input overlay configuration menu.
|
// These were set in the input overlay configuration menu.
|
||||||
int drawableX = (int) sPrefs.getFloat(joystick+"-X", 0f);
|
int drawableX = (int) sPrefs.getFloat(joystick + "-X", 0f);
|
||||||
int drawableY = (int) sPrefs.getFloat(joystick+"-Y", 0f);
|
int drawableY = (int) sPrefs.getFloat(joystick + "-Y", 0f);
|
||||||
|
|
||||||
// Decide inner scale based on joystick ID
|
// Decide inner scale based on joystick ID
|
||||||
float innerScale;
|
float innerScale;
|
||||||
|
@ -797,5 +797,4 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener
|
||||||
{
|
{
|
||||||
return mIsInEditMode;
|
return mIsInEditMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,10 +29,10 @@ public final class InputOverlayDrawableDpad extends BitmapDrawable
|
||||||
*
|
*
|
||||||
* @param res {@link Resources} instance.
|
* @param res {@link Resources} instance.
|
||||||
* @param bitmap {@link Bitmap} to use with this Drawable.
|
* @param bitmap {@link Bitmap} to use with this Drawable.
|
||||||
* @param buttonUp Identifier for the up button.
|
* @param buttonUp Identifier for the up button.
|
||||||
* @param buttonDown Identifier for the down button.
|
* @param buttonDown Identifier for the down button.
|
||||||
* @param buttonLeft Identifier for the left button.
|
* @param buttonLeft Identifier for the left button.
|
||||||
* @param buttonRight Identifier for the right button.
|
* @param buttonRight Identifier for the right button.
|
||||||
*/
|
*/
|
||||||
public InputOverlayDrawableDpad(Resources res, Bitmap bitmap,
|
public InputOverlayDrawableDpad(Resources res, Bitmap bitmap,
|
||||||
int buttonUp, int buttonDown,
|
int buttonUp, int buttonDown,
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.ui.main;
|
package org.dolphinemu.dolphinemu.ui.main;
|
||||||
|
|
||||||
|
|
||||||
import android.database.Cursor;
|
import android.database.Cursor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -250,7 +250,7 @@ public final class TvMainActivity extends Activity implements MainView
|
||||||
R.string.grid_menu_refresh));
|
R.string.grid_menu_refresh));
|
||||||
|
|
||||||
// Create a header for this row.
|
// Create a header for this row.
|
||||||
HeaderItem header = new HeaderItem(R.string.settings, getString(R.string.settings));
|
HeaderItem header = new HeaderItem(R.string.preferences_settings, getString(R.string.preferences_settings));
|
||||||
|
|
||||||
return new ListRow(header, rowItems);
|
return new ListRow(header, rowItems);
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,15 +48,14 @@ public final class PlatformGamesPresenter
|
||||||
.subscribeOn(Schedulers.io())
|
.subscribeOn(Schedulers.io())
|
||||||
.observeOn(AndroidSchedulers.mainThread())
|
.observeOn(AndroidSchedulers.mainThread())
|
||||||
.subscribe(new Action1<Cursor>()
|
.subscribe(new Action1<Cursor>()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void call(Cursor games)
|
public void call(Cursor games)
|
||||||
{
|
{
|
||||||
Log.debug("[PlatformGamesPresenter] " + mPlatform + ": Load finished, swapping cursor...");
|
Log.debug("[PlatformGamesPresenter] " + mPlatform + ": Load finished, swapping cursor...");
|
||||||
|
|
||||||
mView.showGames(games);
|
mView.showGames(games);
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.ui.platform;
|
package org.dolphinemu.dolphinemu.ui.platform;
|
||||||
|
|
||||||
|
|
||||||
import android.database.Cursor;
|
import android.database.Cursor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.ui.settings;
|
package org.dolphinemu.dolphinemu.ui.settings;
|
||||||
|
|
||||||
|
|
||||||
import android.app.FragmentTransaction;
|
import android.app.FragmentTransaction;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.ui.settings;
|
package org.dolphinemu.dolphinemu.ui.settings;
|
||||||
|
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
|
||||||
import org.dolphinemu.dolphinemu.BuildConfig;
|
import org.dolphinemu.dolphinemu.BuildConfig;
|
||||||
|
@ -58,23 +57,23 @@ public final class SettingsActivityPresenter
|
||||||
.subscribeOn(Schedulers.io())
|
.subscribeOn(Schedulers.io())
|
||||||
.observeOn(AndroidSchedulers.mainThread())
|
.observeOn(AndroidSchedulers.mainThread())
|
||||||
.subscribe(new Action1<HashMap<String, SettingSection>>()
|
.subscribe(new Action1<HashMap<String, SettingSection>>()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void call(HashMap<String, SettingSection> settingsBySection)
|
public void call(HashMap<String, SettingSection> settingsBySection)
|
||||||
{
|
{
|
||||||
mSettingsBySection = settingsBySection;
|
mSettingsBySection = settingsBySection;
|
||||||
mView.onSettingsFileLoaded(settingsBySection);
|
mView.onSettingsFileLoaded(settingsBySection);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
new Action1<Throwable>()
|
new Action1<Throwable>()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void call(Throwable throwable)
|
public void call(Throwable throwable)
|
||||||
{
|
{
|
||||||
Log.error("[SettingsActivityPresenter] Error reading file " + filename + ".ini: "+ throwable.getMessage());
|
Log.error("[SettingsActivityPresenter] Error reading file " + filename + ".ini: "+ throwable.getMessage());
|
||||||
mView.onSettingsFileNotFound();
|
mView.onSettingsFileNotFound();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -100,23 +99,22 @@ public final class SettingsActivityPresenter
|
||||||
SettingsFile.saveFile(mFileName, mSettingsBySection)
|
SettingsFile.saveFile(mFileName, mSettingsBySection)
|
||||||
.subscribeOn(Schedulers.io())
|
.subscribeOn(Schedulers.io())
|
||||||
.observeOn(AndroidSchedulers.mainThread())
|
.observeOn(AndroidSchedulers.mainThread())
|
||||||
.subscribe(
|
.subscribe(new Action1<Boolean>()
|
||||||
new Action1<Boolean>()
|
{
|
||||||
{
|
@Override
|
||||||
@Override
|
public void call(Boolean aBoolean)
|
||||||
public void call(Boolean aBoolean)
|
{
|
||||||
{
|
mView.showToastMessage("Saved successfully to " + mFileName + ".ini");
|
||||||
mView.showToastMessage("Saved successfully to " + mFileName + ".ini");
|
}
|
||||||
}
|
},
|
||||||
},
|
new Action1<Throwable>()
|
||||||
new Action1<Throwable>()
|
{
|
||||||
{
|
@Override
|
||||||
@Override
|
public void call(Throwable throwable)
|
||||||
public void call(Throwable throwable)
|
{
|
||||||
{
|
mView.showToastMessage("Error saving " + mFileName + ".ini: " + throwable.getMessage());
|
||||||
mView.showToastMessage("Error saving " + mFileName + ".ini: " + throwable.getMessage());
|
}
|
||||||
}
|
});
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -158,8 +158,8 @@ public final class SettingsAdapter extends RecyclerView.Adapter<SettingViewHolde
|
||||||
|
|
||||||
builder.setTitle(item.getNameId());
|
builder.setTitle(item.getNameId());
|
||||||
builder.setView(view);
|
builder.setView(view);
|
||||||
builder.setPositiveButton(R.string.dialog_seekbar_pos, this);
|
builder.setPositiveButton(R.string.ok, this);
|
||||||
builder.setNegativeButton(R.string.dialog_seekbar_neg, this);
|
builder.setNegativeButton(R.string.cancel, this);
|
||||||
mDialog = builder.show();
|
mDialog = builder.show();
|
||||||
|
|
||||||
mTextSliderValue = (TextView) view.findViewById(R.id.text_value);
|
mTextSliderValue = (TextView) view.findViewById(R.id.text_value);
|
||||||
|
|
|
@ -160,7 +160,7 @@ public final class SettingsFragmentPresenter
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO Set default value for cpuCore based on arch.
|
// TODO Set default value for cpuCore based on arch.
|
||||||
sl.add(new SingleChoiceSetting(SettingsFile.KEY_CPU_CORE, SettingsFile.SECTION_CORE, R.string.cpu_core, 0, R.array.string_emu_cores, R.array.int_emu_cores, 4, cpuCore));
|
sl.add(new SingleChoiceSetting(SettingsFile.KEY_CPU_CORE, SettingsFile.SECTION_CORE, R.string.cpu_core, 0, R.array.emuCoresEntries, R.array.emuCoresValues, 4, cpuCore));
|
||||||
sl.add(new CheckBoxSetting(SettingsFile.KEY_DUAL_CORE, SettingsFile.SECTION_CORE, R.string.dual_core, R.string.dual_core_descrip, true, dualCore));
|
sl.add(new CheckBoxSetting(SettingsFile.KEY_DUAL_CORE, SettingsFile.SECTION_CORE, R.string.dual_core, R.string.dual_core_descrip, true, dualCore));
|
||||||
sl.add(new CheckBoxSetting(SettingsFile.KEY_OVERCLOCK_ENABLE, SettingsFile.SECTION_CORE, R.string.overclock_enable, R.string.overclock_enable_description, false, overclockEnable));
|
sl.add(new CheckBoxSetting(SettingsFile.KEY_OVERCLOCK_ENABLE, SettingsFile.SECTION_CORE, R.string.overclock_enable, R.string.overclock_enable_description, false, overclockEnable));
|
||||||
sl.add(new SliderSetting(SettingsFile.KEY_OVERCLOCK_PERCENT, SettingsFile.SECTION_CORE, R.string.overclock_title, 0, 400, "%", 100, overclock));
|
sl.add(new SliderSetting(SettingsFile.KEY_OVERCLOCK_PERCENT, SettingsFile.SECTION_CORE, R.string.overclock_title, 0, 400, "%", 100, overclock));
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.ui.settings.viewholder;
|
package org.dolphinemu.dolphinemu.ui.settings.viewholder;
|
||||||
|
|
||||||
|
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.widget.CheckBox;
|
import android.widget.CheckBox;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.ui.settings.viewholder;
|
package org.dolphinemu.dolphinemu.ui.settings.viewholder;
|
||||||
|
|
||||||
|
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
|
|
|
@ -61,6 +61,4 @@ public final class InputBindingPreference extends EditTextPreference
|
||||||
String summary = super.getSummary().toString();
|
String summary = super.getSummary().toString();
|
||||||
return String.format(summary, getText());
|
return String.format(summary, getText());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.utils;
|
package org.dolphinemu.dolphinemu.utils;
|
||||||
|
|
||||||
|
|
||||||
import org.dolphinemu.dolphinemu.BuildConfig;
|
import org.dolphinemu.dolphinemu.BuildConfig;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package org.dolphinemu.dolphinemu.viewholders;
|
package org.dolphinemu.dolphinemu.viewholders;
|
||||||
|
|
||||||
|
|
||||||
import android.support.v17.leanback.widget.ImageCardView;
|
import android.support.v17.leanback.widget.ImageCardView;
|
||||||
import android.support.v17.leanback.widget.Presenter;
|
import android.support.v17.leanback.widget.Presenter;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<!-- res/anim/button_elevation.xml -->
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<item android:state_pressed="true">
|
<item android:state_pressed="true">
|
||||||
<objectAnimator
|
<objectAnimator
|
||||||
android:propertyName="translationZ"
|
android:propertyName="translationZ"
|
||||||
|
@ -8,6 +9,7 @@
|
||||||
android:valueTo="@dimen/elevation_high"
|
android:valueTo="@dimen/elevation_high"
|
||||||
android:valueType="floatType"/>
|
android:valueType="floatType"/>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<objectAnimator
|
<objectAnimator
|
||||||
android:propertyName="translationZ"
|
android:propertyName="translationZ"
|
||||||
|
@ -16,4 +18,5 @@
|
||||||
android:valueTo="@dimen/elevation_low"
|
android:valueTo="@dimen/elevation_low"
|
||||||
android:valueType="floatType"/>
|
android:valueType="floatType"/>
|
||||||
</item>
|
</item>
|
||||||
</selector>
|
|
||||||
|
</set>
|
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<objectAnimator
|
<objectAnimator
|
||||||
android:propertyName="translationX"
|
android:propertyName="translationX"
|
||||||
android:valueType="floatType"
|
android:valueType="floatType"
|
||||||
|
@ -7,6 +8,7 @@
|
||||||
android:valueTo="0"
|
android:valueTo="0"
|
||||||
android:interpolator="@android:interpolator/decelerate_quad"
|
android:interpolator="@android:interpolator/decelerate_quad"
|
||||||
android:duration="300"/>
|
android:duration="300"/>
|
||||||
|
|
||||||
<objectAnimator
|
<objectAnimator
|
||||||
android:propertyName="alpha"
|
android:propertyName="alpha"
|
||||||
android:valueType="floatType"
|
android:valueType="floatType"
|
||||||
|
@ -14,4 +16,5 @@
|
||||||
android:valueTo="1"
|
android:valueTo="1"
|
||||||
android:interpolator="@android:interpolator/accelerate_quad"
|
android:interpolator="@android:interpolator/accelerate_quad"
|
||||||
android:duration="300"/>
|
android:duration="300"/>
|
||||||
|
|
||||||
</set>
|
</set>
|
|
@ -1,18 +1,21 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<!-- This animation is used ONLY when a submenu is replaced. -->
|
<!-- This animation is used ONLY when a submenu is replaced. -->
|
||||||
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
|
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:propertyName="translationX"
|
android:propertyName="translationX"
|
||||||
android:valueType="floatType"
|
android:valueType="floatType"
|
||||||
android:valueFrom="0"
|
android:valueFrom="0"
|
||||||
android:valueTo="1280"
|
android:valueTo="1280"
|
||||||
android:interpolator="@android:interpolator/decelerate_quad"
|
android:interpolator="@android:interpolator/decelerate_quad"
|
||||||
android:duration="300"/>
|
android:duration="300"/>
|
||||||
|
|
||||||
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
|
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:propertyName="alpha"
|
android:propertyName="alpha"
|
||||||
android:valueType="floatType"
|
android:valueType="floatType"
|
||||||
android:valueFrom="1"
|
android:valueFrom="1"
|
||||||
android:valueTo="0"
|
android:valueTo="0"
|
||||||
android:interpolator="@android:interpolator/decelerate_quad"
|
android:interpolator="@android:interpolator/decelerate_quad"
|
||||||
android:duration="300"/>
|
android:duration="300"/>
|
||||||
|
|
||||||
</set>
|
</set>
|
|
@ -24,4 +24,5 @@
|
||||||
android:startOffset="@android:integer/config_shortAnimTime"
|
android:startOffset="@android:integer/config_shortAnimTime"
|
||||||
android:valueFrom="100.0"
|
android:valueFrom="100.0"
|
||||||
android:valueTo="0"/>
|
android:valueTo="0"/>
|
||||||
|
|
||||||
</set>
|
</set>
|
|
@ -24,4 +24,5 @@
|
||||||
android:startOffset="@android:integer/config_shortAnimTime"
|
android:startOffset="@android:integer/config_shortAnimTime"
|
||||||
android:valueFrom="0"
|
android:valueFrom="0"
|
||||||
android:valueTo="-100.0"/>
|
android:valueTo="-100.0"/>
|
||||||
|
|
||||||
</set>
|
</set>
|
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<objectAnimator
|
<objectAnimator
|
||||||
android:duration="@android:integer/config_mediumAnimTime"
|
android:duration="@android:integer/config_mediumAnimTime"
|
||||||
android:interpolator="@android:interpolator/decelerate_cubic"
|
android:interpolator="@android:interpolator/decelerate_cubic"
|
||||||
|
|
|
@ -23,4 +23,5 @@
|
||||||
android:startOffset="@android:integer/config_shortAnimTime"
|
android:startOffset="@android:integer/config_shortAnimTime"
|
||||||
android:valueFrom="0.0"
|
android:valueFrom="0.0"
|
||||||
android:valueTo="100"/>
|
android:valueTo="100"/>
|
||||||
|
|
||||||
</set>
|
</set>
|
|
@ -11,4 +11,5 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:focusable="false"
|
android:focusable="false"
|
||||||
android:focusableInTouchMode="false"/>
|
android:focusableInTouchMode="false"/>
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
|
@ -14,7 +14,6 @@
|
||||||
android:theme="@android:style/ThemeOverlay.Material.Dark.ActionBar"
|
android:theme="@android:style/ThemeOverlay.Material.Dark.ActionBar"
|
||||||
android:elevation="6dp"/>
|
android:elevation="6dp"/>
|
||||||
|
|
||||||
|
|
||||||
<android.support.v7.widget.RecyclerView
|
<android.support.v7.widget.RecyclerView
|
||||||
android:id="@+id/list_files"
|
android:id="@+id/list_files"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -25,5 +24,4 @@
|
||||||
android:elevation="4dp"
|
android:elevation="4dp"
|
||||||
android:background="@android:color/white"/>
|
android:background="@android:color/white"/>
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
|
@ -1,8 +1,7 @@
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:id="@+id/frame_content"
|
android:id="@+id/frame_content">
|
||||||
>
|
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/frame_emulation_fragment"
|
android:id="@+id/frame_emulation_fragment"
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
app:tabMode="fixed"
|
app:tabMode="fixed"
|
||||||
app:tabGravity="fill"/>
|
app:tabGravity="fill"/>
|
||||||
|
|
||||||
|
|
||||||
</android.support.design.widget.AppBarLayout>
|
</android.support.design.widget.AppBarLayout>
|
||||||
|
|
||||||
<android.support.v4.view.ViewPager
|
<android.support.v4.view.ViewPager
|
||||||
|
@ -45,4 +44,5 @@
|
||||||
app:rippleColor="?android:colorPrimaryDark"
|
app:rippleColor="?android:colorPrimaryDark"
|
||||||
app:layout_anchor="@+id/pager_platforms"
|
app:layout_anchor="@+id/pager_platforms"
|
||||||
app:layout_anchorGravity="bottom|right|end"/>
|
app:layout_anchorGravity="bottom|right|end"/>
|
||||||
|
|
||||||
</android.support.design.widget.CoordinatorLayout>
|
</android.support.design.widget.CoordinatorLayout>
|
|
@ -7,7 +7,6 @@
|
||||||
android:name="android.support.v17.leanback.app.BrowseFragment"
|
android:name="android.support.v17.leanback.app.BrowseFragment"
|
||||||
android:id="@+id/fragment_game_list"
|
android:id="@+id/fragment_game_list"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"/>
|
||||||
/>
|
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
|
@ -1,5 +1,4 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -8,8 +7,7 @@
|
||||||
android:transitionName="card_game"
|
android:transitionName="card_game"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:foreground="?android:attr/selectableItemBackground"
|
android:foreground="?android:attr/selectableItemBackground">
|
||||||
>
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|
|
@ -20,8 +20,7 @@
|
||||||
android:layout_marginTop="24dp"
|
android:layout_marginTop="24dp"
|
||||||
tools:src="@drawable/placeholder_banner"
|
tools:src="@drawable/placeholder_banner"
|
||||||
app:civ_border_color="?android:colorAccent"
|
app:civ_border_color="?android:colorAccent"
|
||||||
app:civ_border_width="2dp"
|
app:civ_border_width="2dp"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/image_game_screen"
|
android:id="@+id/image_game_screen"
|
||||||
|
@ -59,8 +58,7 @@
|
||||||
android:layout_alignStart="@+id/text_game_title"
|
android:layout_alignStart="@+id/text_game_title"
|
||||||
android:layout_below="@+id/text_game_title"
|
android:layout_below="@+id/text_game_title"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
tools:text="Zany rhythm action!"
|
tools:text="Zany rhythm action!"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:id="@+id/divider"
|
android:id="@+id/divider"
|
||||||
|
@ -70,7 +68,6 @@
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_below="@+id/text_company"
|
android:layout_below="@+id/text_company"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
|
|
||||||
android:background="#1F000000"/>
|
android:background="#1F000000"/>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
|
@ -122,13 +119,12 @@
|
||||||
android:layout_alignEnd="@+id/text_game_title"
|
android:layout_alignEnd="@+id/text_game_title"
|
||||||
android:layout_marginBottom="-28dp"
|
android:layout_marginBottom="-28dp"
|
||||||
android:src="@drawable/ic_play"
|
android:src="@drawable/ic_play"
|
||||||
android:stateListAnimator="@anim/button_elevation"
|
android:stateListAnimator="@animator/button_elevation"
|
||||||
app:rippleColor="?android:colorPrimaryDark"
|
app:rippleColor="?android:colorPrimaryDark"
|
||||||
app:borderWidth="0dp"
|
app:borderWidth="0dp"
|
||||||
app:elevation="6dp"
|
app:elevation="6dp"
|
||||||
app:pressedTranslationZ="12dp"
|
app:pressedTranslationZ="12dp"/>
|
||||||
/>
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent">
|
||||||
>
|
|
||||||
|
|
||||||
<android.support.v7.widget.RecyclerView
|
<android.support.v7.widget.RecyclerView
|
||||||
android:id="@+id/grid_games"
|
android:id="@+id/grid_games"
|
||||||
|
@ -12,4 +11,5 @@
|
||||||
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
||||||
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
||||||
tools:listitem="@layout/card_game"/>
|
tools:listitem="@layout/card_game"/>
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
|
@ -5,8 +5,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@color/dolphin_blue_dark"
|
android:background="@color/dolphin_blue_dark"
|
||||||
tools:layout_width="250dp"
|
tools:layout_width="250dp">
|
||||||
>
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/text_game_title"
|
android:id="@+id/text_game_title"
|
||||||
|
@ -20,8 +19,7 @@
|
||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1">
|
||||||
>
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/layout_options"
|
android:id="@+id/layout_options"
|
||||||
|
@ -31,7 +29,7 @@
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_take_screenshot"
|
android:id="@+id/menu_take_screenshot"
|
||||||
android:text="@string/overlay_screenshot"
|
android:text="@string/emulation_screenshot"
|
||||||
style="@style/InGameMenuOption"/>
|
style="@style/InGameMenuOption"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
@ -46,17 +44,17 @@
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_emulation_save_root"
|
android:id="@+id/menu_emulation_save_root"
|
||||||
android:text="@string/overlay_savestate"
|
android:text="@string/emulation_savestate"
|
||||||
style="@style/InGameMenuOption"/>
|
style="@style/InGameMenuOption"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_emulation_load_root"
|
android:id="@+id/menu_emulation_load_root"
|
||||||
android:text="@string/overlay_loadstate"
|
android:text="@string/emulation_loadstate"
|
||||||
style="@style/InGameMenuOption"/>
|
style="@style/InGameMenuOption"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_ingame_settings"
|
android:id="@+id/menu_ingame_settings"
|
||||||
android:text="@string/settings"
|
android:text="@string/preferences_settings"
|
||||||
style="@style/InGameMenuOption"/>
|
style="@style/InGameMenuOption"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
@ -66,9 +64,11 @@
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_exit"
|
android:id="@+id/menu_exit"
|
||||||
android:text="@string/overlay_exit_emulation"
|
android:text="@string/emulation_exit"
|
||||||
style="@style/InGameMenuOption"/>
|
style="@style/InGameMenuOption"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
|
@ -14,23 +14,20 @@
|
||||||
|
|
||||||
<include
|
<include
|
||||||
android:id="@+id/list_item_controller_one"
|
android:id="@+id/list_item_controller_one"
|
||||||
layout="@layout/list_item_setting"
|
layout="@layout/list_item_setting"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<include
|
<include
|
||||||
android:id="@+id/list_item_controller_two"
|
android:id="@+id/list_item_controller_two"
|
||||||
layout="@layout/list_item_setting"
|
layout="@layout/list_item_setting"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<include
|
<include
|
||||||
android:id="@+id/list_item_controller_two"
|
android:id="@+id/list_item_controller_two"
|
||||||
layout="@layout/list_item_setting"
|
layout="@layout/list_item_setting"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<include
|
<include
|
||||||
android:id="@+id/list_item_controller_two"
|
android:id="@+id/list_item_controller_two"
|
||||||
layout="@layout/list_item_setting"
|
layout="@layout/list_item_setting"/>
|
||||||
/>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</org.dolphinemu.dolphinemu.ui.settings.SettingsFrameLayout>
|
</org.dolphinemu.dolphinemu.ui.settings.SettingsFrameLayout>
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<org.dolphinemu.dolphinemu.ui.settings.SettingsFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<org.dolphinemu.dolphinemu.ui.settings.SettingsFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
<android.support.v7.widget.RecyclerView
|
<android.support.v7.widget.RecyclerView
|
||||||
android:id="@+id/list_settings"
|
android:id="@+id/list_settings"
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="#af000000"
|
android:background="#af000000"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical">
|
||||||
>
|
|
||||||
|
|
||||||
<GridLayout
|
<GridLayout
|
||||||
android:id="@+id/grid_state_slots"
|
android:id="@+id/grid_state_slots"
|
||||||
|
@ -18,48 +17,44 @@
|
||||||
android:id="@+id/menu_emulation_load_1"
|
android:id="@+id/menu_emulation_load_1"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="128dp"
|
||||||
android:text="@string/overlay_slot1"
|
android:text="@string/emulation_slot1"
|
||||||
style="@style/InGameMenuOption"
|
style="@style/InGameMenuOption"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_emulation_load_2"
|
android:id="@+id/menu_emulation_load_2"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="128dp"
|
||||||
android:text="@string/overlay_slot2"
|
android:text="@string/emulation_slot2"
|
||||||
style="@style/InGameMenuOption"
|
style="@style/InGameMenuOption"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_emulation_load_3"
|
android:id="@+id/menu_emulation_load_3"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="128dp"
|
||||||
android:text="@string/overlay_slot3"
|
android:text="@string/emulation_slot3"
|
||||||
style="@style/InGameMenuOption"
|
style="@style/InGameMenuOption"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_emulation_load_4"
|
android:id="@+id/menu_emulation_load_4"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="128dp"
|
||||||
android:text="@string/overlay_slot4"
|
android:text="@string/emulation_slot4"
|
||||||
style="@style/InGameMenuOption"
|
style="@style/InGameMenuOption"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_emulation_load_5"
|
android:id="@+id/menu_emulation_load_5"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="128dp"
|
||||||
android:text="@string/overlay_slot5"
|
android:text="@string/emulation_slot5"
|
||||||
style="@style/InGameMenuOption"
|
style="@style/InGameMenuOption"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_emulation_load_6"
|
android:id="@+id/menu_emulation_load_6"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="128dp"
|
||||||
android:text="@string/overlay_slot6"
|
android:text="@string/emulation_slot6"
|
||||||
style="@style/InGameMenuOption"
|
style="@style/InGameMenuOption"/>
|
||||||
/>
|
|
||||||
</GridLayout>
|
</GridLayout>
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
|
@ -3,8 +3,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="#af000000"
|
android:background="#af000000"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical">
|
||||||
>
|
|
||||||
|
|
||||||
<GridLayout
|
<GridLayout
|
||||||
android:id="@+id/grid_state_slots"
|
android:id="@+id/grid_state_slots"
|
||||||
|
@ -18,48 +17,44 @@
|
||||||
android:id="@+id/menu_emulation_save_1"
|
android:id="@+id/menu_emulation_save_1"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="128dp"
|
||||||
android:text="@string/overlay_slot1"
|
android:text="@string/emulation_slot1"
|
||||||
style="@style/InGameMenuOption"
|
style="@style/InGameMenuOption"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_emulation_save_2"
|
android:id="@+id/menu_emulation_save_2"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="128dp"
|
||||||
android:text="@string/overlay_slot2"
|
android:text="@string/emulation_slot2"
|
||||||
style="@style/InGameMenuOption"
|
style="@style/InGameMenuOption"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_emulation_save_3"
|
android:id="@+id/menu_emulation_save_3"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="128dp"
|
||||||
android:text="@string/overlay_slot3"
|
android:text="@string/emulation_slot3"
|
||||||
style="@style/InGameMenuOption"
|
style="@style/InGameMenuOption"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_emulation_save_4"
|
android:id="@+id/menu_emulation_save_4"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="128dp"
|
||||||
android:text="@string/overlay_slot4"
|
android:text="@string/emulation_slot4"
|
||||||
style="@style/InGameMenuOption"
|
style="@style/InGameMenuOption"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_emulation_save_5"
|
android:id="@+id/menu_emulation_save_5"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="128dp"
|
||||||
android:text="@string/overlay_slot5"
|
android:text="@string/emulation_slot5"
|
||||||
style="@style/InGameMenuOption"
|
style="@style/InGameMenuOption"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/menu_emulation_save_6"
|
android:id="@+id/menu_emulation_save_6"
|
||||||
android:layout_width="128dp"
|
android:layout_width="128dp"
|
||||||
android:layout_height="128dp"
|
android:layout_height="128dp"
|
||||||
android:text="@string/overlay_slot6"
|
android:text="@string/emulation_slot6"
|
||||||
style="@style/InGameMenuOption"
|
style="@style/InGameMenuOption"/>
|
||||||
/>
|
|
||||||
</GridLayout>
|
</GridLayout>
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
|
@ -1,9 +1,11 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
|
|
||||||
<!-- TODO Please give me an icon! -->
|
<!-- TODO Please give me an icon! -->
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_up_one_level"
|
android:id="@+id/menu_up_one_level"
|
||||||
android:title="@string/add_directory_up_one_level"
|
android:title="@string/add_directory_up_one_level"
|
||||||
app:showAsAction="ifRoom|withText"/>
|
app:showAsAction="ifRoom|withText"/>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
|
@ -6,47 +6,45 @@
|
||||||
android:id="@+id/menu_emulation_screenshot"
|
android:id="@+id/menu_emulation_screenshot"
|
||||||
android:showAsAction="ifRoom"
|
android:showAsAction="ifRoom"
|
||||||
android:icon="@drawable/ic_screenshot"
|
android:icon="@drawable/ic_screenshot"
|
||||||
android:title="@string/overlay_screenshot"/>
|
android:title="@string/emulation_screenshot"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_quicksave"
|
android:id="@+id/menu_quicksave"
|
||||||
android:showAsAction="ifRoom"
|
android:showAsAction="ifRoom"
|
||||||
android:icon="@drawable/ic_quicksave"
|
android:icon="@drawable/ic_quicksave"
|
||||||
android:title="@string/emulation_quicksave"
|
android:title="@string/emulation_quicksave"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_quickload"
|
android:id="@+id/menu_quickload"
|
||||||
android:showAsAction="ifRoom"
|
android:showAsAction="ifRoom"
|
||||||
android:icon="@drawable/ic_quickload"
|
android:icon="@drawable/ic_quickload"
|
||||||
android:title="@string/emulation_quickload"
|
android:title="@string/emulation_quickload"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- Save State Slots -->
|
<!-- Save State Slots -->
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_save_root"
|
android:id="@+id/menu_emulation_save_root"
|
||||||
android:showAsAction="never"
|
android:showAsAction="never"
|
||||||
android:title="@string/overlay_savestate">
|
android:title="@string/emulation_savestate">
|
||||||
<menu>
|
<menu>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_save_1"
|
android:id="@+id/menu_emulation_save_1"
|
||||||
android:title="@string/overlay_slot1"/>
|
android:title="@string/emulation_slot1"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_save_2"
|
android:id="@+id/menu_emulation_save_2"
|
||||||
android:title="@string/overlay_slot2"/>
|
android:title="@string/emulation_slot2"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_save_3"
|
android:id="@+id/menu_emulation_save_3"
|
||||||
android:title="@string/overlay_slot3"/>
|
android:title="@string/emulation_slot3"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_save_4"
|
android:id="@+id/menu_emulation_save_4"
|
||||||
android:title="@string/overlay_slot4"/>
|
android:title="@string/emulation_slot4"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_save_5"
|
android:id="@+id/menu_emulation_save_5"
|
||||||
android:title="@string/overlay_slot5"/>
|
android:title="@string/emulation_slot5"/>
|
||||||
</menu>
|
</menu>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
@ -54,27 +52,27 @@
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_load_root"
|
android:id="@+id/menu_emulation_load_root"
|
||||||
android:showAsAction="never"
|
android:showAsAction="never"
|
||||||
android:title="@string/overlay_loadstate">
|
android:title="@string/emulation_loadstate">
|
||||||
<menu>
|
<menu>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_load_1"
|
android:id="@+id/menu_emulation_load_1"
|
||||||
android:title="@string/overlay_slot1"/>
|
android:title="@string/emulation_slot1"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_load_2"
|
android:id="@+id/menu_emulation_load_2"
|
||||||
android:title="@string/overlay_slot2"/>
|
android:title="@string/emulation_slot2"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_load_3"
|
android:id="@+id/menu_emulation_load_3"
|
||||||
android:title="@string/overlay_slot3"/>
|
android:title="@string/emulation_slot3"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_load_4"
|
android:id="@+id/menu_emulation_load_4"
|
||||||
android:title="@string/overlay_slot4"/>
|
android:title="@string/emulation_slot4"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_load_5"
|
android:id="@+id/menu_emulation_load_5"
|
||||||
android:title="@string/overlay_slot5"/>
|
android:title="@string/emulation_slot5"/>
|
||||||
</menu>
|
</menu>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
@ -96,4 +94,5 @@
|
||||||
android:title="@string/emulation_control_scale"/>
|
android:title="@string/emulation_control_scale"/>
|
||||||
</menu>
|
</menu>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
|
@ -6,47 +6,45 @@
|
||||||
android:id="@+id/menu_emulation_screenshot"
|
android:id="@+id/menu_emulation_screenshot"
|
||||||
android:showAsAction="ifRoom"
|
android:showAsAction="ifRoom"
|
||||||
android:icon="@drawable/ic_screenshot"
|
android:icon="@drawable/ic_screenshot"
|
||||||
android:title="@string/overlay_screenshot"/>
|
android:title="@string/emulation_screenshot"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_quicksave"
|
android:id="@+id/menu_quicksave"
|
||||||
android:showAsAction="ifRoom"
|
android:showAsAction="ifRoom"
|
||||||
android:icon="@drawable/ic_quicksave"
|
android:icon="@drawable/ic_quicksave"
|
||||||
android:title="@string/emulation_quicksave"
|
android:title="@string/emulation_quicksave"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_quickload"
|
android:id="@+id/menu_quickload"
|
||||||
android:showAsAction="ifRoom"
|
android:showAsAction="ifRoom"
|
||||||
android:icon="@drawable/ic_quickload"
|
android:icon="@drawable/ic_quickload"
|
||||||
android:title="@string/emulation_quickload"
|
android:title="@string/emulation_quickload"/>
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- Save State Slots -->
|
<!-- Save State Slots -->
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_save_root"
|
android:id="@+id/menu_emulation_save_root"
|
||||||
android:showAsAction="never"
|
android:showAsAction="never"
|
||||||
android:title="@string/overlay_savestate">
|
android:title="@string/emulation_savestate">
|
||||||
<menu>
|
<menu>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_save_1"
|
android:id="@+id/menu_emulation_save_1"
|
||||||
android:title="@string/overlay_slot1"/>
|
android:title="@string/emulation_slot1"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_save_2"
|
android:id="@+id/menu_emulation_save_2"
|
||||||
android:title="@string/overlay_slot2"/>
|
android:title="@string/emulation_slot2"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_save_3"
|
android:id="@+id/menu_emulation_save_3"
|
||||||
android:title="@string/overlay_slot3"/>
|
android:title="@string/emulation_slot3"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_save_4"
|
android:id="@+id/menu_emulation_save_4"
|
||||||
android:title="@string/overlay_slot4"/>
|
android:title="@string/emulation_slot4"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_save_5"
|
android:id="@+id/menu_emulation_save_5"
|
||||||
android:title="@string/overlay_slot5"/>
|
android:title="@string/emulation_slot5"/>
|
||||||
</menu>
|
</menu>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
@ -54,27 +52,27 @@
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_load_root"
|
android:id="@+id/menu_emulation_load_root"
|
||||||
android:showAsAction="never"
|
android:showAsAction="never"
|
||||||
android:title="@string/overlay_loadstate">
|
android:title="@string/emulation_loadstate">
|
||||||
<menu>
|
<menu>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_load_1"
|
android:id="@+id/menu_emulation_load_1"
|
||||||
android:title="@string/overlay_slot1"/>
|
android:title="@string/emulation_slot1"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_load_2"
|
android:id="@+id/menu_emulation_load_2"
|
||||||
android:title="@string/overlay_slot2"/>
|
android:title="@string/emulation_slot2"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_load_3"
|
android:id="@+id/menu_emulation_load_3"
|
||||||
android:title="@string/overlay_slot3"/>
|
android:title="@string/emulation_slot3"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_load_4"
|
android:id="@+id/menu_emulation_load_4"
|
||||||
android:title="@string/overlay_slot4"/>
|
android:title="@string/emulation_slot4"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_emulation_load_5"
|
android:id="@+id/menu_emulation_load_5"
|
||||||
android:title="@string/overlay_slot5"/>
|
android:title="@string/emulation_slot5"/>
|
||||||
</menu>
|
</menu>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
@ -100,4 +98,5 @@
|
||||||
android:title="@string/emulation_choose_controller"/>
|
android:title="@string/emulation_choose_controller"/>
|
||||||
</menu>
|
</menu>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
|
@ -1,26 +1,31 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_settings_core"
|
android:id="@+id/menu_settings_core"
|
||||||
android:title="@string/grid_menu_core_settings"
|
android:title="@string/grid_menu_core_settings"
|
||||||
android:icon="@drawable/ic_settings_core"
|
android:icon="@drawable/ic_settings_core"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="ifRoom"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_settings_video"
|
android:id="@+id/menu_settings_video"
|
||||||
android:title="@string/grid_menu_video_settings"
|
android:title="@string/grid_menu_video_settings"
|
||||||
android:icon="@drawable/ic_settings_graphics"
|
android:icon="@drawable/ic_settings_graphics"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="ifRoom"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_settings_gcpad"
|
android:id="@+id/menu_settings_gcpad"
|
||||||
android:title="@string/grid_menu_gcpad_settings"
|
android:title="@string/grid_menu_gcpad_settings"
|
||||||
android:icon="@drawable/ic_settings_gcpad"
|
android:icon="@drawable/ic_settings_gcpad"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="ifRoom"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_settings_wiimote"
|
android:id="@+id/menu_settings_wiimote"
|
||||||
android:title="@string/grid_menu_wiimote_settings"
|
android:title="@string/grid_menu_wiimote_settings"
|
||||||
android:icon="@drawable/ic_settings_wiimote"
|
android:icon="@drawable/ic_settings_wiimote"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="ifRoom"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_refresh"
|
android:id="@+id/menu_refresh"
|
||||||
android:title="@string/grid_menu_refresh"
|
android:title="@string/grid_menu_refresh"
|
||||||
|
|
|
@ -7,4 +7,5 @@
|
||||||
android:title="@string/preferences_exit_no_save"
|
android:title="@string/preferences_exit_no_save"
|
||||||
android:icon="@drawable/ic_cancel"
|
android:icon="@drawable/ic_cancel"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="ifRoom"/>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
|
@ -2,15 +2,16 @@
|
||||||
|
|
||||||
<!-- All lists for ListPreference keys/values are placed here -->
|
<!-- All lists for ListPreference keys/values are placed here -->
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<!-- New UI CPU Core selection - Default -->
|
<!-- New UI CPU Core selection - Default -->
|
||||||
<string-array name="string_emu_cores" translatable="false">
|
<string-array name="emuCoresEntries" translatable="false">
|
||||||
<item>@string/interpreter</item>
|
<item>Interpreter</item>
|
||||||
<item>@string/cached_interpreter</item>
|
<item>Cached Interpreter</item>
|
||||||
<item>@string/jit_arm64_recompiler</item>
|
<item>JIT ARM64 Recompiler</item>
|
||||||
<!--<item>@string/jit64_recompiler</item>
|
<!--<item>JIT64 Recompiler</item>
|
||||||
<item>@string/jitil_recompiler</item>-->
|
<item>JITIL Recompiler</item>-->
|
||||||
</string-array>
|
</string-array>
|
||||||
<integer-array name="int_emu_cores" translatable="false">
|
<integer-array name="emuCoresValues" translatable="false">
|
||||||
<item>0</item>
|
<item>0</item>
|
||||||
<item>5</item>
|
<item>5</item>
|
||||||
<item>4</item>
|
<item>4</item>
|
||||||
|
@ -52,9 +53,9 @@
|
||||||
|
|
||||||
<!-- Texture Cache Accuracy Preference -->
|
<!-- Texture Cache Accuracy Preference -->
|
||||||
<string-array name="textureCacheAccuracyEntries" translatable="false">
|
<string-array name="textureCacheAccuracyEntries" translatable="false">
|
||||||
<item>@string/texture_cache_accuracy_low</item>
|
<item>Low</item>
|
||||||
<item>@string/texture_cache_accuracy_medium</item>
|
<item>Medium</item>
|
||||||
<item>@string/texture_cache_accuracy_high</item>
|
<item>High</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
<integer-array name="textureCacheAccuracyValues" translatable="false">
|
<integer-array name="textureCacheAccuracyValues" translatable="false">
|
||||||
<item>128</item>
|
<item>128</item>
|
||||||
|
@ -64,9 +65,9 @@
|
||||||
|
|
||||||
<!-- External Frame Buffer Preference -->
|
<!-- External Frame Buffer Preference -->
|
||||||
<string-array name="externalFrameBufferEntries" translatable="false">
|
<string-array name="externalFrameBufferEntries" translatable="false">
|
||||||
<item>@string/disabled</item>
|
<item>Disabled</item>
|
||||||
<item>@string/external_frame_buffer_virtual</item>
|
<item>Virtual</item>
|
||||||
<item>@string/external_frame_buffer_real</item>
|
<item>Real</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
<integer-array name="externalFrameBufferValues" translatable="false">
|
<integer-array name="externalFrameBufferValues" translatable="false">
|
||||||
<item>0</item>
|
<item>0</item>
|
||||||
|
@ -152,7 +153,7 @@
|
||||||
<item>3</item>
|
<item>3</item>
|
||||||
</integer-array>
|
</integer-array>
|
||||||
|
|
||||||
<string-array name="country_names">
|
<string-array name="countryNames">
|
||||||
<item>Europe</item>
|
<item>Europe</item>
|
||||||
<item>Japan</item>
|
<item>Japan</item>
|
||||||
<item>USA</item>
|
<item>USA</item>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<color name="dolphin_blue">#2196f3</color>
|
<color name="dolphin_blue">#2196f3</color>
|
||||||
<color name="dolphin_blue_dark">#1976d2</color>
|
<color name="dolphin_blue_dark">#1976d2</color>
|
||||||
|
|
||||||
|
@ -10,4 +11,5 @@
|
||||||
<color name="circle_grey">#bdbdbd</color>
|
<color name="circle_grey">#bdbdbd</color>
|
||||||
|
|
||||||
<color name="tv_card_unselected">#444444</color>
|
<color name="tv_card_unselected">#444444</color>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
|
@ -56,17 +56,7 @@
|
||||||
<!-- Emulation Overlay -->
|
<!-- Emulation Overlay -->
|
||||||
<string name="enable_input_overlay">Enable Input Overlay</string>
|
<string name="enable_input_overlay">Enable Input Overlay</string>
|
||||||
<string name="disable_input_overlay">Disable Input Overlay</string>
|
<string name="disable_input_overlay">Disable Input Overlay</string>
|
||||||
<string name="overlay_screenshot">Take Screenshot</string>
|
|
||||||
<string name="overlay_savestate">Save State</string>
|
|
||||||
<string name="overlay_loadstate">Load State</string>
|
|
||||||
<string name="overlay_exit_emulation">Exit</string>
|
|
||||||
<string name="overlay_exit_emulation_confirm">Are you sure you wish to exit this game?</string>
|
<string name="overlay_exit_emulation_confirm">Are you sure you wish to exit this game?</string>
|
||||||
<string name="overlay_slot1">Slot 1</string>
|
|
||||||
<string name="overlay_slot2">Slot 2</string>
|
|
||||||
<string name="overlay_slot3">Slot 3</string>
|
|
||||||
<string name="overlay_slot4">Slot 4</string>
|
|
||||||
<string name="overlay_slot5">Slot 5</string>
|
|
||||||
<string name="overlay_slot6">Slot 6</string>
|
|
||||||
|
|
||||||
<!-- Input Config Fragment -->
|
<!-- Input Config Fragment -->
|
||||||
<string name="input_settings">Input</string>
|
<string name="input_settings">Input</string>
|
||||||
|
@ -93,7 +83,7 @@
|
||||||
<string name="controller_main">Main Stick Navigation</string>
|
<string name="controller_main">Main Stick Navigation</string>
|
||||||
<string name="controller_c">C-Stick Navigation</string>
|
<string name="controller_c">C-Stick Navigation</string>
|
||||||
<string name="controller_trig">Analog Triggers</string>
|
<string name="controller_trig">Analog Triggers</string>
|
||||||
<string name="modifier_range">Modifier Range</string>
|
<string name="modifier_range">Modifier Range</string>
|
||||||
<string name="analog_radius">Analog Radius (High value = High sensitivity)</string>
|
<string name="analog_radius">Analog Radius (High value = High sensitivity)</string>
|
||||||
<string name="analog_threshold">Analog Threshold (Low value = High sensitivity)</string>
|
<string name="analog_threshold">Analog Threshold (Low value = High sensitivity)</string>
|
||||||
|
|
||||||
|
@ -170,7 +160,7 @@
|
||||||
<string name="tilt_backward">Tilt Backward</string>
|
<string name="tilt_backward">Tilt Backward</string>
|
||||||
<string name="tilt_left">Tilt Left</string>
|
<string name="tilt_left">Tilt Left</string>
|
||||||
<string name="tilt_right">Tilt Right</string>
|
<string name="tilt_right">Tilt Right</string>
|
||||||
<string name="tilt_modifier">Tilt Modifier</string>
|
<string name="tilt_modifier">Tilt Modifier</string>
|
||||||
<string name="shake_x">Shake X</string>
|
<string name="shake_x">Shake X</string>
|
||||||
<string name="shake_y">Shake Y</string>
|
<string name="shake_y">Shake Y</string>
|
||||||
<string name="shake_z">Shake Z</string>
|
<string name="shake_z">Shake Z</string>
|
||||||
|
@ -323,6 +313,7 @@
|
||||||
<!-- Miscellaneous -->
|
<!-- Miscellaneous -->
|
||||||
<string name="yes">Yes</string>
|
<string name="yes">Yes</string>
|
||||||
<string name="no">No</string>
|
<string name="no">No</string>
|
||||||
|
<string name="ok">OK</string>
|
||||||
<string name="cancel">Cancel</string>
|
<string name="cancel">Cancel</string>
|
||||||
<string name="disabled">Disabled</string>
|
<string name="disabled">Disabled</string>
|
||||||
<string name="other">Other</string>
|
<string name="other">Other</string>
|
||||||
|
@ -355,6 +346,16 @@
|
||||||
<string name="dialog_seekbar_neg">Cancel</string>
|
<string name="dialog_seekbar_neg">Cancel</string>
|
||||||
|
|
||||||
<!-- Emulation Menu -->
|
<!-- Emulation Menu -->
|
||||||
|
<string name="emulation_screenshot">Take Screenshot</string>
|
||||||
|
<string name="emulation_savestate">Save State</string>
|
||||||
|
<string name="emulation_loadstate">Load State</string>
|
||||||
|
<string name="emulation_exit">Exit</string>
|
||||||
|
<string name="emulation_slot1">Slot 1</string>
|
||||||
|
<string name="emulation_slot2">Slot 2</string>
|
||||||
|
<string name="emulation_slot3">Slot 3</string>
|
||||||
|
<string name="emulation_slot4">Slot 4</string>
|
||||||
|
<string name="emulation_slot5">Slot 5</string>
|
||||||
|
<string name="emulation_slot6">Slot 6</string>
|
||||||
<string name="emulation_quicksave">Quick Save</string>
|
<string name="emulation_quicksave">Quick Save</string>
|
||||||
<string name="emulation_quickload">Quick Load</string>
|
<string name="emulation_quickload">Quick Load</string>
|
||||||
<string name="emulation_refresh_wiimotes">Refresh Wiimotes</string>
|
<string name="emulation_refresh_wiimotes">Refresh Wiimotes</string>
|
||||||
|
|
|
@ -1,14 +1,15 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<!-- inherit from the material theme -->
|
|
||||||
|
<!-- Inherit from the material theme -->
|
||||||
<style name="DolphinBase" parent="Theme.AppCompat.Light.NoActionBar">
|
<style name="DolphinBase" parent="Theme.AppCompat.Light.NoActionBar">
|
||||||
<!-- Main theme colors -->
|
<!-- Main theme colors -->
|
||||||
<!-- your app branding color for the app bar -->
|
<!-- Branding color for the app bar -->
|
||||||
<item name="colorPrimary">@color/dolphin_blue</item>
|
<item name="colorPrimary">@color/dolphin_blue</item>
|
||||||
<!-- darker variant for the status bar and contextual app bars -->
|
<!-- Darker variant for the status bar and contextual app bars -->
|
||||||
<item name="colorPrimaryDark">@color/dolphin_blue_dark</item>
|
<item name="colorPrimaryDark">@color/dolphin_blue_dark</item>
|
||||||
|
|
||||||
<!--enable window content transitions-->
|
<!-- Enable window content transitions -->
|
||||||
<item name="android:windowContentTransitions">true</item>
|
<item name="android:windowContentTransitions">true</item>
|
||||||
<item name="android:windowAllowEnterTransitionOverlap">true</item>
|
<item name="android:windowAllowEnterTransitionOverlap">true</item>
|
||||||
<item name="android:windowAllowReturnTransitionOverlap">true</item>
|
<item name="android:windowAllowReturnTransitionOverlap">true</item>
|
||||||
|
@ -22,9 +23,9 @@
|
||||||
<item name="colorPrimaryDark">@color/dolphin_blue_dark</item>
|
<item name="colorPrimaryDark">@color/dolphin_blue_dark</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<!-- Inherit from the Base Dolphin Theme-->
|
<!-- Inherit from the Base Dolphin Theme -->
|
||||||
<style name="DolphinWii" parent="DolphinBase">
|
<style name="DolphinWii" parent="DolphinBase">
|
||||||
<!-- theme UI controls like checkboxes and text fields -->
|
<!-- Theme UI controls like checkboxes and text fields -->
|
||||||
<item name="colorAccent">@color/dolphin_accent_wii</item>
|
<item name="colorAccent">@color/dolphin_accent_wii</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
@ -36,7 +37,7 @@
|
||||||
<item name="colorAccent">@color/dolphin_accent_wiiware</item>
|
<item name="colorAccent">@color/dolphin_accent_wiiware</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<!-- Inherit from the Base Dolphin Settings Theme-->
|
<!-- Inherit from the Base Dolphin Settings Theme -->
|
||||||
<style name="DolphinSettingsWii" parent="DolphinSettingsBase">
|
<style name="DolphinSettingsWii" parent="DolphinSettingsBase">
|
||||||
<item name="colorAccent">@color/dolphin_accent_wii</item>
|
<item name="colorAccent">@color/dolphin_accent_wii</item>
|
||||||
</style>
|
</style>
|
||||||
|
@ -46,7 +47,7 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="DolphinSettingsWiiware" parent="DolphinSettingsBase">
|
<style name="DolphinSettingsWiiware" parent="DolphinSettingsBase">
|
||||||
<!-- theme UI controls like checkboxes and text fields -->
|
<!-- Theme UI controls like checkboxes and text fields -->
|
||||||
<item name="colorAccent">@color/dolphin_accent_wiiware</item>
|
<item name="colorAccent">@color/dolphin_accent_wiiware</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
@ -56,7 +57,7 @@
|
||||||
<item name="colorPrimaryDark">@color/dolphin_blue_dark</item>
|
<item name="colorPrimaryDark">@color/dolphin_blue_dark</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<!-- Inherit from the Base Dolphin Dialog Theme-->
|
<!-- Inherit from the Base Dolphin Dialog Theme -->
|
||||||
<style name="DolphinDialogWii" parent="DolphinDialogBase">
|
<style name="DolphinDialogWii" parent="DolphinDialogBase">
|
||||||
<item name="colorAccent">@color/dolphin_accent_wii</item>
|
<item name="colorAccent">@color/dolphin_accent_wii</item>
|
||||||
</style>
|
</style>
|
||||||
|
@ -76,13 +77,13 @@
|
||||||
|
|
||||||
<item name="android:windowBackground">@android:color/black</item>
|
<item name="android:windowBackground">@android:color/black</item>
|
||||||
|
|
||||||
<!--enable window content transitions-->
|
<!-- Enable window content transitions -->
|
||||||
<item name="android:windowContentTransitions">true</item>
|
<item name="android:windowContentTransitions">true</item>
|
||||||
<item name="android:windowAllowEnterTransitionOverlap">true</item>
|
<item name="android:windowAllowEnterTransitionOverlap">true</item>
|
||||||
<item name="android:windowAllowReturnTransitionOverlap">true</item>
|
<item name="android:windowAllowReturnTransitionOverlap">true</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<!-- Inherit from the Base Dolphin Emulation Theme-->
|
<!-- Inherit from the Base Dolphin Emulation Theme -->
|
||||||
<style name="DolphinEmulationWii" parent="DolphinEmulationBase">
|
<style name="DolphinEmulationWii" parent="DolphinEmulationBase">
|
||||||
<item name="colorAccent">@color/dolphin_accent_wii</item>
|
<item name="colorAccent">@color/dolphin_accent_wii</item>
|
||||||
</style>
|
</style>
|
||||||
|
@ -102,13 +103,13 @@
|
||||||
|
|
||||||
<item name="android:windowBackground">@android:color/black</item>
|
<item name="android:windowBackground">@android:color/black</item>
|
||||||
|
|
||||||
<!--enable window content transitions-->
|
<!-- Enable window content transitions -->
|
||||||
<item name="android:windowContentTransitions">true</item>
|
<item name="android:windowContentTransitions">true</item>
|
||||||
<item name="android:windowAllowEnterTransitionOverlap">true</item>
|
<item name="android:windowAllowEnterTransitionOverlap">true</item>
|
||||||
<item name="android:windowAllowReturnTransitionOverlap">true</item>
|
<item name="android:windowAllowReturnTransitionOverlap">true</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<!-- Inherit from the Base Dolphin Emulation Theme-->
|
<!-- Inherit from the Base Dolphin Emulation Theme -->
|
||||||
<style name="DolphinEmulationTvWii" parent="DolphinEmulationTvBase">
|
<style name="DolphinEmulationTvWii" parent="DolphinEmulationTvBase">
|
||||||
<item name="colorAccent">@color/dolphin_accent_wii</item>
|
<item name="colorAccent">@color/dolphin_accent_wii</item>
|
||||||
</style>
|
</style>
|
||||||
|
@ -131,7 +132,7 @@
|
||||||
<item name="colorPrimary">@color/dolphin_blue</item>
|
<item name="colorPrimary">@color/dolphin_blue</item>
|
||||||
<item name="colorPrimaryDark">@color/dolphin_blue_dark</item>
|
<item name="colorPrimaryDark">@color/dolphin_blue_dark</item>
|
||||||
|
|
||||||
<!--enable window content transitions-->
|
<!-- Enable window content transitions -->
|
||||||
<item name="android:windowContentTransitions">true</item>
|
<item name="android:windowContentTransitions">true</item>
|
||||||
<item name="android:windowAllowEnterTransitionOverlap">true</item>
|
<item name="android:windowAllowEnterTransitionOverlap">true</item>
|
||||||
<item name="android:windowAllowReturnTransitionOverlap">true</item>
|
<item name="android:windowAllowReturnTransitionOverlap">true</item>
|
||||||
|
|
Loading…
Reference in New Issue