title: how to display a perfect 4k picture android TV?
body: <p>i have a task in my company. they want me to display a 4k resolution image (4096 X 2160) on the android TV that we are working now by only using Android java code. one thing that i to have mention is, our tv resolution is 1920 X 1080. i got this resolution from the log here:</p>
  
  <pre><code>        WindowManager windowManager = (WindowManager) mContext.getSystemService(Context.WINDOW_SERVICE);
          Display display = windowManager.getDefaultDisplay();
          TvLog.i(TAG, "Width" + display.getWidth());
          TvLog.i(TAG, "Height" + display.getHeight());
  </code></pre>
  
  <p>and the width will show 1920 while the height will show 1080. i just use a simple code to display the image. below is the code:</p>
  
  <pre><code>View view;
  WindowManager wm;
  
  public void onStart(Intent intent, int startId) {
      super.onStart(intent, startId);
      LayoutInflater layoutInflater = LayoutInflater.from(this);
      WindowManager.LayoutParams params = new WindowManager.LayoutParams(
              WindowManager.LayoutParams.WRAP_CONTENT,
              WindowManager.LayoutParams.WRAP_CONTENT,
              WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY,
              WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH,
              PixelFormat.TRANSPARENT);
      wm = (WindowManager) getSystemService(Context.WINDOW_SERVICE);
      view = layoutInflater.inflate(R.layout.pict_4k, null);
      params.gravity = Gravity.TOP | Gravity.END;
      wm.addView(view, params);
  }
  </code></pre>
  
  <p>and the layout also simple which is:</p>
  
  <pre><code>&lt;ImageView xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:scaleType="fitXY"
  android:src="@drawable/a1" &gt;
  </code></pre>
  
  <p></p>
  
  <p>i read that only at Android 6.0, 4k mode API will be introduced. currently im using Android 5.0. so, is there any way for me to force the picture show its actual resolution on the TV?</p>