{"id":4209,"date":"2019-04-11T19:11:17","date_gmt":"2019-04-11T13:41:17","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=4209"},"modified":"2019-04-11T19:11:24","modified_gmt":"2019-04-11T13:41:24","slug":"how-to-design-a-tabbed-activity-in-android-studio","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-design-a-tabbed-activity-in-android-studio\/","title":{"rendered":"How to Design a Tabbed-activity in Android Studio"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">How to Design a Tabbed-activity in Android Studio<\/h4>\n\n\n\n<h4 class=\"wp-block-heading\">Date posted: 11\/04\/2019<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">In this article, we&#8217;ll help you in design a tabbled- activity in Android studio.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Prerequisites<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Android Studio Application<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Find File option and navigate through Tab activity<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Go to <strong>File <\/strong>Option on the right corner of the android studio application.Then Navigate through <strong>Activity <\/strong> and at the end the list of activity <strong>Click on<\/strong> Tabbed Activity.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"739\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-57-08-1024x739.png\" alt=\"\" class=\"wp-image-4211\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-57-08-1024x739.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-57-08-300x216.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-57-08-768x554.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-57-08.png 1346w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can mention the name of activity you want but in <strong>Navigation Style<\/strong> drop down list, select any one type TAB style you want.In my case i am going to select <strong>Action Bar with Tabs.<\/strong>Click <strong>OK <\/strong>to proceed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"798\" height=\"676\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-57-34.png\" alt=\"\" class=\"wp-image-4212\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-57-34.png 798w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-57-34-300x254.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-57-34-768x651.png 768w\" sizes=\"(max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Here you can see the UI&#8217;s design of Tabs with Action Bar in your XML file with the customised Action Bar title at the Top.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"504\" height=\"706\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-11-07-11.png\" alt=\"\" class=\"wp-image-4214\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-11-07-11.png 504w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-11-07-11-214x300.png 214w\" sizes=\"(max-width: 504px) 100vw, 504px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s another way to create Tabbed Activity.But can not choose the style of the Tab you want.Firstly go to the same option <strong>File<\/strong>&gt;<strong>New Project.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"603\" height=\"898\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-11-05-34.png\" alt=\"\" data-id=\"4213\" data-link=\"https:\/\/pheonixsolutions.com\/blog\/?attachment_id=4213\" class=\"wp-image-4213\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-11-05-34.png 603w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-11-05-34-201x300.png 201w\" sizes=\"(max-width: 603px) 100vw, 603px\" \/><\/figure><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">At the Bottom you can see <strong>Tabbed Activity.<\/strong>But it will leads to the original project without asking for the Tab Navigation style.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"902\" height=\"733\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-56-09.png\" alt=\"\" class=\"wp-image-4215\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-56-09.png 902w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-56-09-300x244.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/04\/Screenshot-from-2019-04-11-10-56-09-768x624.png 768w\" sizes=\"(max-width: 902px) 100vw, 902px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks for using pheonixsolutions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You find this tutorial helpful? Share with your friends to keep it alive.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Design a Tabbed-activity in Android Studio Date posted: 11\/04\/2019 In this article, we&#8217;ll help you in design a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1021],"tags":[617,590,616],"class_list":["post-4209","post","type-post","status-publish","format-standard","hentry","category-mobile-flutter","tag-activity","tag-android-studio","tag-tabs","psol-cat-mobile-flutter"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-15T","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=4209"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4209\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=4209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=4209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=4209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}