app: update UI example language and android style
authorAlexis Laferrière <alexis.laf@xymus.net>
Mon, 4 Sep 2017 22:21:57 +0000 (18:21 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Thu, 7 Sep 2017 19:25:59 +0000 (15:25 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/app/examples/ui_example.nit

index 43628af..f7dca44 100644 (file)
@@ -16,7 +16,9 @@
 module ui_example is
        app_name "app.nit UI"
        app_namespace "org.nitlanguage.ui_example"
-       android_api_target 15
+       android_api_min 21
+       android_api_target 21
+       android_manifest_activity "android:theme=\"@android:style/Theme.Material\""
 end
 
 import app::ui
@@ -31,7 +33,7 @@ class UiExampleWindow
        var layout = new ListLayout(parent=self)
 
        # Some label
-       var some_label = new Label(parent=layout, text="This Window uses a ListLayout.")
+       var some_label = new Label(parent=layout, text="Sample Window using a ListLayout.")
 
        # A checkbox
        var checkbox = new CheckBox(parent=layout, text="A CheckBox")