SHARE
TWEET

device-art.xml

a guest Nov 9th, 2014 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2013 The Android Open Source Project
  3.  
  4.      Licensed under the Apache License, Version 2.0 (the "License");
  5.      you may not use this file except in compliance with the License.
  6.      You may obtain a copy of the License at
  7.  
  8.           http://www.apache.org/licenses/LICENSE-2.0
  9.  
  10.      Unless required by applicable law or agreed to in writing, software
  11.      distributed under the License is distributed on an "AS IS" BASIS,
  12.      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13.      See the License for the specific language governing permissions and
  14.      limitations under the License.
  15. -->
  16. <devices>
  17.  
  18.   <device id="wear_square" name="Android Wear Square" url="TBD" physicalSize="1.65" physicalHeight="1.17" density="HDPI">
  19.     <orientation name="port" size="512,460" screenPos="122,88" screenSize="280,280" crop="22,50,474,403" shadow="shadow.png"
  20.                  back="back.png" lights="fore.png" mask="mask.png"/>
  21.     <!-- how do we handle the other orientation? For now, duplicated -->
  22.     <orientation name="land" size="512,460" screenPos="122,88" screenSize="280,280" crop="22,50,474,403" shadow="shadow.png"
  23.                  back="back.png" lights="fore.png" mask="mask.png"/>
  24.   </device>
  25.  
  26.   <device id="wear_round" name="Android Wear Round" url="TBD" physicalSize="1.65" physicalHeight="1.65" density="HDPI">
  27.     <orientation name="port" size="512,460" screenPos="96,62" screenSize="320,320" crop="71,36,370,424" shadow="shadow.png"
  28.                  back="back.png" lights="fore.png" mask="mask.png"/>
  29.     <!-- how do we handle the other orientation? For now, duplicated -->
  30.     <orientation name="land" size="512,460" screenPos="96,62" screenSize="320,320" crop="71,36,370,424" shadow="shadow.png"
  31.                  back="back.png" lights="fore.png" mask="mask.png"/>
  32.   </device>
  33.  
  34.   <device id="tv_1080p" name="Android TV 1080p" url="TBD" physicalSize="48" physicalHeight="27" density="XHDPI">
  35.     <orientation name="land" size="2090,1255" screenPos="85,59" screenSize="1920,1080" shadow="shadow.png"
  36.                  back="back.png" lights="fore.png"/>
  37.   </device>
  38.  
  39.   <device id="tv_720p" name="Android TV 720p" url="TBD" physicalSize="47.9" physicalHeight="27.0" density="TVDPI">
  40.     <orientation name="land" size="1394,837" screenPos="57,39" screenSize="1280,720" shadow="shadow.png"
  41.                  back="back.png" lights="fore.png"/>
  42.   </device>
  43.  
  44.   <device id="nexus_5" name="Nexus 5" url="http://www.google.com/nexus/5/" physicalSize="5" physicalHeight="5.43" density="XXHDPI">
  45.     <orientation name="port" size="1690,2857" screenPos="304,436" screenSize="1080,1920" crop="160,241,1370,2405" shadow="port_shadow.png"
  46.                  back="port_back.png" lights="port_fore.png"/>
  47.     <orientation name="land" size="2857,1690" screenPos="436,306" screenSize="1920,1080" crop="175,241,2497,1235" shadow="land_shadow.png"
  48.                  back="land_back.png" lights="land_fore.png"/>
  49.   </device>
  50.  
  51.   <device id="nexus_4" name="Nexus 4" url="http://www.google.com/nexus/4/" physicalSize="4.7" physicalHeight="5.23" density="XHDPI">
  52.     <orientation name="port" size="1195,1994" screenPos="213,350" screenSize="768,1280" crop="119,163,958,1678" shadow="port_shadow.png"
  53.                  back="port_back.png" lights="port_fore.png"/>
  54.     <orientation name="land" size="1994,1195" screenPos="349,214" screenSize="1280,768" crop="92,169,1799,885" shadow="land_shadow.png"
  55.                  back="land_back.png" lights="land_fore.png"/>
  56.   </device>
  57.  
  58.   <device id="nexus_7_2013" name="Nexus 7" url="http://www.google.com/nexus/7/" physicalSize="7.0" physicalHeight="8.0" density="XHDPI">
  59.     <orientation name="port" size="1289,1934" screenPos="244,326" screenSize="800,1280" crop="114,125,1064,1714" shadow="port_shadow.png"
  60.                  back="port_back.png" lights="port_fore.png"/>
  61.     <orientation name="land" size="1934,1289" screenPos="326,245" screenSize="1280,800" crop="44,165,1848,986" shadow="land_shadow.png"
  62.                  back="land_back.png" lights="land_fore.png"/>
  63.   </device>
  64.  
  65.   <device id="nexus_7" name="Nexus 7 (2012)" url="http://www.google.com/nexus/7/" physicalSize="7.0" physicalHeight="7.81" density="213dpi">
  66.     <orientation name="port" size="1334,1902" screenPos="264,311" screenSize="800,1280" crop="122,121,1094,1689" shadow="port_shadow.png"
  67.                  back="port_back.png" lights="port_fore.png"/>
  68.     <orientation name="land" size="1910,1334" screenPos="315,270" screenSize="1280,800" crop="55,165,1803,1045" shadow="land_shadow.png"
  69.                  back="land_back.png" lights="land_fore.png"/>
  70.   </device>
  71.  
  72.   <device id="nexus_10" name="Nexus 10" url="http://www.google.com/nexus/10/" physicalSize="10.0" physicalHeight="7.0" density="XHDPI">
  73.     <orientation name="port" size="1248,1730" screenPos="217,223" screenSize="800,1280" crop="34,90,1165,1568" shadow="port_shadow.png"
  74.                  back="port_back.png" lights="port_fore.png"/>
  75.     <orientation name="land" size="1730,1248" screenPos="227,217" screenSize="1280,800" crop="33,84,1670,1088" shadow="land_shadow.png"
  76.                  back="land_back.png" lights="land_fore.png"/>
  77.   </device>
  78.  
  79.   <device id="xoom" name="Motorola XOOM" url="http://www.google.com/phone/detail/motorola-xoom" physicalSize="10.0" physicalHeight="6.61"
  80.           density="MDPI">
  81.     <orientation name="port" size="1198,1700" screenPos="199,200" screenSize="800,1280" crop="14,117,1170,1471" shadow="port_shadow.png"
  82.                  back="port_back.png" lights="port_fore.png"/>
  83.     <orientation name="land" size="1700,1198" screenPos="218,191" screenSize="1280,800" crop="66,102,1569,998" shadow="land_shadow.png"
  84.                  back="land_back.png" lights="land_fore.png"/>
  85.   </device>
  86.  
  87.   <device id="galaxy_nexus" name="Galaxy Nexus" url="http://www.android.com/devices/detail/galaxy-nexus" physicalSize="4.65"
  88.           physicalHeight="5.33" density="XHDPI">
  89.     <orientation name="port" size="1148,1994" screenPos="216,353" screenSize="720,1280" crop="24,140,1101,1709" shadow="port_shadow.png"
  90.                  back="port_back.png" lights="port_fore.png"/>
  91.     <orientation name="land" size="1994,1148" screenPos="371,199" screenSize="1280,720" crop="67,131,1847,886" shadow="land_shadow.png"
  92.                  back="land_back.png" lights="land_fore.png"/>
  93.   </device>
  94.  
  95.   <device id="nexus_s" name="Nexus S" url="http://www.google.com/phone/detail/nexus-s" physicalSize="4.0" physicalHeight="4.88"
  96.           density="HDPI">
  97.     <orientation name="port" size="749,1308" screenPos="134,247" screenSize="480,800" crop="15,87,719,1139" shadow="port_shadow.png"
  98.                  back="port_back.png" lights="port_fore.png"/>
  99.     <orientation name="land" size="1308,749" screenPos="247,135" screenSize="800,480" crop="39,91,1210,586" shadow="land_shadow.png"
  100.                  back="land_back.png" lights="land_fore.png"/>
  101.   </device>
  102.  
  103.   <device id="nexus_one" name="Nexus One" url="http://en.wikipedia.org/wiki/Nexus_One" physicalSize="3.7" physicalHeight="4.7"
  104.           density="HDPI">
  105.     <orientation name="port" size="765,1300" screenPos="141,191" screenSize="480,800" crop="16,60,732,1178" shadow="port_shadow.png"
  106.                  back="port_back.png"/>
  107.     <orientation name="land" size="1300,765" screenPos="200,130" screenSize="800,480" crop="0,78,1300,612" shadow="land_shadow.png"
  108.                  back="land_back.png"/>
  109.   </device>
  110.  
  111.   <device id="phone" name="Generic Phone">
  112.     <orientation name="port" size="568,256" screenPos="113,93" screenSize="343,46" back="phone_back_simple_port.9.png"
  113.                  shadow="phone_shadow_simple_port.9.png" />
  114.     <orientation name="land" size="607,350" screenPos="141,36" screenSize="324,255" back="phone_back_simple_land.9.png"
  115.                  shadow="phone_shadow_simple_land.9.png"/>
  116.   </device>
  117.  
  118.   <device id="tablet" name="Generic Tablet">
  119.     <orientation name="port" size="1310,313" screenPos="256,111" screenSize="802,55" back="tablet_back_simple.9.png"
  120.                  shadow="tablet_shadow_simple_port.9.png" />
  121.     <orientation name="land" size="1310,313" screenPos="256,111" screenSize="802,55" back="tablet_back_simple.9.png"
  122.                  shadow="tablet_shadow_simple_land.9.png"/>
  123.   </device>
  124.  
  125. </devices>
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top