diff --git a/examples/material_gallery/README.md b/examples/material_gallery/README.md
new file mode 100644
index 0000000000..71aa103fc6
--- /dev/null
+++ b/examples/material_gallery/README.md
@@ -0,0 +1,12 @@
+# Flutter Material Gallery
+
+Demo app for the Material Design widgets implemented in Flutter.
+
+## Icon
+
+Icon was generated using Android Asset Studio:
+https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=image&foreground.space.trim=0&foreground.space.pad=0.1&foreColor=607d8b%2C0&crop=0&backgroundShape=square&backColor=ffffff%2C100&effects=none
+
+From the Flutter Logo:
+https://github.com/flutter/flutter.github.io/blob/master/_includes/logo.html
+which appears to be CC-BY 4.0.
diff --git a/examples/material_gallery/apk/AndroidManifest.xml b/examples/material_gallery/apk/AndroidManifest.xml
new file mode 100644
index 0000000000..049316483b
--- /dev/null
+++ b/examples/material_gallery/apk/AndroidManifest.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/material_gallery/apk/res/mipmap-hdpi/ic_launcher.png b/examples/material_gallery/apk/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000000..f0a55cda78
Binary files /dev/null and b/examples/material_gallery/apk/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/examples/material_gallery/apk/res/mipmap-mdpi/ic_launcher.png b/examples/material_gallery/apk/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000000..eb98dc451d
Binary files /dev/null and b/examples/material_gallery/apk/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/examples/material_gallery/apk/res/mipmap-xhdpi/ic_launcher.png b/examples/material_gallery/apk/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000000..f1783dbbf3
Binary files /dev/null and b/examples/material_gallery/apk/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/examples/material_gallery/apk/res/mipmap-xxhdpi/ic_launcher.png b/examples/material_gallery/apk/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000000..46828a290a
Binary files /dev/null and b/examples/material_gallery/apk/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/examples/material_gallery/apk/res/mipmap-xxxhdpi/ic_launcher.png b/examples/material_gallery/apk/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000000..a5276715d9
Binary files /dev/null and b/examples/material_gallery/apk/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/examples/material_gallery/flutter.yaml b/examples/material_gallery/flutter.yaml
index c4fb1dc140..c1cbb0e916 100644
--- a/examples/material_gallery/flutter.yaml
+++ b/examples/material_gallery/flutter.yaml
@@ -1,4 +1,6 @@
name: material_gallery
+assets:
+ - assets/flutter_logo.png
material-design-icons:
- name: navigation/arrow_drop_down
- name: navigation/cancel
diff --git a/examples/material_gallery/lib/gallery_page.dart b/examples/material_gallery/lib/gallery_page.dart
index 6c4a6116b8..de6c4f79b5 100644
--- a/examples/material_gallery/lib/gallery_page.dart
+++ b/examples/material_gallery/lib/gallery_page.dart
@@ -19,7 +19,7 @@ class GalleryPage extends StatefulComponent {
class _GalleryPageState extends State {
Widget _buildDrawer() {
List items = [
- new DrawerHeader(child: new Text('Material demos')),
+ new DrawerHeader(child: new Text('Flutter Material demos')),
];
for (WidgetDemo demo in config.demos) {
@@ -31,6 +31,20 @@ class _GalleryPageState extends State {
));
}
+ // TODO(eseidel): We should make this into a shared DrawerFooter.
+ items.add(new DrawerDivider());
+ items.add(new DrawerItem(child: new Flex([
+ new Text("Made with Flutter "),
+ new Container(
+ margin: const EdgeDims.symmetric(horizontal: 5.0),
+ child: new AssetImage(
+ name: 'assets/flutter_logo.png',
+ height: 16.0,
+ fit: ImageFit.contain
+ )
+ )
+ ])));
+
return new Drawer(child: new Block(items));
}
@@ -57,7 +71,7 @@ class _GalleryPageState extends State {
Widget build(BuildContext context) {
return new Scaffold(
toolBar: new ToolBar(
- center: new Text(config.active?.title ?? 'Material gallery'),
+ center: new Text(config.active?.title ?? 'Flutter Material gallery'),
tabBar: _buildTabBar()
),
drawer: _buildDrawer(),