{"id":1172,"date":"2017-02-03T09:55:31","date_gmt":"2017-02-03T09:55:31","guid":{"rendered":"http:\/\/abhiandroid.com\/androidstudio\/?p=1172"},"modified":"2018-06-05T07:12:21","modified_gmt":"2018-06-05T07:12:21","slug":"create-basic-activity","status":"publish","type":"post","link":"https:\/\/abhiandroid.com\/androidstudio\/create-basic-activity.html","title":{"rendered":"How to Create Basic Activity In Android Studio"},"content":{"rendered":"<p>Basic activity creates a simple app activity with an app bar and a floating action button in Android Studio. It acts as a starting point for your project by providing commonly used UI components. It includes:<\/p>\n<p>&#8211; AppBar<br \/>\n&#8211; FloatingActionButton<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<h4><strong>How To Create Basic Activity In Android Studio:<\/strong><\/h4>\n<p>Below is the simple image which guide you how to create Basic activity in Android Studio.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1177\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/02\/Basic-Activity-In-Android-Studio.png\" alt=\"Basic Activity In Android Studio\" width=\"896\" height=\"415\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/02\/Basic-Activity-In-Android-Studio.png 896w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/02\/Basic-Activity-In-Android-Studio-300x139.png 300w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/02\/Basic-Activity-In-Android-Studio-768x356.png 768w\" sizes=\"auto, (max-width: 896px) 100vw, 896px\" \/><\/p>\n<p>After creating you will see two layout files: one for the activity and one to separate out text content.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1180\" src=\"\/androidstudio\/wp-content\/uploads\/2017\/02\/Basic-Activity-Layouts-In-Android-Studio.png\" alt=\"Basic Activity Layouts In Android Studio\" width=\"318\" height=\"335\" srcset=\"https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/02\/Basic-Activity-Layouts-In-Android-Studio.png 318w, https:\/\/abhiandroid.com\/androidstudio\/wp-content\/uploads\/2017\/02\/Basic-Activity-Layouts-In-Android-Studio-285x300.png 285w\" sizes=\"auto, (max-width: 318px) 100vw, 318px\" \/><\/p>\n<p>In the same you can create\u00a0multiple activities like black activity, basic activity, gallery activity, full screen activity, login activity etc as per App requirement.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Basic activity creates a simple app activity with an app bar and a floating action button in Android Studio. It acts as a starting point for your project by providing commonly used UI components. It includes: &#8211; AppBar &#8211; FloatingActionButton &nbsp; How To Create Basic Activity In Android Studio: Below is the simple image which &hellip; <a href=\"https:\/\/abhiandroid.com\/androidstudio\/create-basic-activity.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to Create Basic Activity In Android Studio<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[63,1],"tags":[],"class_list":["post-1172","post","type-post","status-publish","format-standard","hentry","category-android-studio","category-archieve"],"psp_head":"<title>How to Create Basic Activity In Android Studio \u2013 Abhi Android<\/title>\r\n<meta name=\"description\" content=\"Basic activity creates a simple app activity with an app bar and a floating action button in Android Studio.\" \/>\r\n<meta name=\"robots\" content=\"index,follow\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/abhiandroid.com\/androidstudio\/create-basic-activity.html\" \/>\r\n","_links":{"self":[{"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/posts\/1172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/comments?post=1172"}],"version-history":[{"count":1,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/posts\/1172\/revisions"}],"predecessor-version":[{"id":1451,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/posts\/1172\/revisions\/1451"}],"wp:attachment":[{"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/media?parent=1172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/categories?post=1172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/abhiandroid.com\/androidstudio\/wp-json\/wp\/v2\/tags?post=1172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}