1
0
Fork 0
mirror of https://github.com/rfc2822/GfxTablet synced 2025-10-03 01:29:17 +02:00

making input screen black to save energy

This commit is contained in:
ct2034 2014-10-30 15:40:12 +13:00
parent ff865c297b
commit 2400ac10f2

View file

@ -24,7 +24,7 @@ public class CanvasView extends View implements OnSharedPreferenceChangeListener
// disable until networking has been configured
setEnabled(false);
setBackgroundColor(0xFFD0D0D0);
setBackgroundColor(0x00000000);
settings = PreferenceManager.getDefaultSharedPreferences(context);
settings.registerOnSharedPreferenceChangeListener(this);