안드로이드 맵 에 점선으로 나타낼 필요가 있어서 찾아봤더니 있군아 ㅠ 괜히 삽질 ㅋ

     DashPathEffect dashPath = new DashPathEffect(new float[]{5,5}, 2); 

             paint.setStyle( Paint.Style.STROKE );
             paint.setPathEffect(dashPath);
             paint.setStrokeWidth(3);
             paint.setColor(Color.BLUE);
  Matrix matrix = new Matrix();
  matrix.preScale(-1.0f, 1.0f);
  hero_wait_Left[0] = BitmapFactory.decodeResource(res,R.drawable.stand01);
hero_wait_Left[0] = Bitmap.createBitmap(hero_wait_Left[0], 0, 0, hero_wait_Left[0].getWidth(),hero_wait_Left[0].getHeight(), matrix, false);


 이러면 해당 이미지가 반전되어서 저장되는군요 `ㅡ` ...
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,                                
          WindowManager.LayoutParams.FLAG_FULLSCREEN);
        requestWindowFeature(Window.FEATURE_NO_TITLE);

        setContentView(R.layout.main);
      //  setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
        initViews();
    }
   


해당 onCreate 부분에
        this.requestWindowFeature(Window.FEATURE_NO_TITLE);

사라지는군요 -0- //

        this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,                                
          WindowManager.LayoutParams.FLAG_FULLSCREEN);
요녀석은 안테나 창을 없애버리는 군요~


저런식으로 풀사이즈 구현이 가능합니다.~

+ Recent posts