

{"id":76185,"date":"2020-02-21T10:48:27","date_gmt":"2020-02-21T05:18:27","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=76185"},"modified":"2021-08-25T14:05:28","modified_gmt":"2021-08-25T08:35:28","slug":"android-styles-and-themes","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/","title":{"rendered":"Android Styles and Themes &#8211; Personalise the look &amp; feel of the app"},"content":{"rendered":"<p>In this article, we are going to learn and implement Android Styles and Themes. Android styles and themes are used to change the View and appearances of the <a href=\"https:\/\/data-flair.training\/blogs\/android-application-components\/\"><em><strong>application<\/strong><\/em><\/a> according to requirement.<\/p>\n<p>Android-style is basically a collection of attributes such as <em>fonts size, font color, background color, margin, font type, etc<\/em>. It generally specifies the attributes of a single view or window. Android provides us this facility to change the appearance and feel of the app so we can customize them. We define the styles in a separate XML resource file. Android styles are similar to CSS styles.<\/p>\n<p>The android theme is a type of style that applies to the entire application and its components. Themes even apply to non-view elements as well. Non-view elements like &#8211; <em>notification bar, status bar, and backgrounds<\/em>.<\/p>\n<p>Both android styles and themes are declared in a style resource file with name <strong>styles.xml<\/strong>. You can find them in <strong>res &gt; values<\/strong>.<\/p>\n<h2>Android Styles and Themes<\/h2>\n<p>Let&#8217;s first talk about styles in android and later on, we will see what are themes in android.<\/p>\n<h3>What is Android Style?<\/h3>\n<p>While we define android styles in a separate file, we use that defined style for the views in the XML file that specifies the layout. Style definition needs a new XML in res&gt;values directory of our project with <strong>&lt;resources&gt;<\/strong> as the root node.<\/p>\n<p>To create Android Style, follow the following steps:<\/p>\n<p><strong>Step 1:<\/strong> Open style.xml in your project\u2019s res\/values\/style.xml.<\/p>\n<p><strong>Step 2:<\/strong> In that, we need to add &lt;style&gt; element with a name that uniquely identifies our style.<\/p>\n<p><strong>Step 3:<\/strong> Now we would add attributes of style using &lt;item&gt; tag. We also need to add appropriate value to each item element.<\/p>\n<p>Following is an example to define style in &lt;style&gt; tag using &lt;item&gt; tag.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&lt;resources&gt;\r\n    &lt;style name=\u201dEditTextStyle\"&gt;\r\n      &lt;item name=\"android:layout_width\"&gt;fill_parent&lt;\/item&gt;\r\n      &lt;item name=\"android:layout_height\"&gt;fill_parent&lt;\/item&gt;\r\n      &lt;item name=\"android:textSize\"&gt;40dp&lt;\/item&gt;\r\n      &lt;item name=\"android:textStyle\"&gt;bold&lt;\/item&gt;\r\n      &lt;item name=\"android:textSize\"&gt;#009999&lt;\/item&gt;\r\n    &lt;\/style&gt;\r\n&lt;\/resources&gt;<\/pre>\n<h3>How to Use Android Style?<\/h3>\n<p>After our Android style is ready, we can use it in our XML file using the Style attribute. To understand how we do it, consider the following:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&lt;LinearLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\r\n   android:layout_width=\"fill_parent\"\r\n   android:layout_height=\"fill_parent\"\r\n   android:orientation=\"vertical\" &gt;\r\n&lt;EditText\r\n    android:id=\"@+id\/txtEdit\"\r\n    android:layout_width=\"fill_parent\"\r\n    android:layout_height=\"fill_parent\"\r\n    style=\"@style\/EditTextStyle\"\r\n    android:text=\"Welcome to DataFlair\"\/&gt;\r\n&lt;\/LinearLayout&gt;<\/pre>\n<h3>Android Style Inheritance<\/h3>\n<p>Android provides support for inheriting Android Style similar to <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cascading_Style_Sheets\">CSS<\/a> in web design. This inheritance can be used when we want to use an existing Android style.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&lt;resources&gt;\r\n   &lt;style name=\"DataFlairTheme\" parent=\"android:style\/Theme\"&gt;\r\n   &lt;item name=\"android:textColorPrimary\"&gt;#ffff0000&lt;\/item&gt;\r\n   \/\/add required styles\r\n   &lt;\/style&gt;\r\n&lt;\/resources&gt;<\/pre>\n<p>Now in AndroidManifest.xml, we can apply the theme to the activities we want to style. We can also add other styles as per our choice:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&lt;activity\r\n   android:name=\"com.dataflair.MyActivity\"\r\n   \/\/ add required attributes\r\n   android:theme=\"@style\/DataFlairTheme\"\r\n\u00a0\u00a0\u00a0\/&gt;<\/pre>\n<p><em>Now, In DataFlair&#8217;s android styles and themes article, let&#8217;s discuss the themes in android.\u00a0<\/em><\/p>\n<h3>What is Android Theme?<\/h3>\n<p>We know that a theme is a style that is applied throughout <a href=\"https:\/\/data-flair.training\/blogs\/android-activity\/\"><em><strong>Android Activity<\/strong> <\/em><\/a>or Application. When a style is applied as a theme, the view in the app is applied to all the attributes that support it. For example, if we apply EditTextStyle as a theme for an activity, the same style applies to the text of all the views in that activity.<\/p>\n<p>To apply a theme in Android, do the following:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&lt;color name=\"colorIt\"&gt;#b0b0ff&lt;\/color&gt;\r\n&lt;style name=\"DataFlairTheme\" parent=\"Theme.AppCompat.Light\"&gt;\r\n   &lt;item name=\"android:windowBackground\"&gt;@color\/colorIt&lt;\/item&gt;\r\n   &lt;item name=\"android:colorBackground\"&gt;@color\/colorIt&lt;\/item&gt;\r\n&lt;\/style&gt;<\/pre>\n<p>We can set the theme either for an activity or for entire application:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&lt;activity android:theme=\"@android:style\/CustomTheme\"&gt; \/\/ for Activity\r\n&lt;application android:theme=\"@android:style\/CustomTheme\"&gt; \/\/for Application<\/pre>\n<h3>Example of Android Styles<\/h3>\n<p>Now we\u2019ll implement Android Style and change the colors and use a different font for our Application UI View.<\/p>\n<p>For this, we\u2019ll follow the following steps and write the following code:<\/p>\n<p><strong>Step 1:<\/strong> The first step is to create a new project and name it.<\/p>\n<p><strong>Step 2:<\/strong> Now what you\u2019ll do is, understand and write the code below:<\/p>\n<p>Open <strong>apps\/res\/value\/style.xml<\/strong> file. Here we\u2019ll write and design the style the way we want.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&lt;resources&gt;\r\n     &lt;style name=\"AppTheme\" parent=\"Theme.AppCompat.Light.DarkActionBar\"&gt;\r\n       &lt;item name=\"colorPrimary\"&gt;@color\/colorPrimary&lt;\/item&gt;\r\n       &lt;item name=\"colorPrimayDark\"&gt;@color\/colorPrimaryDark&lt;\/item&gt;\r\n       &lt;item name=\"colorAccent\"&gt;@color\/colorAccent&lt;\/item&gt;\r\n       &lt;item name=\"android:windowBackground\"&gt;@color\/colorAccent&lt;\/item&gt;\r\n   &lt;\/style&gt;\r\n   &lt;style name=\"TextviewStyle\" parent=\"@android:style\/Widget.TextView\"&gt;\r\n       &lt;item name=\"android:layout_width\"&gt;wrap_content&lt;\/item&gt;\r\n       &lt;item name=\"android:layout_height\"&gt;wrap_content&lt;\/item&gt;\r\n       &lt;item name=\"android:layout_marginLeft\"&gt;0dp&lt;\/item&gt;\r\n       &lt;item name=\"android:layout_marginTop\"&gt;10dp&lt;\/item&gt;\r\n       &lt;item name=\"android:textColor\"&gt;#86AD33&lt;\/item&gt;\r\n       &lt;item name=\"android:textStyle\"&gt;bold&lt;\/item&gt;\r\n       &lt;item name=\"android:textSize\"&gt;20dp&lt;\/item&gt;\r\n   &lt;\/style&gt;\r\n   &lt;style name=\"ButtonStyle\" parent=\"@android:style\/Widget.Button\"&gt;\r\n       &lt;item name=\"android:layout_width\"&gt;wrap_content&lt;\/item&gt;\r\n       &lt;item name=\"android:layout_height\"&gt;wrap_content&lt;\/item&gt;\r\n       &lt;item name=\"android:layout_marginLeft\"&gt;20dp&lt;\/item&gt;\r\n       &lt;item name=\"android:layout_marginTop\"&gt;10dp&lt;\/item&gt;\r\n       &lt;item name=\"android:textColor\"&gt;@color\/colorIt&lt;\/item&gt;\r\n       &lt;item name=\"android:textStyle\"&gt;bold&lt;\/item&gt;\r\n       &lt;item name=\"android:textSize\"&gt;30dp&lt;\/item&gt;\r\n   &lt;\/style&gt;\r\n\r\n   &lt;string name=\"wlcmsg\"&gt;Welcome to DataFlair&lt;\/string&gt;\r\n&lt;\/resources&gt;<\/pre>\n<p><strong>Step 3:<\/strong> Now that we have written the styling part, we\u2019ll define the colors in color.xml:<\/p>\n<p>Open <strong>app&gt;res&gt;value&gt;color.xml<\/strong> file.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;resources&gt;\r\n   &lt;color name=\"colorPrimary\"&gt;#00cccc&lt;\/color&gt;\r\n   &lt;color name=\"colorPrimaryDark\"&gt;#006666&lt;\/color&gt;\r\n   &lt;color name=\"colorIt\"&gt;#188596&lt;\/color&gt;\r\n   &lt;color name=\"colorAccent\"&gt;#BBF1F1&lt;\/color&gt;\r\n   &lt;color name=\"colorAccent1\"&gt;#1397B1&lt;\/color&gt;\r\n&lt;\/resources&gt;<\/pre>\n<p><strong>Step 4:<\/strong> Now, we\u2019ll design the layout using the style in <strong>style<\/strong>. Open activity_main.xml file and write the following code:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;LinearLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\r\n   android:layout_width=\"wrap_content\"\r\n   android:layout_height=\"wrap_content\"\r\n   android:layout_marginLeft=\"10dp\"\r\n   android:orientation=\"vertical\"&gt;\r\n\r\n   &lt;TextView\r\n       android:id=\"@+id\/TextView1\"\r\n       android:layout_width=\"300dp\"\r\n       android:layout_height=\"50dp\"\r\n       android:layout_marginLeft=\"45dp\"\r\n       android:layout_marginTop=\"100dp\"               android:gravity=\"center\"\r\n       android:fontFamily=\"@font\/abhaya_libre_extrabold\"\r\n       android:text=\"@string\/wlcmsg\"\r\n       android:textColor=\"@color\/colorAccent1\"\r\n       android:textSize=\"25dp\" \/&gt;\r\n\r\n   &lt;TextView\r\n       android:id=\"@+id\/btnShow\"\r\n       style=\"@style\/ButtonStyle\"\r\n       android:layout_marginLeft=\"35dp\"\r\n       android:layout_marginTop=\"200dp\"\r\n       android:fontFamily=\"@font\/abhaya_libre_extrabold\"\r\n       android:gravity=\"center\"\r\n       android:text=\"Android Style of a View\" \/&gt;\r\n&lt;\/LinearLayout&gt;<\/pre>\n<p><strong>Step 5:<\/strong> Now we\u2019ll run the application. You can make customizations the way you want. My application\u2019s View is like the following:<a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/sTYLE.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-76198 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/sTYLE.jpg\" alt=\"android styles and themes - application view\" width=\"300\" height=\"533\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/sTYLE.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/sTYLE-84x150.jpg 84w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/sTYLE-169x300.jpg 169w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h2>Summary<\/h2>\n<p>With this, we are completing the Android Styles and Themes article. In this, we have seen that android styles and themes that make our application interactive &amp; different from others. We can completely change its appearance and make it user-friendly. We have also seen how to implement it. Now it\u2019s your turn to implement it.<\/p>\n<p>Do let us know your implementation and how you did it. Also, learn to create your first<a href=\"https:\/\/data-flair.training\/blogs\/create-android-app\/\"><em><strong> android app<\/strong><\/em><\/a> with DataFlair.<\/p>\n<p>If you have any queries in DataFlair&#8217;s android styles and themes article, mention them in the comment section.<\/p>\n<p>Happy Learning\ud83d\ude03<span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:1183,&quot;href&quot;:&quot;https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Cascading_Style_Sheets&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251203083310\\\/https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Cascading_Style_Sheets&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 02:49:08&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-16 17:55:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-21 09:50:14&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-26 06:49:23&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-31 08:53:20&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-10 13:53:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-24 06:24:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-27 13:51:04&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-01 12:18:01&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-24 05:00:52&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-04 06:45:21&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-10 15:11:58&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-13 23:35:48&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-18 16:53:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-24 12:31:50&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-02 07:22:15&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-11 20:55:48&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-17 09:40:07&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-23 13:01:56&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-05-12 13:00:14&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-26 11:59:22&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-06 10:18:15&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-06 10:18:15&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we are going to learn and implement Android Styles and Themes. Android styles and themes are used to change the View and appearances of the application according to requirement. Android-style is&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":76211,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18722],"tags":[21947,21944,21949,21945,21950,21946,21948],"class_list":["post-76185","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","tag-android-style-inheritance","tag-android-styles-and-themes","tag-example-of-android-styles","tag-how-to-use-android-style","tag-styles-and-themes-in-android","tag-what-is-android-style","tag-what-is-android-theme"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Android Styles and Themes - Personalise the look &amp; feel of the app - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn to use Android styles and themes to change the view &amp; appearances of the application according to your requirement with the help of examples &amp; coding.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Android Styles and Themes - Personalise the look &amp; feel of the app - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn to use Android styles and themes to change the view &amp; appearances of the application according to your requirement with the help of examples &amp; coding.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-21T05:18:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-25T08:35:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/android-styles-themes.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"802\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Android Styles and Themes - Personalise the look &amp; feel of the app - DataFlair","description":"Learn to use Android styles and themes to change the view & appearances of the application according to your requirement with the help of examples & coding.","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:\/\/data-flair.training\/blogs\/android-styles-and-themes\/","og_locale":"en_US","og_type":"article","og_title":"Android Styles and Themes - Personalise the look &amp; feel of the app - DataFlair","og_description":"Learn to use Android styles and themes to change the view & appearances of the application according to your requirement with the help of examples & coding.","og_url":"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2020-02-21T05:18:27+00:00","article_modified_time":"2021-08-25T08:35:28+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/android-styles-themes.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"Android Styles and Themes &#8211; Personalise the look &amp; feel of the app","datePublished":"2020-02-21T05:18:27+00:00","dateModified":"2021-08-25T08:35:28+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/"},"wordCount":771,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/android-styles-themes.jpg","keywords":["Android Style Inheritance","Android Styles and Themes","Example of Android Styles","How to Use Android Style?","styles and themes in android","What is Android Style?","What is Android Theme?"],"articleSection":["Android Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/","url":"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/","name":"Android Styles and Themes - Personalise the look &amp; feel of the app - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/android-styles-themes.jpg","datePublished":"2020-02-21T05:18:27+00:00","dateModified":"2021-08-25T08:35:28+00:00","description":"Learn to use Android styles and themes to change the view & appearances of the application according to your requirement with the help of examples & coding.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/android-styles-themes.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/02\/android-styles-themes.jpg","width":802,"height":420,"caption":"styles and themes in android"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/android-styles-and-themes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Android Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/android\/"},{"@type":"ListItem","position":3,"name":"Android Styles and Themes &#8211; Personalise the look &amp; feel of the app"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team creates expert-level guides on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our goal is to empower learners with easy-to-understand content. Explore our resources for career growth and practical learning.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam1\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/76185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=76185"}],"version-history":[{"count":7,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/76185\/revisions"}],"predecessor-version":[{"id":76408,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/76185\/revisions\/76408"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/76211"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=76185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=76185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=76185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}