diff android/DWindows.kt @ 2479:54b0008a0569

Android: Set the window text on the activity in dw_window_new(). Also remove the now unnecessary dwindows_main.xml since we generate our layout ourselves.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 24 Apr 2021 21:28:57 +0000
parents b0230e378667
children 878d36588aaa
line wrap: on
line diff
--- a/android/DWindows.kt	Fri Apr 23 10:40:57 2021 +0000
+++ b/android/DWindows.kt	Sat Apr 24 21:28:57 2021 +0000
@@ -32,6 +32,7 @@
     {
         var windowLayout: LinearLayout = LinearLayout(this)
         setContentView(windowLayout)
+        this.title = title
         // For now we just return our DWindows' main activity layout...
         // in the future, later calls should create new activities
         return windowLayout