{"id":37059,"date":"2024-11-01T09:54:29","date_gmt":"2024-11-01T09:54:29","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=37059"},"modified":"2024-11-01T11:42:24","modified_gmt":"2024-11-01T11:42:24","slug":"course-on-kotlin-android-app-development-tab-layout-tab-button-configuration","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/37059\/","title":{"rendered":"Course on Kotlin Android App Development, Tab Layout &#8211; Tab Button Configuration"},"content":{"rendered":"<p><body><\/p>\n<p>In Android app development, user interface (UI) is a crucial element. If the UI is intuitive and easy to use, the user experience (UX) will be significantly improved, positively impacting the success of the application. This course will explore how to create basic tab buttons using <strong>Tab Layout<\/strong> with Kotlin and Android.<\/p>\n<h2>Table of Contents<\/h2>\n<ul>\n<li><a href=\"#Understanding_Tab_Layout\">Understanding Tab Layout<\/a><\/li>\n<li><a href=\"#Constructing_Tab_Layout\">Constructing Tab Layout<\/a><\/li>\n<li><a href=\"#Example_of_Tab_Layout\">Example of Tab Layout<\/a><\/li>\n<li><a href=\"#Customizing_Tab_Layout\">Customizing Tab Layout<\/a><\/li>\n<li><a href=\"#Conclusion\">Conclusion<\/a><\/li>\n<\/ul>\n<h2 id=\"Understanding_Tab_Layout\">Understanding Tab Layout<\/h2>\n<p>Tab Layout is a UI component that helps users easily switch between multiple screens using tabs. Tabs are primarily used to distinguish the main functions of the app, allowing users to select the desired tab on the top of the screen to switch content.<\/p>\n<p>To implement tabs in Android, we utilize two components: <strong>TabLayout<\/strong> and <strong>ViewPager<\/strong>. TabLayout displays the actual tab buttons, while ViewPager manages multiple pages corresponding to the tabs. By using these two components together, we can create swipeable tabs.<\/p>\n<h2 id=\"Constructing_Tab_Layout\">Constructing Tab Layout<\/h2>\n<p>To construct the Tab Layout, there are several steps to follow.<\/p>\n<ol>\n<li>Create a project and set up Gradle<\/li>\n<li>Create the layout file<\/li>\n<li>Connect the tabs and ViewPager<\/li>\n<li>Set up the Fragment for the tabs<\/li>\n<\/ol>\n<h3>1. Create a project and set up Gradle<\/h3>\n<p>Create a new project through Android Studio. Select <strong>Empty Activity<\/strong> and choose to use Kotlin. Add the following dependency in the <code>build.gradle<\/code> file of the created project:<\/p>\n<pre><code>implementation 'com.google.android.material:material:1.4.0'<\/code><\/pre>\n<h3>2. Create the layout file<\/h3>\n<p>Modify the <code>res\/layout\/activity_main.xml<\/code> file in the project as follows:<\/p>\n<pre><code>&lt;androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n        xmlns:app=\"http:\/\/schemas.android.com\/apk\/res-auto\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"&gt;\n\n    &lt;com.google.android.material.tabs.TabLayout\n        android:id=\"@+id\/tabLayout\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        app:tabMode=\"fixed\"\n        app:tabGravity=\"fill\"\/&gt;\n\n    &lt;androidx.viewpager.widget.ViewPager\n        android:id=\"@+id\/viewPager\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        app:layout_behavior=\"@string\/appbar_scrolling_view_behavior\"\/&gt;\n\n    &lt;\/androidx.coordinatorlayout.widget.CoordinatorLayout&gt;<\/code><\/pre>\n<h3>3. Connect the tabs and ViewPager<\/h3>\n<p>Now, open the <code>MainActivity.kt<\/code> file and write the following:<\/p>\n<pre><code>import android.os.Bundle\n    import androidx.appcompat.app.AppCompatActivity\n    import androidx.fragment.app.Fragment\n    import androidx.fragment.app.FragmentPagerAdapter\n    import androidx.viewpager.widget.ViewPager\n    import com.google.android.material.tabs.TabLayout\n\n    class MainActivity : AppCompatActivity() {\n\n        override fun onCreate(savedInstanceState: Bundle?) {\n            super.onCreate(savedInstanceState)\n            setContentView(R.layout.activity_main)\n\n            val tabLayout: TabLayout = findViewById(R.id.tabLayout)\n            val viewPager: ViewPager = findViewById(R.id.viewPager)\n\n            viewPager.adapter = object : FragmentPagerAdapter(supportFragmentManager) {\n                override fun getItem(position: Int): Fragment {\n                    return when (position) {\n                        0 -> Fragment1()\n                        1 -> Fragment2()\n                        else -> Fragment3()\n                    }\n                }\n\n                override fun getCount(): Int = 3\n                \n                override fun getPageTitle(position: Int): CharSequence? {\n                    return when (position) {\n                        0 -> \"Tab 1\"\n                        1 -> \"Tab 2\"\n                        2 -> \"Tab 3\"\n                        else -> null\n                    }\n                }\n            }\n\n            tabLayout.setupWithViewPager(viewPager)\n        }\n    }<\/code><\/pre>\n<h3>4. Set up the Fragment for the tabs<\/h3>\n<p>Create Fragment classes to be used for the tabs. Create <code>Fragment1.kt<\/code>, <code>Fragment2.kt<\/code>, and <code>Fragment3.kt<\/code> and write the following for each:<\/p>\n<pre><code>import android.os.Bundle\n    import androidx.fragment.app.Fragment\n    import android.view.LayoutInflater\n    import android.view.View\n    import android.view.ViewGroup\n\n    class Fragment1 : Fragment() {\n        override fun onCreateView(\n            inflater: LayoutInflater, container: ViewGroup?,\n            savedInstanceState: Bundle?\n        ): View? {\n            return inflater.inflate(R.layout.fragment_1, container, false)\n        }\n    }<\/code><\/pre>\n<p>Write the rest of the Fragments similarly.<\/p>\n<h2 id=\"Example_of_Tab_Layout\">Example of Tab Layout<\/h2>\n<p>Now, when you build and run the entire project, you will see an app with three tabs. Each time you select a tab, the corresponding Fragment will be displayed. This time, let&#8217;s add some simple content to each Fragment. Create the layout files for each Fragment.<\/p>\n<h3>fragment_1.xml<\/h3>\n<pre><code>&lt;FrameLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"&gt;\n\n        &lt;TextView\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:text=\"This is the content of the first tab\"\n            android:layout_gravity=\"center\"\/&gt;\n\n    &lt;\/FrameLayout&gt;<\/code><\/pre>\n<h3>fragment_2.xml<\/h3>\n<pre><code>&lt;FrameLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"&gt;\n\n        &lt;TextView\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:text=\"This is the content of the second tab\"\n            android:layout_gravity=\"center\"\/&gt;\n\n    &lt;\/FrameLayout&gt;<\/code><\/pre>\n<h3>fragment_3.xml<\/h3>\n<pre><code>&lt;FrameLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"&gt;\n\n        &lt;TextView\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:text=\"This is the content of the third tab\"\n            android:layout_gravity=\"center\"\/&gt;\n\n    &lt;\/FrameLayout&gt;<\/code><\/pre>\n<h2 id=\"Customizing_Tab_Layout\">Customizing Tab Layout<\/h2>\n<p>TabLayout provides many styling options by default. You can adjust the tab&#8217;s color, size, icons, etc., to create a more appealing UI. Below are some customization methods.<\/p>\n<h3>Setting Tab Colors<\/h3>\n<p>You can change the text color and background color of the tabs.<\/p>\n<pre><code>tabLayout.setTabTextColors(Color.parseColor(\"#FFFFFF\"), Color.parseColor(\"#FF0000\"))<\/code><\/pre>\n<h3>Setting Tab Icons<\/h3>\n<pre><code>tabLayout.getTabAt(0)?.setIcon(R.drawable.icon1)\n    tabLayout.getTabAt(1)?.setIcon(R.drawable.icon2)\n    tabLayout.getTabAt(2)?.setIcon(R.drawable.icon3)<\/code><\/pre>\n<h2 id=\"Conclusion\">Conclusion<\/h2>\n<p>In this course, we learned how to construct a tab layout in an Android app using Kotlin. We were able to build a UI that easily switches between multiple Fragments using TabLayout and ViewPager, and also explored basic customization methods. By utilizing various APIs and libraries, we hope you create amazing apps that enhance the user experience!<\/p>\n<p>In the next lecture, we will explore how to implement additional tab actions and animation effects. We appreciate your interest!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Android app development, user interface (UI) is a crucial element. If the UI is intuitive and easy to use, the user experience (UX) will be significantly improved, positively impacting the success of the application. This course will explore how to create basic tab buttons using Tab Layout with Kotlin and Android. Table of Contents &hellip; <a href=\"https:\/\/atmokpo.com\/w\/37059\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Course on Kotlin Android App Development, Tab Layout &#8211; Tab Button Configuration&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[143],"tags":[],"class_list":["post-37059","post","type-post","status-publish","format-standard","hentry","category-kotlin-android-app-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Course on Kotlin Android App Development, Tab Layout - Tab Button Configuration - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/37059\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Course on Kotlin Android App Development, Tab Layout - Tab Button Configuration - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"In Android app development, user interface (UI) is a crucial element. If the UI is intuitive and easy to use, the user experience (UX) will be significantly improved, positively impacting the success of the application. This course will explore how to create basic tab buttons using Tab Layout with Kotlin and Android. Table of Contents &hellip; \ub354 \ubcf4\uae30 &quot;Course on Kotlin Android App Development, Tab Layout &#8211; Tab Button Configuration&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/37059\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T09:54:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:42:24+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/37059\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37059\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Course on Kotlin Android App Development, Tab Layout &#8211; Tab Button Configuration\",\"datePublished\":\"2024-11-01T09:54:29+00:00\",\"dateModified\":\"2024-11-01T11:42:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37059\/\"},\"wordCount\":476,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Kotlin Android app development\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/37059\/\",\"url\":\"https:\/\/atmokpo.com\/w\/37059\/\",\"name\":\"Course on Kotlin Android App Development, Tab Layout - Tab Button Configuration - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T09:54:29+00:00\",\"dateModified\":\"2024-11-01T11:42:24+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/37059\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/37059\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/37059\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Course on Kotlin Android App Development, Tab Layout &#8211; Tab Button Configuration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Course on Kotlin Android App Development, Tab Layout - Tab Button Configuration - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/37059\/","og_locale":"ko_KR","og_type":"article","og_title":"Course on Kotlin Android App Development, Tab Layout - Tab Button Configuration - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"In Android app development, user interface (UI) is a crucial element. If the UI is intuitive and easy to use, the user experience (UX) will be significantly improved, positively impacting the success of the application. This course will explore how to create basic tab buttons using Tab Layout with Kotlin and Android. Table of Contents &hellip; \ub354 \ubcf4\uae30 \"Course on Kotlin Android App Development, Tab Layout &#8211; Tab Button Configuration\"","og_url":"https:\/\/atmokpo.com\/w\/37059\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T09:54:29+00:00","article_modified_time":"2024-11-01T11:42:24+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"5\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/37059\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/37059\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Course on Kotlin Android App Development, Tab Layout &#8211; Tab Button Configuration","datePublished":"2024-11-01T09:54:29+00:00","dateModified":"2024-11-01T11:42:24+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/37059\/"},"wordCount":476,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Kotlin Android app development"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/37059\/","url":"https:\/\/atmokpo.com\/w\/37059\/","name":"Course on Kotlin Android App Development, Tab Layout - Tab Button Configuration - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T09:54:29+00:00","dateModified":"2024-11-01T11:42:24+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/37059\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/37059\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/37059\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Course on Kotlin Android App Development, Tab Layout &#8211; Tab Button Configuration"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37059","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=37059"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37059\/revisions"}],"predecessor-version":[{"id":37060,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/37059\/revisions\/37060"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=37059"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=37059"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=37059"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}