|
@ -15,6 +15,14 @@ class AppMetrics { |
|
|
this.screenHeight = height; |
|
|
this.screenHeight = height; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.shadows = { |
|
|
|
|
|
elevation: 10, |
|
|
|
|
|
offsetWidth: 10, |
|
|
|
|
|
offsetHeight: 10, |
|
|
|
|
|
opacity: 1, |
|
|
|
|
|
radius: 0 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
this.screenSections = { |
|
|
this.screenSections = { |
|
|
headerHeight: this.normalize(20), |
|
|
headerHeight: this.normalize(20), |
|
|
sectionWidth: this.screenWidth |
|
|
sectionWidth: this.screenWidth |
|
@ -23,6 +31,13 @@ class AppMetrics { |
|
|
this.icons = { |
|
|
this.icons = { |
|
|
splashIcon: this.normalize(100) |
|
|
splashIcon: this.normalize(100) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.images = { |
|
|
|
|
|
splashLogo: { |
|
|
|
|
|
width: this.screenWidth * 0.33, |
|
|
|
|
|
height: this.screenWidth * 0.33 |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
normalize(size){ |
|
|
normalize(size){ |
|
|