Hellow World Application used in Android

JAVA CODE:                  
  1. package com.example.sreenath.helloandroid;  
  2. import android.app.Activity;  
  3. import android.os.Bundle;  
  4. import android.view.Menu;  
  5. import android.view.MenuItem;  
  6. public class MainActivity extends Activity  
  7. {  
  8.     @Override  
  9.     protected void onCreate(Bundle savedInstanceState)  
  10.     {  
  11.         super.onCreate(savedInstanceState);  
  12.         setContentView(R.layout.activity_main);  
  13.     }  
  14.     @Override  
  15.     public boolean onCreateOptionsMenu(Menu menu)  
  16.     {  
  17.         // Inflate the menu; this adds items to the action bar if it is present.  
  18.         getMenuInflater()  
  19.             .inflate(R.menu.menu_main, menu);  
  20.         return true;  
  21.     }  
  22.     @Override  
  23.     public boolean onOptionsItemSelected(MenuItem item)  
  24.     {  
  25.         // Handle action bar item clicks here. The action bar will  
  26.         // automatically handle clicks on the Home/Up button, so long  
  27.         // as you specify a parent activity in AndroidManifest.xml.  
  28.         int id = item.getItemId();  
  29.         //noinspection SimplifiableIfStatement  
  30.         if (id == R.id.action_settings)  
  31.         {  
  32.             return true;  
  33.         }  
  34.         return super.onOptionsItemSelected(item);  
  35.     }  
  36. }  
XML CODE:                  
  1. <RelativeLayout  
  2.     xmlns:android="http://schemas.android.com/apk/res/android"  
  3.     xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"  
  4. android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"  
  5. android:paddingRight="@dimen/activity_horizontal_margin"  
  6. android:paddingTop="@dimen/activity_vertical_margin"  
  7. android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"  
  8. style="@android:style/ButtonBar"  
  9. android:id="@+id/sree"  
  10. android:background="@android:color/holo_blue_light">  
  11.     <TextView android:text="\t HELLO WORLD\n" android:layout_width="wrap_content"  
  12. android:layout_height="wrap_content"  
  13. android:layout_marginTop="81dp"  
  14. android:id="@+id/sree"  
  15. android:background="@mipmap/ic_launcher"  
  16. android:textColor="#ffff038f"  
  17. android:layout_alignParentTop="true"  
  18. android:layout_alignParentLeft="true"  
  19. android:layout_alignParentStart="true"  
  20. android:layout_marginLeft="69dp"  
  21. android:layout_marginStart="69dp" />  
  22. </RelativeLayout>