{"id":763,"date":"2023-09-12T01:20:21","date_gmt":"2022-11-25T19:39:16","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/%e3%82%a2%e3%83%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3\/"},"modified":"2025-08-01T02:15:21","modified_gmt":"2025-07-31T17:15:21","slug":"%e3%82%a2%e3%83%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3\/","title":{"rendered":"\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u3001\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u3001\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u3001\u30ab\u30e9\u30fc"},"content":{"rendered":"<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Android\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30dc\u30bf\u30f3\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u307e\u3059\u3002Android\u306e\u30dc\u30bf\u30f3\u306b\u3064\u3044\u3066\u77e5\u3089\u306a\u3044\u5834\u5408\u306f\u3001\u5148\u306b\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u79c1\u305f\u3061\u306f\u30dc\u30bf\u30f3\u306b\u30bb\u30ec\u30af\u30bf\u30fc\u3068\u30b7\u30a7\u30a4\u30d7\u3092XML\u3067\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3<\/h2>\n<p>\u30dc\u30bf\u30f3\u306e\u7570\u306a\u308b\u72b6\u614b\u306b\u5bfe\u3057\u3066\u7570\u306a\u308b\u632f\u308b\u821e\u3044\u3092\u5b9a\u7fa9\u3059\u308b\u305f\u3081\u306b\u30bb\u30ec\u30af\u30bf\u30fc\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u30c9\u30ed\u30fc\u30a2\u30d6\u30eb\u30b9\u30c6\u30fc\u30c8\u3068\u306f\u4f55\u3067\u3059\u304b\uff1f\u30dc\u30bf\u30f3\u3084\u4ed6\u306e\u30d3\u30e5\u30fc\u306e\u5404\u30a4\u30d9\u30f3\u30c8\u306f\u3001\u72b6\u614b\u306e\u4e00\u7a2e\u3067\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>state_pressed<\/li>\n<li>state_selected<\/li>\n<li>state_focused<\/li>\n<li>state_enabled<\/li>\n<\/ul>\n<p>\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306b\u30de\u30a6\u30b9\u3092\u4e57\u305b\u308b\u3068state_focused\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u901a\u5e38\u306f\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u30fc\u3067\u306e\u307f\u6a5f\u80fd\u3057\u307e\u3059\u3002view\u3092\u9078\u629e\u3059\u308b\u305f\u3081\u306bstate_selected\u304c\u5b58\u5728\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001Button\u3067\u306f\u52d5\u4f5c\u3057\u307e\u305b\u3093\u304c\u3001RadioButtons\u3067\u306f\u52d5\u4f5c\u3057\u307e\u3059\u3002\u30dc\u30bf\u30f3\u306b\u306f\u901a\u5e38\u3001normal\uff08\u901a\u5e38\uff09\u3001pressed\uff08\u62bc\u3055\u308c\u305f\u3068\u304d\uff09\u3001enabled\uff08\u6709\u52b9\uff09\u3068\u3044\u30463\u3064\u306e\u91cd\u8981\u306a\u72b6\u614b\u304c\u3042\u308a\u307e\u3059\u3002\u30bb\u30ec\u30af\u30bf\u30fc\u306e\u5404\u72b6\u614b\u3054\u3068\u306b\u3001\u30dc\u30bf\u30f3\u306b\u7570\u306a\u308b\u63cf\u753b\/\u8272\/\u5f62\u72b6\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u308c\u305e\u308c\u3092\u65b0\u3057\u3044Android Studio\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u5b9f\u88c5\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u69cb\u9020<\/h3>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/6564a030daa94e2bdf7c26ea\/6-2.png\" alt=\"android button selector\" \/><\/div>\n<pre class=\"post-pre\"><code>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;selector xmlns:android=\"https:\/\/schemas.android.com\/apk\/res\/android\"&gt;\r\n    &lt;item android:state_pressed=\"true\" android:drawable=\"@color\/red\"\/&gt;\r\n    &lt;item android:state_focused=\"true\" android:drawable=\"@color\/yellow\"\/&gt;\r\n    &lt;item android:drawable=\"@color\/green\"\/&gt;\r\n&lt;\/selector&gt;\r\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u5404\u72b6\u614b\u306f\u30a2\u30a4\u30c6\u30e0\u30bf\u30b0\u3092\u4f7f\u7528\u3057\u3066\u8868\u3055\u308c\u307e\u3059\u3002\u30bb\u30ec\u30af\u30bf\u30fc\u30bf\u30b0\u306f\u3001\u3042\u308b\u7a0b\u5ea6\u307e\u3067if &#8211; else if\u6587\u306e\u3088\u3046\u306b\u632f\u308b\u821e\u3044\u307e\u3059\u3002\u30bb\u30ec\u30af\u30bf\u30fc\u30bf\u30b0\u306f\u4e0a\u304b\u3089\u9806\u306b\u5404\u6761\u4ef6\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002\u6761\u4ef6\u304c\u4e00\u81f4\u3057\u305f\u5834\u5408\u3001\u30dc\u30bf\u30f3\u306b\u95a2\u9023\u3059\u308b\u5185\u5bb9\u3092\u8a2d\u5b9a\u3057\u3001\u6b21\u306e\u30a2\u30a4\u30c6\u30e0\u30bf\u30b0\u306e\u51e6\u7406\u3092\u505c\u6b62\u3057\u307e\u3059\u30023\u756a\u76ee\u306e\u30a2\u30a4\u30c6\u30e0\u30bf\u30b0\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u3059\u3002\u6700\u5f8c\u306b\u4fdd\u6301\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u6700\u521d\u306b\u7f6e\u304f\u3068\u3001\u4ed6\u306e2\u3064\u306e\u30a2\u30a4\u30c6\u30e0\u30bf\u30b0\u306f\u4e00\u5207\u5b9f\u884c\u3055\u308c\u307e\u305b\u3093\u3002\u4e0a\u8a18\u306e\u30c9\u30ed\u30fc\u30a2\u30d6\u30eb\u30bb\u30ec\u30af\u30bf\u30fc\u30d5\u30a1\u30a4\u30eb\u3092activity_main.xml\u306e\u30dc\u30bf\u30f3\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;Button\r\n            android:id=\"@+id\/btnBgSelector\"\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_margin=\"8dp\"\r\n            android:background=\"@drawable\/btn_bg_selector\"\r\n            android:padding=\"8dp\"\r\n            android:text=\"Colored Selector\" \/&gt;\r\n<\/code><\/pre>\n<p>\u30dc\u30bf\u30f3\u306e\u80cc\u666f\u5c5e\u6027\u306b\u30bb\u30ec\u30af\u30bf\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u7121\u52b9\u30dc\u30bf\u30f3\u306e\u30bb\u30ec\u30af\u30bf<\/h3>\n<p>\u300cbtn_bg_selector_disabled.xml\u300d\u3068\u3044\u3046\u30bb\u30ec\u30af\u30bf\u306f\u3001\u6709\u52b9\u3067\u306f\u306a\u3044\u30dc\u30bf\u30f3\u306b\u4f7f\u7528\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;selector xmlns:android=\"https:\/\/schemas.android.com\/apk\/res\/android\"&gt;\r\n    &lt;item android:state_enabled=\"false\" android:drawable=\"@color\/yellow\"\/&gt;\r\n    &lt;item android:state_pressed=\"true\" android:drawable=\"@color\/red\"\/&gt;\r\n    &lt;item android:drawable=\"@color\/green\"\/&gt;\r\n&lt;\/selector&gt;\r\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u30bb\u30ec\u30af\u30bf\u304c\u6a5f\u80fd\u3059\u308b\u305f\u3081\u306b\u306f\u3001android:enabled\u3092false\u3068\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;Button\r\n            android:id=\"@+id\/btnBgSelectorDisabled\"\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_margin=\"8dp\"\r\n            android:background=\"@drawable\/btn_bg_selector_disabled\"\r\n            android:enabled=\"false\"\r\n            android:padding=\"8dp\"\r\n            android:text=\"Color Selector Disabled\" \/&gt;\r\n<\/code><\/pre>\n<h3>\u7570\u306a\u308bDrawable\u3092\u6301\u3064\u30bb\u30ec\u30af\u30bf\u30fc<\/h3>\n<p>\u30dc\u30bf\u30f3\u306e\u72b6\u614b\u306b\u57fa\u3065\u3044\u3066\u8868\u793a\u3055\u308c\u308b\u7570\u306a\u308b\u30c9\u30ed\u30fc\u30a2\u30d6\u30eb\u753b\u50cf\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u5f79\u5272\u3092\u679c\u305f\u3059\u30bb\u30ec\u30af\u30bf\u30fc\u306e\u30b3\u30fc\u30c9\u306f\u3001btn_drawable_selector.xml\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u306b\u542b\u307e\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;selector xmlns:android=\"https:\/\/schemas.android.com\/apk\/res\/android\"&gt;\r\n    \r\n    &lt;item android:drawable=\"@drawable\/sad\" android:state_pressed=\"true\"\/&gt;\r\n    &lt;item android:drawable=\"@drawable\/happy\" android:state_focused=\"true\"\/&gt;\r\n    &lt;item android:drawable=\"@drawable\/happy\"\/&gt;\r\n\r\n&lt;\/selector&gt;\r\n<\/code><\/pre>\n<p>\u6ce8\u610f\uff1a\u30d5\u30a9\u30fc\u30ab\u30b9\u306e\u72b6\u614b\u306f\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3067\u306f\u6a5f\u80fd\u3057\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u30dc\u30bf\u30f3\u306e\u80cc\u666f\u3068\u3057\u3066\u8a2d\u5b9a\u3055\u308c\u305f\u63cf\u753b\u53ef\u80fd\u306a\u753b\u50cf\u306f\u3001\u305d\u306e\u5e45\/\u9ad8\u3055\u304c\u30dc\u30bf\u30f3\u3088\u308a\u3082\u5927\u304d\u3044\u5834\u5408\u306b\u4f38\u3073\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u63cf\u753b\u53ef\u80fd\u306a\u753b\u50cf\u306b\u5fdc\u3058\u3066\u30dc\u30bf\u30f3\u306e\u5e45\/\u9ad8\u3055\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001xml\u3067\u30cf\u30fc\u30c9\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3059\u308b\u304b\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u63cf\u753b\u53ef\u80fd\u306a\u753b\u50cf\u306e\u5bf8\u6cd5\u3092\u53d6\u5f97\u3057\u3066\u30dc\u30bf\u30f3\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4fbf\u5b9c\u306e\u305f\u3081\u306b\u3001\u3053\u3053\u3067\u306f\u524d\u8005\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;Button\r\n            android:id=\"@+id\/btnDrawableSelector\"\r\n            android:layout_width=\"48dp\"\r\n            android:layout_height=\"48dp\"\r\n            android:layout_margin=\"8dp\"\r\n            android:background=\"@drawable\/btn_drawable_selector\"\r\n            android:padding=\"16dp\" \/&gt;\r\n<\/code><\/pre>\n<p>ImageButton\u306f\u3001\u30dc\u30bf\u30f3\u306e\u80cc\u666f\u3068\u3057\u3066\u63cf\u753b\u53ef\u80fd\u306aDrawable\u3092\u8868\u793a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u306b\u6700\u9069\u306aView\u3067\u3059\u3002\u9069\u5207\u306bDrawable\u306b\u30d5\u30a3\u30c3\u30c8\u3059\u308b\u305f\u3081\u3001ImageButton\u306b\u306fandroid:scale\u5c5e\u6027\u3067Drawable\u753b\u50cf\u306e\u30b5\u30a4\u30ba\u3092\u8abf\u6574\u3059\u308b\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;ImageButton\r\n            android:id=\"@+id\/imgButton\"\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_margin=\"8dp\"\r\n            android:background=\"@color\/green\"\r\n            android:padding=\"8dp\"\r\n            android:scaleType=\"center\"\r\n            android:src=\"@drawable\/btn_drawable_selector\" \/&gt;\r\n<\/code><\/pre>\n<h3>\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u30dc\u30bf\u30f3\u306e\u8272<\/h3>\n<p>\u30bb\u30ec\u30af\u30bf\u30fc\u5185\u306e\u72b6\u614b\u306b\u5fdc\u3058\u3066\u30dc\u30bf\u30f3\u306e\u30c6\u30ad\u30b9\u30c8\u306e\u8272\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002btn_txt_selector.xml\u306e\u6b21\u306e\u30b3\u30fc\u30c9\u304c\u305d\u308c\u3092\u884c\u3044\u307e\u3059\u3002android:drawable\u306e\u4ee3\u308f\u308a\u306b\u3053\u3053\u3067android:color\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;selector xmlns:android=\"https:\/\/schemas.android.com\/apk\/res\/android\"&gt;\r\n    &lt;item android:state_pressed=\"true\" android:color=\"@color\/red\"\/&gt;\r\n    &lt;item android:state_focused=\"true\" android:color=\"@color\/yellow\"\/&gt;\r\n    &lt;item android:color=\"@color\/green\"\/&gt;\r\n&lt;\/selector&gt;\r\n<\/code><\/pre>\n<p>\u30ec\u30a4\u30a2\u30a6\u30c8\u5185\u306e\u30dc\u30bf\u30f3<\/p>\n<pre class=\"post-pre\"><code>&lt;Button\r\n            android:id=\"@+id\/btnTxtSelector\"\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:padding=\"8dp\"\r\n            android:text=\"Text Selector\"\r\n            android:textColor=\"@drawable\/btn_txt_selector\" \/&gt;\r\n\r\n<\/code><\/pre>\n<h2>\u300cAndroid\u30dc\u30bf\u30f3\u306e\u5f62\u72b6\u300d<\/h2>\n<p>\u30dc\u30bf\u30f3\u306b\u306f\u3001xml\u30bf\u30b0\u3092\u4f7f\u7528\u3057\u3066\u30ab\u30b9\u30bf\u30e0\u306e\u5f62\u72b6\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3089\u306exml\u30d5\u30a1\u30a4\u30eb\u306f\u3001drawable\u30d5\u30a9\u30eb\u30c0\u30fc\u5185\u306b\u3082\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002shape\u306f\u30bb\u30ec\u30af\u30bf\u30fc\u306e\u5185\u90e8\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5f62\u72b6\u306f\u3001\u77e9\u5f62\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09\u3001\u6955\u5186\u3001\u30ea\u30f3\u30b0\u3001\u30e9\u30a4\u30f3\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002shape\u30bf\u30b0\u306e\u4e2d\u3067\u6700\u3082\u3088\u304f\u4f7f\u7528\u3055\u308c\u308b\u30bf\u30b0\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>&#8211; Setting start and end colors of the gradient along with the type(radius, linear, sweep)<\/li>\n<li>&#8211; Setting border color and width<\/li>\n<li>&#8211; Setting the solid color on the button<\/li>\n<li>&#8211; Setting radius<\/li>\n<\/ul>\n<h3>Android\u306e\u89d2\u4e38\u30dc\u30bf\u30f3<\/h3>\n<p>btn_shape_round.xml\u30d5\u30a1\u30a4\u30eb\u306eXML\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;shape xmlns:android=\"https:\/\/schemas.android.com\/apk\/res\/android\"\r\n    android:padding=\"16dp\"\r\n    android:shape=\"rectangle\"&gt;\r\n    &lt;stroke\r\n        android:width=\"1dp\"\r\n        android:color=\"@android:color\/black\" \/&gt;\r\n    &lt;corners android:radius=\"10dp\" \/&gt;\r\n&lt;\/shape&gt;\r\n<\/code><\/pre>\n<p>\u30bb\u30ec\u30af\u30bf\u30fc\u3068\u540c\u69d8\u306b\u3001Android\u306exml\u30ec\u30a4\u30a2\u30a6\u30c8\u5185\u306e\u30dc\u30bf\u30f3\u306eandroid:background\u30bf\u30b0\u306b\u3053\u308c\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Android\u30dc\u30bf\u30f3\u306e\u5f62\u72b6\u3068\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3<\/h3>\n<p>\u6b21\u306ebtn_shape_gradient.xml\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u3001\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u534a\u5f84\u72b6\u306b\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002\u307e\u305f\u3001gradient_radius\u5c5e\u6027\u3082\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;shape xmlns:android=\"https:\/\/schemas.android.com\/apk\/res\/android\"\r\n    android:shape=\"rectangle\"&gt;\r\n\r\n    &lt;gradient\r\n        android:endColor=\"@color\/green\"\r\n        android:gradientRadius=\"30dp\"\r\n        android:type=\"radial\"\r\n        android:startColor=\"@color\/yellow\" \/&gt;\r\n\r\n    &lt;corners android:radius=\"@dimen\/btn_corner_radius\" \/&gt;\r\n\r\n    &lt;stroke\r\n        android:width=\"4dp\"\r\n        android:color=\"@android:color\/black\" \/&gt;\r\n\r\n&lt;\/shape&gt;\r\n<\/code><\/pre>\n<h3>\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u306e\u5f62\u72b6\u3068\u30bb\u30ec\u30af\u30bf\u30fc\u3092\u4e00\u7dd2\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/h3>\n<p>btn_selector_shape.xml\u306b\u306f\u3001\u30bb\u30ec\u30af\u30bf\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5404\u30a2\u30a4\u30c6\u30e0\u306b\u306f\u3001\u6307\u5b9a\u3055\u308c\u305f\u5f62\u72b6\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;selector xmlns:android=\"https:\/\/schemas.android.com\/apk\/res\/android\"&gt;\r\n    &lt;item android:state_pressed=\"true\"&gt;\r\n\r\n        &lt;shape android:shape=\"oval\"&gt;\r\n            &lt;gradient android:angle=\"135\" android:endColor=\"@color\/jd_red\" android:startColor=\"@color\/green\" \/&gt;\r\n            &lt;corners android:radius=\"20dp\" \/&gt;\r\n            &lt;stroke android:width=\"2dp\" android:color=\"@android:color\/black\" \/&gt;\r\n        &lt;\/shape&gt;\r\n\r\n    &lt;\/item&gt;\r\n\r\n    &lt;item&gt;\r\n        &lt;shape android:shape=\"rectangle\"&gt;\r\n            &lt;gradient android:angle=\"225\" android:endColor=\"@color\/green\" android:startColor=\"@color\/jd_red\" \/&gt;\r\n            &lt;corners android:radius=\"@dimen\/btn_corner_radius\" \/&gt;\r\n            &lt;stroke android:width=\"4dp\" android:color=\"@android:color\/black\" \/&gt;\r\n        &lt;\/shape&gt;\r\n\r\n    &lt;\/item&gt;\r\n&lt;\/selector&gt;\r\n<\/code><\/pre>\n<p>\u30dc\u30bf\u30f3\u306b\u3053\u308c\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u30dc\u30bf\u30f3\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u3068\u304d\u306b\u5f62\u72b6\u304c\u9577\u65b9\u5f62\u304b\u3089\u6955\u5186\u306b\u5909\u308f\u308a\u307e\u3059\u3002\u89d2\u5ea6\u306f45\u306e\u500d\u6570\u3067\u6307\u5b9a\u3055\u308c\u305f\u7dda\u5f62\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u4ee5\u5916\u3067\u306f\u30af\u30e9\u30c3\u30b7\u30e5\u3057\u307e\u3059\u3002\u30dc\u30bf\u30f3\u306e\u5f62\u72b6\u3092\u30ab\u30d7\u30bb\u30eb\u3068\u3057\u3066\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3001btn_shape_capsule.xml\u5185\u306e\u30bb\u30ec\u30af\u30bf\u30fc\u306b\u5f62\u72b6\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;selector xmlns:android=\"https:\/\/schemas.android.com\/apk\/res\/android\"&gt;\r\n\r\n    &lt;item android:state_pressed=\"true\"&gt;\r\n        &lt;shape android:shape=\"rectangle\"&gt;\r\n\r\n            &lt;solid android:color=\"@color\/colorAccent\" \/&gt;\r\n            &lt;corners android:radius=\"10dp\" \/&gt;\r\n\r\n        &lt;\/shape&gt;\r\n\r\n    &lt;\/item&gt;\r\n    &lt;item&gt;\r\n        &lt;shape android:shape=\"rectangle\"&gt;\r\n            &lt;solid android:color=\"@color\/yellow\" \/&gt;\r\n            &lt;corners android:radius=\"10dp\" \/&gt;\r\n        &lt;\/shape&gt;\r\n\r\n    &lt;\/item&gt;\r\n\r\n&lt;\/selector&gt;\r\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u30dc\u30bf\u30f3\u306e\u4f8b\u3092\u3059\u3079\u3066\u63d0\u4f9b\u3059\u308bMainActivity.java\u30af\u30e9\u30b9\u306e\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;LinearLayout xmlns:android=\"https:\/\/schemas.android.com\/apk\/res\/android\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"match_parent\"\r\n    android:gravity=\"center_vertical\"\r\n    android:orientation=\"horizontal\"\r\n    android:weightSum=\"2\"&gt;\r\n\r\n\r\n    &lt;LinearLayout\r\n        android:layout_width=\"0dp\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_weight=\"1\"\r\n        android:gravity=\"center\"\r\n        android:orientation=\"vertical\"&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:text=\"Selectors\"\r\n            android:textColor=\"@android:color\/black\"\r\n            android:textSize=\"18sp\"\r\n            android:textStyle=\"bold|italic\" \/&gt;\r\n\r\n\r\n        &lt;Button\r\n            android:id=\"@+id\/btnBgSelector\"\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_margin=\"8dp\"\r\n            android:background=\"@drawable\/btn_bg_selector\"\r\n            android:padding=\"8dp\"\r\n            android:text=\"Colored Selector\" \/&gt;\r\n\r\n        &lt;Button\r\n            android:id=\"@+id\/btnBgSelectorDisabled\"\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_margin=\"8dp\"\r\n            android:background=\"@drawable\/btn_bg_selector_disabled\"\r\n            android:enabled=\"false\"\r\n            android:padding=\"8dp\"\r\n            android:text=\"Color Selector Disabled\" \/&gt;\r\n\r\n        &lt;Button\r\n            android:id=\"@+id\/btnDrawableSelector\"\r\n            android:layout_width=\"48dp\"\r\n            android:layout_height=\"48dp\"\r\n            android:layout_margin=\"8dp\"\r\n            android:background=\"@drawable\/btn_drawable_selector\"\r\n            android:padding=\"16dp\" \/&gt;\r\n\r\n        &lt;ImageButton\r\n            android:id=\"@+id\/imgButton\"\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_margin=\"8dp\"\r\n            android:background=\"@color\/green\"\r\n            android:padding=\"8dp\"\r\n            android:scaleType=\"center\"\r\n            android:src=\"@drawable\/btn_drawable_selector\" \/&gt;\r\n\r\n        &lt;Button\r\n            android:id=\"@+id\/btnTxtSelector\"\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:padding=\"8dp\"\r\n            android:text=\"Text Selector\"\r\n            android:textColor=\"@drawable\/btn_txt_selector\" \/&gt;\r\n\r\n\r\n    &lt;\/LinearLayout&gt;\r\n\r\n\r\n    &lt;LinearLayout\r\n        android:layout_width=\"0dp\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_weight=\"1\"\r\n        android:gravity=\"center\"\r\n        android:orientation=\"vertical\"&gt;\r\n\r\n        &lt;TextView\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:text=\"Shapes+Selectors\"\r\n            android:textColor=\"@android:color\/black\"\r\n            android:textSize=\"18sp\"\r\n            android:textStyle=\"bold|italic\" \/&gt;\r\n\r\n        &lt;Button\r\n            android:id=\"@+id\/btnRoundShape\"\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_margin=\"8dp\"\r\n            android:background=\"@drawable\/btn_shape_round\"\r\n            android:padding=\"8dp\"\r\n            android:text=\"ROUND SHAPE\" \/&gt;\r\n\r\n        &lt;Button\r\n            android:id=\"@+id\/btnBgShape\"\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:background=\"@drawable\/btn_shape_gradient\"\r\n            android:padding=\"8dp\"\r\n            android:text=\"SHAPE WITH GRADIENT\" \/&gt;\r\n\r\n\r\n        &lt;Button\r\n            android:id=\"@+id\/btnSelectorShape\"\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_margin=\"8dp\"\r\n            android:background=\"@drawable\/btn_selector_shape\"\r\n            android:padding=\"8dp\"\r\n            android:text=\"SELECTOR SHAPE\" \/&gt;\r\n\r\n\r\n        &lt;ImageButton\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_margin=\"8dp\"\r\n            android:background=\"@drawable\/btn_shape_gradient\"\r\n            android:padding=\"8dp\"\r\n            android:scaleType=\"center\"\r\n            android:src=\"@drawable\/btn_drawable_selector\" \/&gt;\r\n\r\n        &lt;Button\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_margin=\"8dp\"\r\n            android:background=\"@drawable\/btn_shape_capsule\"\r\n            android:padding=\"8dp\"\r\n            android:text=\"Text Selector\"\r\n            android:textColor=\"@drawable\/btn_txt_selector\" \/&gt;\r\n\r\n\r\n    &lt;\/LinearLayout&gt;\r\n\r\n\r\n&lt;\/LinearLayout&gt;\r\n<\/code><\/pre>\n<h3>\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u30a2\u30d7\u30ea\u306e\u51fa\u529b<\/h3>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/6564a030daa94e2bdf7c26ea\/46-0.gif\" alt=\"android custom button design app example\" \/><\/div>\n<p>Android\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Android\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30dc\u30bf\u30f3\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u307e\u3059\u3002Android\u306e\u30dc\u30bf\u30f3\u306b\u3064\u3044\u3066\u77e5\u3089\u306a\u3044\u5834\u5408\u306f\u3001\u5148\u306b\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u79c1\u305f\u3061\u306f\u30dc\u30bf\u30f3\u306b\u30bb\u30ec\u30af\u30bf\u30fc\u3068\u30b7\u30a7\u30a4\u30d7\u3092XML\u3067\u8a2d [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,61],"class_list":["post-763","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\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u3001\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u3001\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u3001\u30ab\u30e9\u30fc - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u30ab\u30e9\u30fc\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\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u3001\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u3001\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u3001\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u3001\u30ab\u30e9\u30fc\" \/>\n<meta property=\"og:description\" content=\"\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u30ab\u30e9\u30fc\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\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u3001\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-25T19:39:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T17:15:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/6564a030daa94e2bdf7c26ea\/6-2.png\" \/>\n<meta name=\"author\" content=\"\u84ee, \u7ffc\" \/>\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=\"\u84ee, \u7ffc\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"26\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%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3\/\",\"name\":\"\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u3001\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u3001\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u3001\u30ab\u30e9\u30fc - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2022-11-25T19:39:16+00:00\",\"dateModified\":\"2025-07-31T17:15:21+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cdc124a0aaebf26393d8d591183ca413\"},\"description\":\"\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u30ab\u30e9\u30fc\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%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u3001\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u3001\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u3001\u30ab\u30e9\u30fc\"}]},{\"@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\/cdc124a0aaebf26393d8d591183ca413\",\"name\":\"\u84ee, \u7ffc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g\",\"caption\":\"\u84ee, \u7ffc\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/rentsubasa\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u3001\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u3001\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u3001\u30ab\u30e9\u30fc - Blog - Silicon Cloud","description":"\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u30ab\u30e9\u30fc\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\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u3001\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\/","og_locale":"ja_JP","og_type":"article","og_title":"\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u3001\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u3001\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u3001\u30ab\u30e9\u30fc","og_description":"\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u30ab\u30e9\u30fc\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\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u3001\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-11-25T19:39:16+00:00","article_modified_time":"2025-07-31T17:15:21+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/6564a030daa94e2bdf7c26ea\/6-2.png"}],"author":"\u84ee, \u7ffc","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u84ee, \u7ffc","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"26\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3\/","name":"\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u3001\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u3001\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u3001\u30ab\u30e9\u30fc - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2022-11-25T19:39:16+00:00","dateModified":"2025-07-31T17:15:21+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cdc124a0aaebf26393d8d591183ca413"},"description":"\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u30ab\u30e9\u30fc\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%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u306e\u30dc\u30bf\u30f3\u30c7\u30b6\u30a4\u30f3\u3001\u30ab\u30b9\u30bf\u30e0\u30dc\u30bf\u30f3\u3001\u30e9\u30a6\u30f3\u30c9\u30dc\u30bf\u30f3\u3001\u30ab\u30e9\u30fc"}]},{"@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\/cdc124a0aaebf26393d8d591183ca413","name":"\u84ee, \u7ffc","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g","caption":"\u84ee, \u7ffc"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/rentsubasa\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%a2%e3%83%b3%e3%83%89%e3%83%ad%e3%82%a4%e3%83%89%e3%81%ae%e3%83%9c%e3%82%bf%e3%83%b3%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%80%81%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%9c%e3%82%bf%e3%83%b3\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/763","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=763"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/763\/revisions"}],"predecessor-version":[{"id":44713,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/763\/revisions\/44713"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}