android: launcher: add empty activity content view

This commit is contained in:
Simon Fels 2016-07-12 12:27:51 +02:00
commit 6011fe2982
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,6 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Launcher">
</RelativeLayout>

View file

@ -29,6 +29,6 @@ public final class Launcher extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
LauncherApplication app = ((LauncherApplication)getApplication());
setContentView(R.layout.activity_launcher);
}
}