From 7e23e9b29b170f50ad67d5807ea2fed0b625f2ac Mon Sep 17 00:00:00 2001 From: thibaud Date: Thu, 20 Apr 2017 13:53:16 +0200 Subject: [PATCH] Added new activity --- app/src/main/AndroidManifest.xml | 2 ++ app/src/main/java/com/example/diceroller/DiceActivity.java | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 26cb284..f090282 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -16,6 +16,8 @@ + + \ No newline at end of file diff --git a/app/src/main/java/com/example/diceroller/DiceActivity.java b/app/src/main/java/com/example/diceroller/DiceActivity.java index 6eadd4f..d1873d7 100644 --- a/app/src/main/java/com/example/diceroller/DiceActivity.java +++ b/app/src/main/java/com/example/diceroller/DiceActivity.java @@ -1,10 +1,17 @@ package com.example.diceroller; import android.app.Activity; +import android.os.Bundle; /** * Created by thibaud on 20/04/17. */ public class DiceActivity extends Activity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_dice); + } }