Commits

Matteo Bertini committed dbe4de0

Add missing imports and use RGB_565

Comments (0)

Files changed (1)

src/it/slug/circularsliderule/MainActivity.java

 import android.app.Activity;
 import android.content.SharedPreferences;
 import android.os.Bundle;
+import android.graphics.PixelFormat;
+import android.view.Window;
 
 public class MainActivity extends Activity {
 
 	public void onAttachedToWindow() {
 		super.onAttachedToWindow();
 		Window window = getWindow();
-		window.setFormat(PixelFormat.RGBA_8888);
+		window.setFormat(PixelFormat.RGB_565);
 }
 /*
 	@Override