Am learning android and working on project as well.I just created an android project in android studio and tried to hide the title bar. more over i have tried all solutions has been using now.but its not working.

I have tried the following sites what they would have done solution for this issue.

```
http://stackoverflow.com/questions/28080250/android-feature-no-title-not-working
http://stackoverflow.com/questions/9737112/requestwindowfeaturewindow-feature-no-title-causing-the-app-to-crash
http://stackoverflow.com/questions/21354365/android-requestwindowfeaturewindow-feature-no-title-exception
http://stackoverflow.com/questions/27891030/requestwindowfeaturewindow-feature-no-title-error
http://stackoverflow.com/questions/25164171/requestwindowfeaturewindow-feature-no-title-not-working-in-froyo-and-gingerbr
http://stackoverflow.com/questions/25119013/can-not-remove-title-bar-in-activity#

```

And here is my android manifest file

```
<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">
    <activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:theme="@style/AppTheme">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

```

MainActivity.java

```
 public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
}

```

styles.xml

```
<resources>

<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
    <!-- Customize your theme here. -->
    <item name="colorPrimary">@color/colorPrimary</item>
    <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
    <item name="colorAccent">@color/colorAccent</item>
</style>

```

activity\_main.xml

```
<?xml version="1.0" encoding="utf-8"?>
<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"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context="com.example.raju.androidpractice.MainActivity">
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Hello World!" />
</RelativeLayout>

```

I know this very very basic question but whenever i search regarding this issue there is no proper answer and explanation

Would appreciate expected solution with brief about this issue.Thanks in advance