Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hantrungkien committed Jul 1, 2017
1 parent 0fdd878 commit 2f978a0
Show file tree
Hide file tree
Showing 8 changed files with 4,582 additions and 765 deletions.
6 changes: 4 additions & 2 deletions autodimens.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ public class AutoFactory extends DefaultTask {

public class DimenFactory extends DefaultTask {
@Input
int[] dimens = [320, 360, 384, 411, 450, 480, 540, 570, 600, 660, 720, 760, 800, 1024, 1080, 1280, 1440, 2560, 3840];
int[] dimens = [320, 360, 384, 411, 450, 480, 540, 570, 600, 660, 720, 768, 800, 960, 1024, 1080, 1280, 1366, 1440, 1680
, 1920, 2048, 2560, 3840];
@Input
int fromDimen = 360;
@Input
Expand Down Expand Up @@ -60,7 +61,8 @@ public class DimenFactory extends DefaultTask {
task createDimen(type: DimenFactory) {}

createDimen {
dimens = [320, 360, 384, 411, 450, 480, 540, 570, 600, 660, 720, 760, 800, 1024, 1080, 1280, 1440, 2560, 3840];
dimens = [320, 360, 384, 411, 450, 480, 540, 570, 600, 660, 720, 768, 800, 960, 1024, 1080, 1280, 1366, 1440, 1680
, 1920, 2048, 2560, 3840];
fromDimen = 360
positiveMaxDP = 600 //change to 600 or any other value if needed
positiveMaxSP = 60 //change to 600 or any other value if needed
Expand Down
Loading

0 comments on commit 2f978a0

Please sign in to comment.