{"id":1282,"date":"2017-05-16T22:10:19","date_gmt":"2017-05-16T13:10:19","guid":{"rendered":"https:\/\/ecoop.net\/memo\/?p=1282"},"modified":"2021-10-21T01:29:27","modified_gmt":"2021-10-20T16:29:27","slug":"android-drawable-xxhdpi-to-drawable-hdpi-drawable-xhdpi","status":"publish","type":"post","link":"https:\/\/www.ecoop.net\/memo\/archives\/android-drawable-xxhdpi-to-drawable-hdpi-drawable-xhdpi.html","title":{"rendered":"[Android\u958b\u767a] xxhdpi \u306e\u753b\u50cf\u30ea\u30bd\u30fc\u30b9\u304b\u3089\u4ed6\u306e\u30b5\u30a4\u30ba\u3092\u751f\u6210\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u304d\u307e\u3057\u305f"},"content":{"rendered":"<p>Android \u3067\u30c7\u30b6\u30a4\u30ca\u30fc\u3055\u3093\u306b\uff11\u30d1\u30bf\u30fc\u30f3\u3057\u304b\u7d20\u6750\u3092\u51fa\u3057\u3066\u3082\u3089\u3048\u305a\u3001\u3058\u3083\u3042 drawable-xxhdpi \u2026\u3068\u306a\u3063\u3066\u3001<br \/>\ndrawable-xxhdpi \u306f\u3042\u308b\u3051\u3069\u3001\u4ed6\u306e\u753b\u50cf\u30d1\u30bf\u30fc\u30f3\u304c\u7121\u304f\u3066\u624b\u52d5\u3067\u5909\u63db\u3059\u308b\u306e\u3081\u3093\u3069\u304f\u3055\u3044\uff01\u3068\u3044\u3046\u3053\u3068\u3067\u52e2\u3044\u3067\u66f8\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>ImageMagick\u304c\u3042\u308c\u3070\u3069\u306e\u74b0\u5883\u3067\u3082\u52d5\u304f\u3068\u304a\u3082\u3044\u307e\u3059\u3002<\/p>\n<p>ImageMagick\u306f Mac OS X \u306a\u3089 HomeBrew \u3067 <code>brew install ImageMagick<\/code> \u3068\u3059\u308c\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p><script src=\"https:\/\/gist.github.com\/ecoopnet\/3e8fb487d1c2738b37519ab363685803.js\"><\/script><\/p>\n<p>\u5b9f\u884c\u4f8b<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\r\n# Android \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u79fb\u52d5\r\n\r\n$ cd path\/to\/android-project\r\n\r\ndrwable-xxhdpi \u304c\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\r\n\r\n$ ls .\/app\/src\/main\/res \r\ndrawable\/        layout\/          mipmap-mdpi\/&lt;br \/&gt;\r\nmipmap-xxhdpi\/   raw\/  drawable-xxhdpi\/ \r\nmipmap-hdpi\/     mipmap-xhdpi\/    mipmap-xxxhdpi\/  values\/\r\n\r\n# \u5b9f\u884c\r\n\r\n$ generate-drawables-from-xxhdpi.sh\r\n\r\n# \u5b9f\u884c\u7d50\u679c\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\r\n\r\n$ ls .\/app\/src\/main\/res\r\ndrawable\/        drawable-xhdpi\/  layout\/&lt;br \/&gt;\r\nmipmap-mdpi\/     mipmap-xxhdpi\/   raw\/\r\ndrawable-hdpi\/   drawable-xxhdpi\/ mipmap-hdpi\/&lt;br \/&gt;\r\nmipmap-xhdpi\/    mipmap-xxxhdpi\/  values\/\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Android \u3067\u30c7\u30b6\u30a4\u30ca\u30fc\u3055\u3093\u306b\uff11\u30d1\u30bf\u30fc\u30f3\u3057\u304b\u7d20\u6750\u3092\u51fa\u3057\u3066\u3082\u3089\u3048\u305a\u3001\u3058\u3083\u3042 drawable-xxhdpi \u2026\u3068\u306a\u3063\u3066\u3001 drawable-xxhdpi \u306f\u3042\u308b\u3051\u3069\u3001\u4ed6\u306e\u753b\u50cf\u30d1\u30bf\u30fc\u30f3\u304c\u7121\u304f\u3066\u624b\u52d5\u3067\u5909\u63db\u3059\u308b\u306e\u3081\u3093\u3069\u304f\u3055\u3044 &hellip; <a href=\"https:\/\/www.ecoop.net\/memo\/archives\/android-drawable-xxhdpi-to-drawable-hdpi-drawable-xhdpi.html\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">[Android\u958b\u767a] xxhdpi \u306e\u753b\u50cf\u30ea\u30bd\u30fc\u30b9\u304b\u3089\u4ed6\u306e\u30b5\u30a4\u30ba\u3092\u751f\u6210\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u304d\u307e\u3057\u305f<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[65,104],"class_list":["post-1282","post","type-post","status-publish","format-standard","hentry","category-android-dev","tag-android","tag-design"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/1282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/comments?post=1282"}],"version-history":[{"count":0,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/1282\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/media?parent=1282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/categories?post=1282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/tags?post=1282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}