Problem: trying to give multi device support screen for a simple layout but in Nexus 6 its creating the problem,means not showing fit. It's side is cutting down where as per as docs for nexus-6 resolution is 1440*2560 and image should be in drawable-xxxhdpi .so i keep a image with resolution of 1440*2560.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/icon"
android:id="@+id/imv" />
</RelativeLayout>
if i ll give match_parent so obvious it will stretch the image. Please help me to get out of it. Here is screen shots of screen -