Simple Theme by Beholder for on-screen keyboard

This commit is contained in:
pelya
2010-12-21 10:05:05 +00:00
parent a3106f9048
commit b0c38f7c28
6 changed files with 885 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ class Globals {
public static boolean UseAccelerometerAsArrowKeys = false;
public static boolean UseTouchscreenKeyboard = true;
public static int TouchscreenKeyboardSize = 0;
public static int TouchscreenKeyboardTheme = 1;
public static int TouchscreenKeyboardTheme = 2;
public static int AccelerometerSensitivity = 2;
public static int AccelerometerCenterPos = 2;
public static int TrackballDampening = 0;

View File

@@ -595,7 +595,8 @@ class Settings
final CharSequence[] items = {
p.getResources().getString(R.string.controls_screenkb_by, "Ugly Arrows", "pelya"),
p.getResources().getString(R.string.controls_screenkb_by, "Ultimate Droid", "Sean Stieber")
p.getResources().getString(R.string.controls_screenkb_by, "Ultimate Droid", "Sean Stieber"),
p.getResources().getString(R.string.controls_screenkb_by, "Simple Theme", "Beholder")
};
AlertDialog.Builder builder = new AlertDialog.Builder(p);
@@ -1154,6 +1155,10 @@ class Settings
{
nativeSetupScreenKeyboardButtons(loadRaw(p, R.raw.ultimatedroid));
}
if( Globals.TouchscreenKeyboardTheme == 2 )
{
nativeSetupScreenKeyboardButtons(loadRaw(p, R.raw.simpletheme));
}
}
}