fixed gb crash, print out full stack trace, explicitly transparent backgrounds in popups
This commit is contained in:
parent
ec13746af7
commit
f8e23a2b1c
|
@ -65,6 +65,7 @@ public class MainActivity extends SlidingFragmentActivity implements
|
|||
mPrefs.edit().putString("prior_error", log).commit();
|
||||
error.printStackTrace();
|
||||
//Unreliable, but useful when possible
|
||||
//...or could lead us on wild goose chase
|
||||
MainActivity.this.finish();
|
||||
}
|
||||
}
|
||||
|
@ -81,8 +82,6 @@ public class MainActivity extends SlidingFragmentActivity implements
|
|||
loadInterface(savedInstanceState);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void loadInterface(Bundle savedInstanceState) {
|
||||
|
|
|
@ -90,7 +90,7 @@ public class OnScreenMenu {
|
|||
|
||||
public DebugPopup(Context c) {
|
||||
super(c);
|
||||
|
||||
setBackgroundDrawable(null);
|
||||
int p = getPixelsFromDp(60, mContext);
|
||||
LayoutParams debugParams = new LayoutParams(p, p);
|
||||
|
||||
|
@ -157,7 +157,7 @@ public class OnScreenMenu {
|
|||
|
||||
public ConfigPopup(Context c) {
|
||||
super(c);
|
||||
|
||||
setBackgroundDrawable(null);
|
||||
int p = getPixelsFromDp(60, mContext);
|
||||
LayoutParams configParams = new LayoutParams(p, p);
|
||||
|
||||
|
@ -326,6 +326,7 @@ public class OnScreenMenu {
|
|||
|
||||
public VmuPopup(Context c) {
|
||||
super(c);
|
||||
setBackgroundDrawable(null);
|
||||
int pX = OnScreenMenu.getPixelsFromDp(80, mContext);
|
||||
int pY = OnScreenMenu.getPixelsFromDp(56, mContext);
|
||||
vparams = new LayoutParams(pX, pY);
|
||||
|
@ -344,6 +345,7 @@ public class OnScreenMenu {
|
|||
public class MainPopup extends PopupWindow {
|
||||
public MainPopup(Context c) {
|
||||
super(c);
|
||||
setBackgroundDrawable(null);
|
||||
int p = getPixelsFromDp(60, mContext);
|
||||
params = new LayoutParams(p, p);
|
||||
hlay = new LinearLayout(mContext);
|
||||
|
|
Loading…
Reference in New Issue