<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>little_strange</author_name>
  <author_url>https://blog.hatena.ne.jp/little_strange/</author_url>
  <blog_title>Little Strange Software</blog_title>
  <blog_url>https://little-strange.hatenablog.com/</blog_url>
  <categories>
    <anon>AndroidStudio備忘録</anon>
  </categories>
  <description>どうも！LSSです！ 今回は、ドロワブルリソースのxml上で、layer-listっていう概念を試してみます！ ドロワブルリソースのxml…ボタン等の背景として画像っぽく使うものですね。 その中でSHAPEタグを使って、グラデーションや角丸を実現する事はだいぶ前からやってはいましたが、layer-listを使うとその名前の通り「レイヤー」として要素を重ねあわせて使う事が出来るようになるので、表現の幅が広がります！ ※表現の幅が広がる＝よりデザインセンスが問われる事になりそうなのが怖いｗｗｗ 今回はこんな感じのものを作ります！ タグの構造 まず、xmlを作成します layer.xmlの内容を編集…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flittle-strange.hatenablog.com%2Fentry%2F2019%2F12%2F14%2F231653&quot; title=&quot;drawable（背景）用のxmlでlayer-listを試してみる！ - Little Strange Software&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/l/little_strange/20191214/20191214224810.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-14 23:16:53</published>
  <title>drawable（背景）用のxmlでlayer-listを試してみる！</title>
  <type>rich</type>
  <url>https://little-strange.hatenablog.com/entry/2019/12/14/231653</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
