{"action":"created","issue":{"url":"https://api.github.com/repos/udacity/Sunshine-Version-2/issues/109","labels_url":"https://api.github.com/repos/udacity/Sunshine-Version-2/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/udacity/Sunshine-Version-2/issues/109/comments","events_url":"https://api.github.com/repos/udacity/Sunshine-Version-2/issues/109/events","html_url":"https://github.com/udacity/Sunshine-Version-2/issues/109","id":123906925,"number":109,"title":"The layout is not the same as one from the end of lesson 1?","user":{"login":"exocore123","id":16423765,"avatar_url":"https://avatars.githubusercontent.com/u/16423765?v=3","gravatar_id":"","url":"https://api.github.com/users/exocore123","html_url":"https://github.com/exocore123","followers_url":"https://api.github.com/users/exocore123/followers","following_url":"https://api.github.com/users/exocore123/following{/other_user}","gists_url":"https://api.github.com/users/exocore123/gists{/gist_id}","starred_url":"https://api.github.com/users/exocore123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exocore123/subscriptions","organizations_url":"https://api.github.com/users/exocore123/orgs","repos_url":"https://api.github.com/users/exocore123/repos","events_url":"https://api.github.com/users/exocore123/events{/privacy}","received_events_url":"https://api.github.com/users/exocore123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-26T03:53:09Z","updated_at":"2015-12-26T16:06:41Z","closed_at":null,"body":"Hi, I am not sure what I did wrong, I basically copied and paste the code from the lesson when I was doing my project. The turn out of my code does not look like what the class has so far? Is it the version of my simulation? I am currently doing this in Jelly Bean, while the lesson is using Gingerbread. My simulation does not have settings implemented when I already have done what the code should be?\r\n\r\n![untitled](https://cloud.githubusercontent.com/assets/16423765/12005049/19fb1380-ab51-11e5-892f-4c4e5aad50cc.png)\r\n\r\n\r\nThis is my MainActivity.java\r\n\r\n    package com.dev.xxxxx.sunshine;\r\n\r\n    import android.os.Bundle;\r\n    import android.support.v7.app.AppCompatActivity;\r\n    import android.view.Menu;\r\n    import android.view.MenuItem;\r\n\r\n\r\n\r\n    public class MainActivity extends AppCompatActivity {\r\n\r\n    @Override\r\n    protected void onCreate(Bundle savedInstanceState) {\r\n        super.onCreate(savedInstanceState);\r\n        setContentView(R.layout.activity_main);\r\n        if (savedInstanceState == null) {\r\n            getSupportFragmentManager().beginTransaction()\r\n                    .add(R.id.container, new ForecastFragment())\r\n                    .commit();\r\n        }\r\n    }\r\n\r\n    @Override\r\n    public boolean onCreateOptionsMenu(Menu menu) {\r\n        // Inflate the menu; this adds items to the action bar if it is present.\r\n        getMenuInflater().inflate(R.menu.main, menu);\r\n        return true;\r\n    }\r\n\r\n    @Override\r\n    public boolean onOptionsItemSelected(MenuItem item) {\r\n        // Handle action bar item clicks here. The action bar will\r\n        // automatically handle clicks on the Home/Up button, so long\r\n        // as you specify a parent activity in AndroidManifest.xml.\r\n        int id = item.getItemId();\r\n\r\n        //noinspection SimplifiableIfStatement\r\n        if (id == R.id.action_settings) {\r\n            return true;\r\n        }\r\n\r\n        return super.onOptionsItemSelected(item);\r\n    }\r\n\r\n    /**\r\n     * A placeholder fragment containing a simple view.\r\n     */\r\n\r\n    }\r\n\r\n\r\n\r\n\r\n![untitled2](https://cloud.githubusercontent.com/assets/16423765/12005059/db7eb2aa-ab51-11e5-8df7-6cf31df14b5a.png)\r\n"},"comment":{"url":"https://api.github.com/repos/udacity/Sunshine-Version-2/issues/comments/167338363","html_url":"https://github.com/udacity/Sunshine-Version-2/issues/109#issuecomment-167338363","issue_url":"https://api.github.com/repos/udacity/Sunshine-Version-2/issues/109","id":167338363,"user":{"login":"Kasijjuf","id":13969873,"avatar_url":"https://avatars.githubusercontent.com/u/13969873?v=3","gravatar_id":"","url":"https://api.github.com/users/Kasijjuf","html_url":"https://github.com/Kasijjuf","followers_url":"https://api.github.com/users/Kasijjuf/followers","following_url":"https://api.github.com/users/Kasijjuf/following{/other_user}","gists_url":"https://api.github.com/users/Kasijjuf/gists{/gist_id}","starred_url":"https://api.github.com/users/Kasijjuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kasijjuf/subscriptions","organizations_url":"https://api.github.com/users/Kasijjuf/orgs","repos_url":"https://api.github.com/users/Kasijjuf/repos","events_url":"https://api.github.com/users/Kasijjuf/events{/privacy}","received_events_url":"https://api.github.com/users/Kasijjuf/received_events","type":"User","site_admin":false},"created_at":"2015-12-26T16:06:41Z","updated_at":"2015-12-26T16:06:41Z","body":"Does the onCreate method of your ForecastFragment contain the statement setHasOptionsMenu(true); ?"}}