java - Why is my DrawableLeft doesn't appear the same on different device? -


screenshot samsung galaxy s6 edge+

screenshot samsung galaxy s6

i dont know why galaxy s6 doesn't recognize .xml page

<?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android">     <item         android:drawable="@drawable/arrowindidown"         android:width="10dp"         android:height="10dp"         /> </layer-list> 

normally resize image (the arrow) 10dp appears in galaxy s6 edge+

(first screenshot samsung galaxy s6 edge+)

(my homepage layout)

<!-- non-scrolling top pane --> <linearlayout     android:gravity="center"     android:layout_width="fill_parent"     android:layout_height="0dp"     android:layout_weight="10">  <imageview     android:id="@+id/logo_home_id"     android:clickable="true"     android:onclick="onbuttonclick"     android:layout_width="150dp"     android:layout_height="45dp"     android:background="@drawable/logo"/> </linearlayout>      <viewflipper         android:id="@+id/viewflipper"         android:layout_width="fill_parent"         android:layout_height="0dp"         android:layout_weight="35">          <imageview             android:layout_width="fill_parent"             android:layout_height="fill_parent"             android:background="@drawable/picture3"/>          <imageview             android:layout_width="fill_parent"             android:layout_height="fill_parent"             android:background="@drawable/picture"/>          <imageview             android:layout_width="fill_parent"             android:layout_height="fill_parent"             android:background="@drawable/picture2"/>          <imageview             android:layout_width="fill_parent"             android:layout_height="fill_parent"             android:background="@drawable/picture4"/>          <imageview             android:id="@+id/image5"             android:clickable="true"             android:layout_width="fill_parent"             android:layout_height="fill_parent"             android:background="@drawable/picture5"             android:onclick="onbuttonclick" />     </viewflipper>      <viewflipper         android:id="@+id/viewflippertext"         android:layout_width="fill_parent"         android:layout_height="0dp"         android:layout_weight="7">          <textview             android:background="@drawable/border3"             android:textstyle="italic"             android:gravity="center"             android:layout_width="fill_parent"             android:layout_height="fill_parent"             android:textcolor="#ffffff"             android:text="programme" />          <textview             android:background="#404040"             android:textstyle="italic"             android:gravity="center"             android:layout_width="fill_parent"             android:layout_height="fill_parent"             android:textcolor="#ffffff"             android:text="fifog classics" />          <textview             android:background="#404040"             android:textstyle="italic"             android:gravity="center"             android:layout_width="fill_parent"             android:layout_height="fill_parent"             android:textcolor="#ffffff"             android:text="palmares" />          <textview             android:background="#404040"             android:textstyle="italic"             android:gravity="center"             android:layout_width="fill_parent"             android:layout_height="fill_parent"             android:textcolor="#ffffff"             android:text="cairo time de amir ramses" />          <textview             android:background="#404040"             android:textstyle="italic"             android:gravity="center"             android:layout_width="fill_parent"             android:layout_height="fill_parent"             android:textcolor="#ffffff"             android:text="ahlam mosteghanemi prĂ©sidente d'honneur du fifog 2016" />      </viewflipper>      <linearlayout         android:paddingleft="10dp"         android:paddingright="10dp"         android:paddingbottom="5dp"         android:paddingtop="5dp"         android:layout_width="fill_parent"         android:layout_height="0dp"         android:layout_weight="5"         android:orientation="horizontal"         >          <button             android:background="@drawable/arrowotherside"             android:id="@+id/button1"             android:layout_weight="1"             android:layout_width="20dp"             android:layout_height="wrap_content"             android:text=""             android:onclick="onbuttonclick" />          <linearlayout             android:layout_gravity="center"             android:layout_weight="50"             android:layout_width="wrap_content"             android:layout_height="wrap_content">              <viewflipper                 android:id="@+id/viewflipperdot"                 android:layout_width="fill_parent"                 android:layout_height="fill_parent">                  <imageview                     android:layout_gravity="center"                     android:layout_width="70dp"                     android:layout_height="7dp"                     android:background="@drawable/c1"/>                  <imageview                     android:layout_gravity="center"                     android:layout_width="70dp"                     android:layout_height="7dp"                     android:background="@drawable/circle2"/>                  <imageview                     android:layout_gravity="center"                     android:layout_width="70dp"                     android:layout_height="7dp"                     android:background="@drawable/circle3"/>                  <imageview                     android:layout_gravity="center"                     android:layout_width="70dp"                     android:layout_height="7dp"                     android:background="@drawable/circle4"/>                  <imageview                     android:layout_gravity="center"                     android:layout_width="70dp"                     android:layout_height="7dp"                     android:background="@drawable/circle5"/>                </viewflipper>          </linearlayout>          <button             android:background="@drawable/arrowside"             android:id="@+id/button3"             android:layout_weight="1"             android:layout_width="20dp"             android:layout_height="wrap_content"             android:gravity="right"             android:layout_gravity="fill_vertical"             android:text=""             android:onclick="onbuttonclick" />     </linearlayout>   <!-- scrolling bottom pane --> <scrollview     android:fillviewport="true"     android:layout_width="fill_parent"     android:layout_height="0dp"     android:layout_weight="33">      <linearlayout         android:orientation="vertical"         android:layout_width="fill_parent"         android:layout_height="fill_parent">          <expandablelistview             android:layout_width="match_parent"             android:layout_height="wrap_content"             android:id="@+id/expandablelistview" />     </linearlayout>  </scrollview>     <textview         android:textcolor="#ffffff"         android:textsize="10sp"         android:gravity="center|bottom"         android:text="© fifog mobile application"         android:layout_width="fill_parent"         android:layout_height="0dp"         android:layout_weight="10"/> </linearlayout> 

(my group layout - expandablelistview)

<?xml version="1.0" encoding="utf-8"?> <linearlayout xmlns:android="http://schemas.android.com/apk/res/android"     android:orientation="vertical"     android:layout_width="match_parent"     android:layout_height="match_parent">       <textview         android:drawableleft="@drawable/group_indicator_selector"         android:gravity="center"         android:background="@drawable/border"         android:id="@+id/parent_txt"         android:layout_width="match_parent"         android:layout_height="match_parent"         android:textcolor="#ffffff"         android:paddingtop="15dp"         android:paddingbottom="15dp"/>  </linearlayout> 

please help.