user2550411
user2550411

Reputation: 31

How to create an empty Android project in Eclipse?

How I can create an Android project from the menu with an empty activity in Eclipse. I don't want title bar, icon in the top...nothing. A empty project with an empty avtivity.

Thanks

Upvotes: 1

Views: 973

Answers (1)

Rachit Tyagi
Rachit Tyagi

Reputation: 678

In order to create an android project using eclipse Goto File --> New --> Android Application Project. A new window open, in this window put your project name and click next and complete the process.

And to remove the title bar go to src folder and expand your project, then open your activity. In the code inside the onCreate(Bundle savedInstanceState) function add requestWindowFeature(Window.FEATURE_NO_TITLE); before the setContentView(R.layout.activity_main);

Upvotes: 2

Related Questions