android: launcher: add empty activity content view
This commit is contained in:
parent
b59c32e98f
commit
6011fe2982
2 changed files with 7 additions and 1 deletions
6
android/launcher/res/layout/activity_launcher.xml
Normal file
6
android/launcher/res/layout/activity_launcher.xml
Normal 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>
|
||||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue