-1

I just started Android programming and I have a very simple question. It's also how can I remove the part specified in the image below? enter image description here

ADM
  • 18,477
  • 11
  • 47
  • 78
Sourena
  • 15
  • 2

2 Answers2

0

try using this code inside on your OnCreate

do it like this :

protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        //other codes ...
}
AskNilesh
  • 63,753
  • 16
  • 113
  • 150
0

Go to styles.xml and Change this DarkActionBar to NoActionBar

style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
MarGin
  • 1,780
  • 1
  • 15
  • 25