<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomorrowkey</author_name>
  <author_url>https://blog.hatena.ne.jp/tomorrowkey/</author_url>
  <blog_title>明日の鍵（跡地）</blog_title>
  <blog_url>https://tomorrowkey-2.hatenadiary.org/</blog_url>
  <categories>
    <anon>android</anon>
  </categories>
  <description>角丸が綺麗に表示されない！ ボタンを作りました！ 角丸のボタンです。 早速ボタンの背景に設定しました。 なんてこったい 設定するボタンが大きすぎて背景画像が引き伸ばされてしまいます。 9patchを使おう！ そこで9patchの出番です。 9patchは、画像よりモノが大きかった場合（今回は画像よりボタンが大きかった） 引き伸ばす部分を指定することで、画像の崩れを無くす事ができるのです！ Fireworksでいう所の9スライスという機能に似ています。 先ほどのボタン画像に9patchの処理を施してみます。 できました！ 上側と左側に黒い1ピクセルが見えますでしょうか？ ちょっと拡大します。 拡…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomorrowkey-2.hatenadiary.org%2Fentry%2F20110501%2F1304245217&quot; title=&quot;9patchを覚えよう！ - 明日の鍵（跡地）&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/tomorrowkey/20110430/20110430213440.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-05-01 19:20:17</published>
  <title>9patchを覚えよう！</title>
  <type>rich</type>
  <url>https://tomorrowkey-2.hatenadiary.org/entry/20110501/1304245217</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
