device_profiles.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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:canBeDefault="true" />
  32. <display-option
  33. launcher:name="Shorter Stubby"
  34. launcher:minWidthDps="255"
  35. launcher:minHeightDps="400"
  36. launcher:iconImageSize="48"
  37. launcher:iconTextSize="13.0"
  38. launcher:canBeDefault="true" />
  39. </grid-option>
  40. <grid-option
  41. launcher:name="4_by_4"
  42. launcher:numRows="4"
  43. launcher:numColumns="4"
  44. launcher:numFolderRows="3"
  45. launcher:numFolderColumns="4"
  46. launcher:numHotseatIcons="4"
  47. launcher:dbFile="launcher_4_by_4.db"
  48. launcher:defaultLayoutId="@xml/default_workspace_4x4"
  49. launcher:deviceCategory="phone|multi_display" >
  50. <display-option
  51. launcher:name="Short Stubby"
  52. launcher:minWidthDps="275"
  53. launcher:minHeightDps="420"
  54. launcher:iconImageSize="48"
  55. launcher:iconTextSize="13.0"
  56. launcher:canBeDefault="true" />
  57. <display-option
  58. launcher:name="Stubby"
  59. launcher:minWidthDps="255"
  60. launcher:minHeightDps="450"
  61. launcher:iconImageSize="48"
  62. launcher:iconTextSize="13.0"
  63. launcher:canBeDefault="true" />
  64. <display-option
  65. launcher:name="Nexus S"
  66. launcher:minWidthDps="296"
  67. launcher:minHeightDps="491.33"
  68. launcher:iconImageSize="48"
  69. launcher:iconTextSize="13.0"
  70. launcher:canBeDefault="true" />
  71. <display-option
  72. launcher:name="Nexus 4"
  73. launcher:minWidthDps="359"
  74. launcher:minHeightDps="567"
  75. launcher:iconImageSize="54"
  76. launcher:iconTextSize="13.0"
  77. launcher:canBeDefault="true" />
  78. <display-option
  79. launcher:name="Nexus 5"
  80. launcher:minWidthDps="335"
  81. launcher:minHeightDps="567"
  82. launcher:iconImageSize="54"
  83. launcher:iconTextSize="13.0"
  84. launcher:canBeDefault="true" />
  85. </grid-option>
  86. <grid-option
  87. launcher:name="5_by_5"
  88. launcher:numRows="5"
  89. launcher:numColumns="5"
  90. launcher:numFolderRows="4"
  91. launcher:numFolderColumns="4"
  92. launcher:numHotseatIcons="5"
  93. launcher:dbFile="launcher.db"
  94. launcher:defaultLayoutId="@xml/default_workspace_5x5"
  95. launcher:deviceCategory="phone|multi_display" >
  96. <display-option
  97. launcher:name="Large Phone"
  98. launcher:minWidthDps="406"
  99. launcher:minHeightDps="694"
  100. launcher:iconImageSize="56"
  101. launcher:iconTextSize="14.4"
  102. launcher:canBeDefault="true" />
  103. <display-option
  104. launcher:name="Large Phone Split Display"
  105. launcher:minWidthDps="406"
  106. launcher:minHeightDps="694"
  107. launcher:iconImageSize="56"
  108. launcher:iconTextSize="14.4"
  109. launcher:canBeDefault="true" />
  110. <display-option
  111. launcher:name="Shorter Stubby"
  112. launcher:minWidthDps="255"
  113. launcher:minHeightDps="400"
  114. launcher:iconImageSize="48"
  115. launcher:iconTextSize="13.0"
  116. launcher:canBeDefault="true" />
  117. </grid-option>
  118. <grid-option
  119. launcher:name="6_by_5"
  120. launcher:numRows="5"
  121. launcher:numColumns="6"
  122. launcher:numFolderRows="3"
  123. launcher:numFolderColumns="3"
  124. launcher:numHotseatIcons="6"
  125. launcher:numAllAppsColumns="6"
  126. launcher:dbFile="launcher_6_by_5.db"
  127. launcher:defaultLayoutId="@xml/default_workspace_6x5"
  128. launcher:deviceCategory="tablet" >
  129. <display-option
  130. launcher:name="Tablet"
  131. launcher:minWidthDps="900"
  132. launcher:minHeightDps="820"
  133. launcher:minCellHeightDps="104"
  134. launcher:minCellWidthDps="80"
  135. launcher:iconImageSize="60"
  136. launcher:iconTextSize="14"
  137. launcher:borderSpaceDps="16"
  138. launcher:allAppsIconSize="60"
  139. launcher:allAppsIconTextSize="14"
  140. launcher:allAppsCellSpacingDps="16"
  141. launcher:canBeDefault="true" />
  142. </grid-option>
  143. </profiles>