title: New activity fragment pattern for Android Studio 1.4
body: <p>Since many months, I as an android developer, am using Activity-Fragment pattern for the implementation of Activity. But it seems that Google decided to change the pattern (Again).</p>
  
  <p>Few days back I updated Android studio to v1.4 beta 4. I noticed a new pattern for Activity build up. When I tried to create the new activity from new->Activity, I could not find "New Activity with blank fragment". Instead, there were two new options "Empty Activity" and "Blank Activity". <a href="https://i.stack.imgur.com/xZGkj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xZGkj.png" alt="enter image description here"></a>
   I opted Blank Activity and had following files inserted. </p>
  
  <ol>
  <li>MainActivity.java (Activity class)
  <a href="https://i.stack.imgur.com/SQj0V.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SQj0V.png" alt="mainActivity.java file"></a></li>
  <li>activity_main.xml (layout of activity)
  <a href="https://i.stack.imgur.com/Dsl8o.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Dsl8o.png" alt="activity_main.xml file"></a></li>
  <li>content_main.xml (content of activity included by activtiy_main.xml)
  <a href="https://i.stack.imgur.com/Cn2cO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cn2cO.png" alt="content_main.xml file"></a></li>
  </ol>
  
  <p>So my question is, what is the new pattern for development that Android developer should follow?</p>
  
  <p>----EDIT----
  <strong>How to use the previous pattern of Activity-Fragment</strong>
  To get 'Fragment' back into picture you need to select "use a fragment" in dialog that appears after selecting "Blank Activity"
  <a href="https://i.stack.imgur.com/3hJSR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3hJSR.png" alt="enter image description here"></a></p>