{"id":509,"date":"2022-12-13T17:55:24","date_gmt":"2023-01-26T03:52:53","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e\/"},"modified":"2025-08-01T00:08:30","modified_gmt":"2025-07-31T15:08:30","slug":"%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e\/","title":{"rendered":"\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de"},"content":{"rendered":"<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Android\u306e\u30c7\u30a4\u30ca\u30a4\u30c8\u30c6\u30fc\u30de\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u4f7f\u7528\u3057\u307e\u3059\u3002\u3082\u3057\u8aad\u307f\u7269\u306e\u3042\u308b\u30a2\u30d7\u30ea\u3092\u6301\u3063\u3066\u3044\u308b\u306a\u3089\u3001\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u306f\u76ee\u306e\u75b2\u308c\u3092\u8efd\u6e1b\u3059\u308b\u305f\u3081\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<h2>\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u65e5\u591c\u30c6\u30fc\u30de<\/h2>\n<p>Android\u306f\u65b0\u3057\u3044\u30c6\u30fc\u30de\u3001Theme.AppCompat.DayNight\u3068\u30b5\u30dd\u30fc\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea23.2.0\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u30c6\u30fc\u30de\u306e\u304a\u304b\u3052\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u660e\u308b\u3044\u30e2\u30fc\u30c9\u3068\u6697\u3044\u30e2\u30fc\u30c9\u3092\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u624b\u52d5\u3067\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u3082\u3001Android\u304c\u304a\u4f7f\u3044\u306e\u643a\u5e2f\u96fb\u8a71\u306e\u6642\u9593\u304b\u3089\u81ea\u52d5\u7684\u306b\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30c6\u30fc\u30de\u306b\u3088\u308a\u3001\u591c\u9593\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u86cd\u5149\u767d\u3044\u80cc\u666f\u3092\u3088\u308a\u6697\u3044\u3082\u306e\u306b\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u3067\u3001\u8aad\u307f\u3084\u3059\u3055\u3068\u4f7f\u3044\u3084\u3059\u3055\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002\u3059\u3067\u306b\u591a\u304f\u306e\u30ea\u30fc\u30c0\u30fc\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u3053\u306e\u30c6\u30fc\u30de\u3092\u6d3b\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u7a7a\u306e\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u3067\u65b0\u3057\u3044Android Studio\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3066\u5b9f\u88c5\u3092\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>themes.xml \u306b\u30b9\u30bf\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/h3>\n<p>\u73fe\u5728\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c6\u30fc\u30de\u3092DayNight\u306b\u7f6e\u304d\u63db\u3048\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;style name=\"AppTheme\" parent=\"Theme.AppCompat.DayNight\"&gt;\r\n        &lt;!-- Customize your theme here. --&gt;\r\n        &lt;item name=\"colorPrimary\"&gt;@color\/colorPrimary&lt;\/item&gt;\r\n        &lt;item name=\"colorPrimaryDark\"&gt;@color\/colorPrimaryDark&lt;\/item&gt;\r\n        &lt;item name=\"colorAccent\"&gt;@color\/colorAccent&lt;\/item&gt;\r\n    &lt;\/style&gt;\r\n<\/code><\/pre>\n<p>\u79c1\u305f\u3061\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067DayNight\u30c6\u30fc\u30de\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306b\u306f\u3001AppCompatDelegate.setDefaultNightMode()\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u3001\u4e0a\u8a18\u30e1\u30bd\u30c3\u30c9\u3067\u8a31\u53ef\u3055\u308c\u3066\u3044\u308b\u5f15\u6570\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>MODE_NIGHT_YES \u2013 Enables night mode manually.<\/li>\n<li>MODE_NIGHT_NO \u2013 Disables night mode manually.<\/li>\n<li>MODE_NIGHT_FOLLOW_SYSTEM \u2013 Uses the system settings to determine the time of day and toggles NightMode accordingly. This is the default argument.<\/li>\n<li>MODE_NIGHT_AUTO \u2013 This tries to auto-detect the time from the device location APIs. If the runtime permission for location services isn\u2019t granted, then it uses the system time.<\/li>\n<\/ul>\n<p>onCreate()\u30e1\u30bd\u30c3\u30c9\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code>@Override\r\n    protected void onCreate(Bundle savedInstanceState) {\r\n        super.onCreate(savedInstanceState);\r\n        AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); \/\/For night mode theme\r\n        \/\/AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); \/\/For day mode theme\r\n        setContentView(R.layout.activity_main);\r\n    }\r\n<\/code><\/pre>\n<p>setContentView\u30e1\u30bd\u30c3\u30c9\u304c\u5b9f\u884c\u3055\u308c\u308b\u524d\u306b\u3001\u30c6\u30fc\u30de\u3092\u5fc5\u305a\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>AppCompatDelegate\u3068\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656490a0daa94e2bdf7be014\/12-1.png\" alt=\"android night mode\" \/><\/div>\n<pre class=\"post-pre\"><code>&lt;style name=\"AppTheme\" parent=\"Theme.AppCompat.DayNight\"&gt;\r\n        &lt;!-- Customize your theme here. --&gt;\r\n        &lt;item name=\"colorPrimary\"&gt;@color\/colorPrimary&lt;\/item&gt;\r\n        &lt;item name=\"colorPrimaryDark\"&gt;@color\/colorPrimaryDark&lt;\/item&gt;\r\n        &lt;item name=\"colorAccent\"&gt;@color\/colorAccent&lt;\/item&gt;\r\n        &lt;item name=\"android:textColorPrimary\"&gt;@android:color\/white&lt;\/item&gt;\r\n        &lt;item name=\"android:textColorSecondary\"&gt;@android:color\/white&lt;\/item&gt;\r\n    &lt;\/style&gt;\r\n<\/code><\/pre>\n<p>\u73fe\u5728\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u306e\u30bf\u30a4\u30d7\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001AppCompatDelegate.getDefaultNightMode() \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u5148\u307b\u3069\u8aac\u660e\u3057\u305f\u5404\u30bf\u30a4\u30d7\u306b\u5bfe\u3057\u3066\u6574\u6570\u3092\u8fd4\u3057\u307e\u3059\u3002\u57fa\u672c\u7684\u306a\u30a2\u30a4\u30c7\u30a2\u3092\u5f97\u305f\u3089\u3001\u6b21\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<ul class=\"post-ul\">\n<li>Customise resources, styles in day\/night modes.<\/li>\n<li>Toggle DayNight theme from the UI<\/li>\n<li>See how various UI widgets look in Night Mode.<\/li>\n<\/ul>\n<h3>\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u69cb\u9020<\/h3>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656490a0daa94e2bdf7be014\/17-0.png\" alt=\"android daynight theme example project\" \/><\/div>\n<h3>Android\u306eDayNight\u30c6\u30fc\u30de\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h3>\n<p>\u4ee5\u4e0b\u306bactivity_main.xml\u30af\u30e9\u30b9\u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30fc\u30c9\u304c\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;RelativeLayout xmlns:android=\"https:\/\/schemas.android.com\/apk\/res\/android\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"match_parent\"&gt;\r\n\r\n\r\n    &lt;TextView\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_alignParentTop=\"true\"\r\n        android:layout_centerHorizontal=\"true\"\r\n        android:layout_margin=\"@android:dimen\/app_icon_size\"\r\n        android:text=\"Welcome to this tutorial.\"\r\n        android:textColor=\"@color\/daynight_textColor\"\r\n        android:textSize=\"18sp\" \/&gt;\r\n\r\n    &lt;ImageView\r\n        android:id=\"@+id\/imageView\"\r\n        android:layout_width=\"250dp\"\r\n        android:layout_height=\"250dp\"\r\n        android:layout_centerInParent=\"true\"\r\n        android:src=\"@drawable\/placeholder\" \/&gt;\r\n\r\n\r\n    &lt;TextView\r\n        android:id=\"@+id\/txtNightMode\"\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_alignBaseline=\"@+id\/switchCompat\"\r\n        android:layout_centerHorizontal=\"true\"\r\n        android:paddingRight=\"8dp\"\r\n        android:text=\"Night Mode\"\r\n        android:textColor=\"@color\/daynight_textColor\" \/&gt;\r\n\r\n\r\n    &lt;android.support.v7.widget.SwitchCompat\r\n        android:id=\"@+id\/switchCompat\"\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_alignParentBottom=\"true\"\r\n        android:layout_marginBottom=\"@android:dimen\/app_icon_size\"\r\n        android:layout_toRightOf=\"@+id\/txtNightMode\"\r\n        android:checked=\"false\"\r\n        android:textAppearance=\"?android:attr\/textAppearanceMedium\" \/&gt;\r\n\r\n    &lt;Button\r\n        android:id=\"@+id\/button\"\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_above=\"@+id\/imageView\"\r\n        android:layout_alignLeft=\"@+id\/txtNightMode\"\r\n        android:layout_alignStart=\"@+id\/txtNightMode\"\r\n        android:text=\"CLICK ME\"\r\n        android:textColor=\"@color\/daynight_textColor\" \/&gt;\r\n&lt;\/RelativeLayout&gt;\r\n<\/code><\/pre>\n<ul class=\"post-ul\">\n<li>We\u2019ve set a custom text color and drawable on the ImageView.<\/li>\n<li>To set different colors and drawables for day and night themes, we need to create separate folders for the resources.<\/li>\n<li>The day theme resources reside in the default directory.<\/li>\n<li>The night theme resources reside in folders with names appended with -night.<\/li>\n<li>Hence we\u2019ve created values-night and drawable-night folders in our project.<\/li>\n<li>The drawable filename, colors, style names must be the same in both the directories for the resources you wish to toggle in DayNight theme.<\/li>\n<li>If the above things are defined in only one of the directories, the same would be used in day and night themes.<\/li>\n<\/ul>\n<p>values \u30d5\u30a9\u30eb\u30c0\u3068 values-night \u30d5\u30a9\u30eb\u30c0\u5185\u306e styles.xml \u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;resources&gt;\r\n\r\n    &lt;!-- Base application theme. --&gt;\r\n    &lt;style name=\"AppTheme\" parent=\"Theme.AppCompat.DayNight\"&gt;\r\n        &lt;!-- Customize your theme here. --&gt;\r\n        &lt;item name=\"colorPrimary\"&gt;@color\/colorPrimary&lt;\/item&gt;\r\n        &lt;item name=\"colorPrimaryDark\"&gt;@color\/colorPrimaryDark&lt;\/item&gt;\r\n        &lt;item name=\"colorAccent\"&gt;@color\/colorAccent&lt;\/item&gt;\r\n        &lt;item name=\"android:textColorPrimary\"&gt;@android:color\/white&lt;\/item&gt;\r\n    &lt;\/style&gt;\r\n\r\n    &lt;style name=\"MyDialog\" parent=\"Theme.AppCompat.Light.Dialog.Alert\"\/&gt;\r\n\r\n    &lt;style name=\"MySwitch\"&gt;\r\n        &lt;item name=\"colorControlActivated\"&gt;@color\/switchColor&lt;\/item&gt;\r\n    &lt;\/style&gt;\r\n&lt;\/resources&gt;\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>&lt;resources&gt;\r\n    &lt;!-- Base application theme. values-night.xml --&gt;\r\n    &lt;style name=\"AppTheme\" parent=\"Theme.AppCompat.DayNight\"&gt;\r\n        &lt;!-- Customize your theme here. --&gt;\r\n        &lt;item name=\"colorPrimary\"&gt;@color\/orange&lt;\/item&gt;\r\n        &lt;item name=\"colorPrimaryDark\"&gt;@color\/orangeDark&lt;\/item&gt;\r\n        &lt;item name=\"colorAccent\"&gt;@color\/colorAccent&lt;\/item&gt;\r\n        &lt;item name=\"android:textColorPrimary\"&gt;@android:color\/white&lt;\/item&gt;\r\n    &lt;\/style&gt;\r\n\r\n    &lt;style name=\"MyDialog\" parent=\"Theme.AppCompat.DayNight.Dialog.Alert\"\/&gt;\r\n\r\n    &lt;style name=\"MySwitch\"&gt;\r\n        &lt;item name=\"colorControlActivated\"&gt;@color\/switchColor&lt;\/item&gt;\r\n    &lt;\/style&gt;\r\n&lt;\/resources&gt;\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656490a0daa94e2bdf7be014\/25-1.png\" alt=\"android daynight colors day mode\" \/><\/div>\n<pre class=\"post-pre\"><code>package com.scdev.daynightmode;\r\n\r\nimport android.content.Intent;\r\nimport android.support.v7.app.AlertDialog;\r\nimport android.support.v7.app.AppCompatActivity;\r\nimport android.os.Bundle;\r\nimport android.support.v7.app.AppCompatDelegate;\r\nimport android.support.v7.widget.SwitchCompat;\r\nimport android.view.View;\r\nimport android.widget.Button;\r\nimport android.widget.CompoundButton;\r\n\r\npublic class MainActivity extends AppCompatActivity {\r\n\r\n    @Override\r\n    protected void onCreate(Bundle savedInstanceState) {\r\n        super.onCreate(savedInstanceState);\r\n        if (InitApplication.getInstance().isNightModeEnabled()) {\r\n            AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);\r\n        } else {\r\n            AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);\r\n        }\r\n        setContentView(R.layout.activity_main);\r\n\r\n\r\n        SwitchCompat switchCompat = findViewById(R.id.switchCompat);\r\n        Button button = findViewById(R.id.button);\r\n        button.setOnClickListener(new View.OnClickListener() {\r\n            @Override\r\n            public void onClick(View v) {\r\n                new AlertDialog.Builder(MainActivity.this, R.style.MyDialog)\r\n                        .setTitle(\"Title\")\r\n                        .setMessage(\"Message\")\r\n                        .show();\r\n            }\r\n        });\r\n\r\n        if (AppCompatDelegate.getDefaultNightMode() == AppCompatDelegate.MODE_NIGHT_YES)\r\n            switchCompat.setChecked(true);\r\n\r\n        switchCompat.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {\r\n            @Override\r\n            public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {\r\n                if (isChecked) {\r\n                    InitApplication.getInstance().setIsNightModeEnabled(true);\r\n                    Intent intent = getIntent();\r\n                    intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);\r\n                    finish();\r\n                    startActivity(intent);\r\n\r\n                } else {\r\n                    InitApplication.getInstance().setIsNightModeEnabled(false);\r\n                    Intent intent = getIntent();\r\n                    intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);\r\n                    finish();\r\n                    startActivity(intent);\r\n                }\r\n\r\n\r\n            }\r\n        });\r\n\r\n    }\r\n}\r\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u3067\u663c\u591c\u30e2\u30fc\u30c9\u306e\u30c6\u30fc\u30de\u3092\u5207\u308a\u66ff\u3048\u308b\u305f\u3081\u306b\u30b9\u30a4\u30c3\u30c1\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u73fe\u5728\u306e\u30e2\u30fc\u30c9\u306fSharedPreferences\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u306a\u305c\u306a\u3089\u3001\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u306e\u30c6\u30fc\u30de\u306f\u4e00\u5ea6\u3057\u304b\u8a2d\u5b9a\u3067\u304d\u306a\u3044\u305f\u3081\u3067\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u30b9\u30a4\u30c3\u30c1\u304c\u5207\u308a\u66ff\u308f\u308b\u3068\u3001\u65b0\u3057\u3044\u30e2\u30fc\u30c9\u3092SharedPreferences\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u4fdd\u5b58\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Application\u30af\u30e9\u30b9\u3067\u306fSingleton\u30d1\u30bf\u30fc\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u540c\u3058Application\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5168\u4f53\u3067\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002InitApplication.java\u30af\u30e9\u30b9\u306e\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.daynightmode;\r\n\r\nimport android.app.Application;\r\nimport android.content.SharedPreferences;\r\nimport android.preference.PreferenceManager;\r\n\r\n\r\npublic class InitApplication extends Application {\r\n    public static final String NIGHT_MODE = \"NIGHT_MODE\";\r\n    private boolean isNightModeEnabled = false;\r\n\r\n    private static InitApplication singleton = null;\r\n\r\n    public static InitApplication getInstance() {\r\n\r\n        if(singleton == null)\r\n        {\r\n            singleton = new InitApplication();\r\n        }\r\n        return singleton;\r\n    }\r\n\r\n    @Override\r\n    public void onCreate() {\r\n        super.onCreate();\r\n        singleton = this;\r\n        SharedPreferences mPrefs = PreferenceManager.getDefaultSharedPreferences(this);\r\n        this.isNightModeEnabled = mPrefs.getBoolean(NIGHT_MODE, false);\r\n    }\r\n\r\n    public boolean isNightModeEnabled() {\r\n        return isNightModeEnabled;\r\n    }\r\n\r\n    public void setIsNightModeEnabled(boolean isNightModeEnabled) {\r\n        this.isNightModeEnabled = isNightModeEnabled;\r\n\r\n        SharedPreferences mPrefs = PreferenceManager.getDefaultSharedPreferences(this);\r\n        SharedPreferences.Editor editor = mPrefs.edit();\r\n        editor.putBoolean(NIGHT_MODE, isNightModeEnabled);\r\n        editor.apply();\r\n    }\r\n}\r\n<\/code><\/pre>\n<p>\u3053\u3053\u3067\u3001\u5171\u6709\u30d7\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u304b\u3089\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u306e\u30bf\u30a4\u30d7\u3092\u66f4\u65b0\u3057\u3066\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<h3>Android\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u5bfe\u5fdc\u30a2\u30d7\u30ea\u51fa\u529b<\/h3>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656490a0daa94e2bdf7be014\/31-0.gif\" alt=\"android daynight theme output\" \/><\/div>\n<p>Android\u306eDayNight\u30c6\u30fc\u30de\u306e\u4f8b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Android\u306e\u30c7\u30a4\u30ca\u30a4\u30c8\u30c6\u30fc\u30de\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u4f7f\u7528\u3057\u307e\u3059\u3002\u3082\u3057\u8aad\u307f\u7269\u306e\u3042\u308b\u30a2\u30d7\u30ea\u3092\u6301\u3063\u3066\u3044\u308b\u306a\u3089\u3001\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u306f\u76ee\u306e\u75b2\u308c\u3092\u8efd\u6e1b\u3059\u308b\u305f\u3081\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002 \u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u65e5\u591c\u30c6\u30fc\u30de  [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,61],"class_list":["post-509","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-26","tag-61"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eandroid-daynight\u30c6\u30fc\u30de\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de\" \/>\n<meta property=\"og:description\" content=\"\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eandroid-daynight\u30c6\u30fc\u30de\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-26T03:52:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T15:08:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656490a0daa94e2bdf7be014\/12-1.png\" \/>\n<meta name=\"author\" content=\"\u5149, \u660e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5149, \u660e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"24\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e\/\",\"name\":\"\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-01-26T03:52:53+00:00\",\"dateModified\":\"2025-07-31T15:08:30+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\"},\"description\":\"\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\",\"name\":\"\u5149, \u660e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"caption\":\"\u5149, \u660e\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de - Blog - Silicon Cloud","description":"\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","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:\/\/www.silicloud.com\/ja\/blog\/\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eandroid-daynight\u30c6\u30fc\u30de\/","og_locale":"ja_JP","og_type":"article","og_title":"\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de","og_description":"\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eandroid-daynight\u30c6\u30fc\u30de\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-01-26T03:52:53+00:00","article_modified_time":"2025-07-31T15:08:30+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656490a0daa94e2bdf7be014\/12-1.png"}],"author":"\u5149, \u660e","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u5149, \u660e","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"24\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e\/","name":"\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-01-26T03:52:53+00:00","dateModified":"2025-07-31T15:08:30+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55"},"description":"\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"\u30a2\u30d7\u30ea\u5185\u306e\u30ca\u30a4\u30c8\u30e2\u30fc\u30c9\u7528\u306eAndroid DayNight\u30c6\u30fc\u30de"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55","name":"\u5149, \u660e","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","caption":"\u5149, \u660e"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%97%e3%83%aa%e5%86%85%e3%81%ae%e3%83%8a%e3%82%a4%e3%83%88%e3%83%a2%e3%83%bc%e3%83%89%e7%94%a8%e3%81%aeandroid-daynight%e3%83%86%e3%83%bc%e3%83%9e\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=509"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/509\/revisions"}],"predecessor-version":[{"id":41526,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/509\/revisions\/41526"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}