device_profiles.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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|multi_display" >
  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:dbFile="launcher_4_by_4.db"
  52. launcher:defaultLayoutId="@xml/default_workspace_4x4"
  53. launcher:deviceCategory="phone|multi_display" >
  54. <display-option
  55. launcher:name="Short Stubby"
  56. launcher:minWidthDps="275"
  57. launcher:minHeightDps="420"
  58. launcher:iconImageSize="48"
  59. launcher:iconTextSize="13.0"
  60. launcher:allAppsBorderSpace="16"
  61. launcher:allAppsCellHeight="104"
  62. launcher:canBeDefault="true" />
  63. <display-option
  64. launcher:name="Stubby"
  65. launcher:minWidthDps="255"
  66. launcher:minHeightDps="450"
  67. launcher:iconImageSize="48"
  68. launcher:iconTextSize="13.0"
  69. launcher:allAppsBorderSpace="16"
  70. launcher:allAppsCellHeight="104"
  71. launcher:canBeDefault="true" />
  72. <display-option
  73. launcher:name="Nexus S"
  74. launcher:minWidthDps="296"
  75. launcher:minHeightDps="491.33"
  76. launcher:iconImageSize="48"
  77. launcher:iconTextSize="13.0"
  78. launcher:allAppsBorderSpace="16"
  79. launcher:allAppsCellHeight="104"
  80. launcher:canBeDefault="true" />
  81. <display-option
  82. launcher:name="Nexus 4"
  83. launcher:minWidthDps="359"
  84. launcher:minHeightDps="567"
  85. launcher:iconImageSize="54"
  86. launcher:iconTextSize="13.0"
  87. launcher:allAppsBorderSpace="16"
  88. launcher:allAppsCellHeight="104"
  89. launcher:canBeDefault="true" />
  90. <display-option
  91. launcher:name="Nexus 5"
  92. launcher:minWidthDps="335"
  93. launcher:minHeightDps="567"
  94. launcher:iconImageSize="54"
  95. launcher:iconTextSize="13.0"
  96. launcher:allAppsBorderSpace="16"
  97. launcher:allAppsCellHeight="104"
  98. launcher:canBeDefault="true" />
  99. </grid-option>
  100. <grid-option
  101. launcher:name="5_by_5"
  102. launcher:numRows="5"
  103. launcher:numColumns="5"
  104. launcher:numFolderRows="4"
  105. launcher:numFolderColumns="4"
  106. launcher:numHotseatIcons="5"
  107. launcher:dbFile="launcher.db"
  108. launcher:defaultLayoutId="@xml/default_workspace_5x5"
  109. launcher:deviceCategory="phone|multi_display" >
  110. <display-option
  111. launcher:name="Large Phone"
  112. launcher:minWidthDps="406"
  113. launcher:minHeightDps="694"
  114. launcher:iconImageSize="56"
  115. launcher:iconTextSize="14.4"
  116. launcher:allAppsBorderSpace="16"
  117. launcher:allAppsCellHeight="104"
  118. launcher:canBeDefault="true" />
  119. <display-option
  120. launcher:name="Large Phone Split Display"
  121. launcher:minWidthDps="406"
  122. launcher:minHeightDps="694"
  123. launcher:iconImageSize="56"
  124. launcher:iconTextSize="14.4"
  125. launcher:allAppsBorderSpace="16"
  126. launcher:allAppsCellHeight="104"
  127. launcher:canBeDefault="true" />
  128. <display-option
  129. launcher:name="Shorter Stubby"
  130. launcher:minWidthDps="255"
  131. launcher:minHeightDps="400"
  132. launcher:iconImageSize="48"
  133. launcher:iconTextSize="13.0"
  134. launcher:allAppsBorderSpace="16"
  135. launcher:allAppsCellHeight="104"
  136. launcher:canBeDefault="true" />
  137. </grid-option>
  138. <grid-option
  139. launcher:name="6_by_5"
  140. launcher:numRows="5"
  141. launcher:numColumns="6"
  142. launcher:numSearchContainerColumns="3"
  143. launcher:numFolderRows="3"
  144. launcher:numFolderColumns="3"
  145. launcher:numHotseatIcons="6"
  146. launcher:hotseatColumnSpanLandscape="4"
  147. launcher:numAllAppsColumns="6"
  148. launcher:isScalable="true"
  149. launcher:devicePaddingId="@xml/paddings_6x5"
  150. launcher:dbFile="launcher_6_by_5.db"
  151. launcher:defaultLayoutId="@xml/default_workspace_6x5"
  152. launcher:deviceCategory="tablet" >
  153. <display-option
  154. launcher:name="Tablet"
  155. launcher:minWidthDps="900"
  156. launcher:minHeightDps="820"
  157. launcher:minCellHeight="120"
  158. launcher:minCellWidth="102"
  159. launcher:minCellHeightLandscape="104"
  160. launcher:minCellWidthLandscape="120"
  161. launcher:iconImageSize="60"
  162. launcher:iconTextSize="14"
  163. launcher:borderSpaceHorizontal="16"
  164. launcher:borderSpaceVertical="64"
  165. launcher:borderSpaceLandscapeHorizontal="64"
  166. launcher:borderSpaceLandscapeVertical="16"
  167. launcher:horizontalMargin="54"
  168. launcher:horizontalMarginLandscape="120"
  169. launcher:allAppsCellWidth="96"
  170. launcher:allAppsCellHeight="142"
  171. launcher:allAppsCellWidthLandscape="126"
  172. launcher:allAppsCellHeightLandscape="126"
  173. launcher:allAppsIconSize="60"
  174. launcher:allAppsIconTextSize="14"
  175. launcher:allAppsBorderSpaceHorizontal="8"
  176. launcher:allAppsBorderSpaceVertical="16"
  177. launcher:allAppsBorderSpaceLandscape="16"
  178. launcher:hotseatBorderSpace="58"
  179. launcher:hotseatBorderSpaceLandscape="50.4"
  180. launcher:canBeDefault="true" />
  181. </grid-option>
  182. </profiles>