Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Commit 9168343

Browse files
authored
Merge pull request #34 from amardeshbd/feature/support_large_tablet
Feature/support large tablet
2 parents 6046dd7 + 80e9da5 commit 9168343

File tree

4 files changed

+72
-0
lines changed

4 files changed

+72
-0
lines changed

app/src/main/res/values-land/dimens.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@
1414
~ limitations under the License.
1515
-->
1616

17+
<!--
18+
Support different screen sizes.
19+
20+
For reference see:
21+
- https://material.io/tools/devices/
22+
- https://developer.android.com/guide/topics/resources/providing-resources
23+
- https://developer.android.com/training/multiscreen/screensizes
24+
-->
1725
<resources>
1826
<!-- On phone use more column on landscape mode for better content browsing -->
1927
<item name="grid_column_count" type="integer">2</item>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!--
2+
~ Copyright (c) 2018 Hossain Khan
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+
17+
<!--
18+
Support different screen sizes.
19+
20+
For reference see:
21+
- https://material.io/tools/devices/
22+
- https://developer.android.com/guide/topics/resources/providing-resources
23+
- https://developer.android.com/training/multiscreen/screensizes
24+
-->
25+
<resources>
26+
<!-- On large tablet use even more column on landscape mode for better content browsing -->
27+
<item name="grid_column_count" type="integer">3</item>
28+
</resources>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!--
2+
~ Copyright (c) 2018 Hossain Khan
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+
17+
<!--
18+
Support different screen sizes.
19+
20+
For reference see:
21+
- https://material.io/tools/devices/
22+
- https://developer.android.com/guide/topics/resources/providing-resources
23+
- https://developer.android.com/training/multiscreen/screensizes
24+
-->
25+
<resources>
26+
<!-- On large tablet use more column on portrait mode for better content browsing -->
27+
<item name="grid_column_count" type="integer">2</item>
28+
</resources>

app/src/main/res/values/dimens.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@
1616
~ limitations under the License.
1717
-->
1818

19+
<!--
20+
Support different screen sizes.
21+
22+
For reference see:
23+
- https://material.io/tools/devices/
24+
- https://developer.android.com/guide/topics/resources/providing-resources
25+
- https://developer.android.com/training/multiscreen/screensizes
26+
-->
1927
<resources>
2028
<dimen name="box_size_small">40dp</dimen>
2129
<dimen name="box_size_medium">80dp</dimen>

0 commit comments

Comments
 (0)