Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
hantrungkien committed Jul 24, 2017
1 parent 68640ad commit 167147c
Show file tree
Hide file tree
Showing 3 changed files with 1,528 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autodimens.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class AutoFactory extends DefaultTask {

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

createDimen {
dimens = [320, 360, 384, 411, 450, 480, 540, 570, 600, 660, 720, 768, 800, 960, 1024, 1080, 1280, 1366, 1440, 1680
dimens = [320, 360, 384, 411, 420, 450, 480, 540, 560, 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
Expand Down
Loading

0 comments on commit 167147c

Please sign in to comment.