-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
  • 20,406
  • 11
  • 52
  • 83
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
  • 67,701
  • 16
  • 123
  • 163
0

Go to styles.xml and Change this DarkActionBar to NoActionBar

style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
MarGin
  • 2,078
  • 1
  • 17
  • 28