device_profiles.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2016 The Android Open Source Project
  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. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. -->
  14. <profiles xmlns:launcher="http://schemas.android.com/apk/res-auto" >
  15. <grid-option
  16. launcher:name="3_by_3"
  17. launcher:numRows="3"
  18. launcher:numColumns="3"
  19. launcher:numFolderRows="2"
  20. launcher:numFolderColumns="3"
  21. launcher:numHotseatIcons="3"
  22. launcher:dbFile="launcher_3_by_3.db"
  23. launcher:defaultLayoutId="@xml/default_workspace_3x3"
  24. launcher:deviceCategory="phone" >
  25. <display-option
  26. launcher:name="Super Short Stubby"
  27. launcher:minWidthDps="255"
  28. launcher:minHeightDps="300"
  29. launcher:iconImageSize="48"
  30. launcher:iconTextSize="13.0"
  31. launcher:allAppsBorderSpace="16"
  32. launcher:allAppsCellHeight="104"
  33. launcher:canBeDefault="true" />
  34. <display-option
  35. launcher:name="Shorter Stubby"
  36. launcher:minWidthDps="255"
  37. launcher:minHeightDps="400"
  38. launcher:iconImageSize="48"
  39. launcher:iconTextSize="13.0"
  40. launcher:allAppsBorderSpace="16"
  41. launcher:allAppsCellHeight="104"
  42. launcher:canBeDefault="true" />
  43. </grid-option>
  44. <grid-option
  45. launcher:name="4_by_4"
  46. launcher:numRows="4"
  47. launcher:numColumns="4"
  48. launcher:numFolderRows="3"
  49. launcher:numFolderColumns="4"
  50. launcher:numHotseatIcons="4"
  51. launcher:numExtendedHotseatIcons="6"
  52. launcher:dbFile="launcher_4_by_4.db"
  53. launcher:inlineNavButtonsEndSpacing="@dimen/taskbar_button_margin_split"
  54. launcher:defaultLayoutId="@xml/default_workspace_4x4"
  55. launcher:deviceCategory="phone|multi_display" >
  56. <display-option
  57. launcher:name="Short Stubby"
  58. launcher:minWidthDps="275"
  59. launcher:minHeightDps="420"
  60. launcher:iconImageSize="48"
  61. launcher:iconTextSize="13.0"
  62. launcher:allAppsBorderSpace="16"
  63. launcher:allAppsCellHeight="104"
  64. launcher:canBeDefault="true" />
  65. <display-option
  66. launcher:name="Stubby"
  67. launcher:minWidthDps="255"
  68. launcher:minHeightDps="450"
  69. launcher:iconImageSize="48"
  70. launcher:iconTextSize="13.0"
  71. launcher:allAppsBorderSpace="16"
  72. launcher:allAppsCellHeight="104"
  73. launcher:canBeDefault="true" />
  74. <display-option
  75. launcher:name="Nexus S"
  76. launcher:minWidthDps="296"
  77. launcher:minHeightDps="491.33"
  78. launcher:iconImageSize="48"
  79. launcher:iconTextSize="13.0"
  80. launcher:allAppsBorderSpace="16"
  81. launcher:allAppsCellHeight="104"
  82. launcher:canBeDefault="true" />
  83. <display-option
  84. launcher:name="Nexus 4"
  85. launcher:minWidthDps="359"
  86. launcher:minHeightDps="567"
  87. launcher:iconImageSize="54"
  88. launcher:iconTextSize="13.0"
  89. launcher:allAppsBorderSpace="16"
  90. launcher:allAppsCellHeight="104"
  91. launcher:canBeDefault="true" />
  92. <display-option
  93. launcher:name="Nexus 5"
  94. launcher:minWidthDps="335"
  95. launcher:minHeightDps="567"
  96. launcher:iconImageSize="54"
  97. launcher:iconTextSize="13.0"
  98. launcher:allAppsBorderSpace="16"
  99. launcher:allAppsCellHeight="104"
  100. launcher:canBeDefault="true" />
  101. </grid-option>
  102. <grid-option
  103. launcher:name="5_by_5"
  104. launcher:numRows="5"
  105. launcher:numColumns="5"
  106. launcher:numFolderRows="4"
  107. launcher:numFolderColumns="4"
  108. launcher:numHotseatIcons="5"
  109. launcher:numExtendedHotseatIcons="6"
  110. launcher:dbFile="launcher.db"
  111. launcher:inlineNavButtonsEndSpacing="@dimen/taskbar_button_margin_split"
  112. launcher:defaultLayoutId="@xml/default_workspace_5x5"
  113. launcher:deviceCategory="phone|multi_display" >
  114. <display-option
  115. launcher:name="Large Phone"
  116. launcher:minWidthDps="406"
  117. launcher:minHeightDps="694"
  118. launcher:iconImageSize="56"
  119. launcher:iconTextSize="14.4"
  120. launcher:allAppsBorderSpace="16"
  121. launcher:allAppsCellHeight="104"
  122. launcher:canBeDefault="true" />
  123. <display-option
  124. launcher:name="Large Phone Split Display"
  125. launcher:minWidthDps="406"
  126. launcher:minHeightDps="694"
  127. launcher:iconImageSize="56"
  128. launcher:iconTextSize="14.4"
  129. launcher:allAppsBorderSpace="16"
  130. launcher:allAppsCellHeight="104"
  131. launcher:canBeDefault="true" />
  132. <display-option
  133. launcher:name="Shorter Stubby"
  134. launcher:minWidthDps="255"
  135. launcher:minHeightDps="400"
  136. launcher:iconImageSize="48"
  137. launcher:iconTextSize="13.0"
  138. launcher:allAppsBorderSpace="16"
  139. launcher:allAppsCellHeight="104"
  140. launcher:canBeDefault="true" />
  141. </grid-option>
  142. <grid-option
  143. launcher:name="6_by_5"
  144. launcher:numRows="5"
  145. launcher:numColumns="6"
  146. launcher:numSearchContainerColumns="3"
  147. launcher:numFolderRows="3"
  148. launcher:numFolderColumns="3"
  149. launcher:numHotseatIcons="6"
  150. launcher:hotseatColumnSpanLandscape="4"
  151. launcher:numAllAppsColumns="6"
  152. launcher:isScalable="true"
  153. launcher:inlineNavButtonsEndSpacing="@dimen/taskbar_button_margin_6_5"
  154. launcher:devicePaddingId="@xml/paddings_6x5"
  155. launcher:dbFile="launcher_6_by_5.db"
  156. launcher:defaultLayoutId="@xml/default_workspace_6x5"
  157. launcher:deviceCategory="tablet" >
  158. <display-option
  159. launcher:name="Tablet"
  160. launcher:minWidthDps="900"
  161. launcher:minHeightDps="820"
  162. launcher:minCellHeight="120"
  163. launcher:minCellWidth="102"
  164. launcher:minCellHeightLandscape="104"
  165. launcher:minCellWidthLandscape="120"
  166. launcher:iconImageSize="60"
  167. launcher:iconTextSize="14"
  168. launcher:borderSpaceHorizontal="16"
  169. launcher:borderSpaceVertical="64"
  170. launcher:borderSpaceLandscapeHorizontal="64"
  171. launcher:borderSpaceLandscapeVertical="16"
  172. launcher:horizontalMargin="54"
  173. launcher:horizontalMarginLandscape="120"
  174. launcher:allAppsCellWidth="96"
  175. launcher:allAppsCellHeight="142"
  176. launcher:allAppsCellWidthLandscape="126"
  177. launcher:allAppsCellHeightLandscape="126"
  178. launcher:allAppsIconSize="60"
  179. launcher:allAppsIconTextSize="14"
  180. launcher:allAppsBorderSpaceHorizontal="8"
  181. launcher:allAppsBorderSpaceVertical="16"
  182. launcher:allAppsBorderSpaceLandscape="16"
  183. launcher:hotseatBarBottomSpace="76"
  184. launcher:hotseatBarBottomSpaceLandscape="40"
  185. launcher:canBeDefault="true" />
  186. </grid-option>
  187. </profiles>