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

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: Toolbar contents bottom-justfied, stretch past notification area 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
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..0b166f53450b548531213da2bb941439b172f3cf 100644
--- a/sky/sdk/lib/framework/theme2/view_configuration.dart
+++ b/sky/sdk/lib/framework/theme2/view_configuration.dart
@@ -5,7 +5,9 @@
// 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;
+const double kStatusBarHeight = 50.0;
Hixie 2015/06/10 17:57:13 Add // TODO(ianh): Figure out actual specced heigh
hansmuller 2015/06/10 18:06:24 Done.
+const double kToolBarHeight = 56.0;
const double kMaterialDrawerHeight = 140.0;
const double kScrollbarSize = 10.0;
const double kScrollbarFadeDuration = 250.0;

Powered by Google App Engine
This is Rietveld 408576698