Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: sky/sdk/lib/framework/theme2/view_configuration.dart

Issue 1171173003: Right-size the toolbar (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Updated per review feedback Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/sdk/lib/framework/components2/tool_bar.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/theme2/view_configuration.dart
diff --git a/sky/sdk/lib/framework/theme2/view_configuration.dart b/sky/sdk/lib/framework/theme2/view_configuration.dart
index 84e3ea0b5e837e5d489e995b0546ccb355643c94..e760f495cf5e7d711db7b2275fb1559865e13b2c 100644
--- a/sky/sdk/lib/framework/theme2/view_configuration.dart
+++ b/sky/sdk/lib/framework/theme2/view_configuration.dart
@@ -5,7 +5,10 @@
// Modeled after Android's ViewConfiguration:
// https://github.com/android/platform_frameworks_base/blob/master/core/java/android/view/ViewConfiguration.java
-const double kStatusBarHeight = 25.0;
+const double kNotificationAreaHeight = 25.0;
+// TODO(ianh): Figure out actual specced height for status bar
+const double kStatusBarHeight = 50.0;
+const double kToolBarHeight = 56.0;
const double kMaterialDrawerHeight = 140.0;
const double kScrollbarSize = 10.0;
const double kScrollbarFadeDuration = 250.0;
« no previous file with comments | « sky/sdk/lib/framework/components2/tool_bar.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698