<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kyukyunyorituryo</author_name>
  <author_url>https://blog.hatena.ne.jp/kyukyunyorituryo/</author_url>
  <blog_title>KDP(電子出版)のメモ　急急如律令</blog_title>
  <blog_url>https://99nyorituryo.hatenablog.com/</blog_url>
  <categories>
    <anon>AozoraEpub3</anon>
    <anon>Java</anon>
  </categories>
  <description>設定値の取得コードを手動で書くのが面倒だった。メイン画面でどんな処理をさせるかを決めかねている。 あなた: 次のpreferenceから設定値を取得する方法 &lt;!-- 表題 --&gt; &lt;PreferenceCategory app:title=&quot;表題&quot;&gt; &lt;ListPreference app:key=&quot;title_type&quot; app:title=&quot;表題の種類&quot; app:entries=&quot;@array/title_type_names&quot; app:entryValues=&quot;@array/title_type_values&quot; android:defaultValue=&quot;0&quot; /&gt; &lt;CheckBox…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F99nyorituryo.hatenablog.com%2Fentry%2F2025%2F04%2F12%2F144133&quot; title=&quot;preferenceから設定値を取得する方法 - KDP(電子出版)のメモ　急急如律令&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.image.st-hatena.com/image/square/adad63b72f1d6545b2ba2538c3fc2923b2fd5989/backend=imagemagick;height=80;version=1;width=80/https%3A%2F%2Fcdn.blog.st-hatena.com%2Fimages%2Fcircle%2Fofficial-circle-icon%2Fcomputers.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-04-12 14:41:33</published>
  <title>preferenceから設定値を取得する方法</title>
  <type>rich</type>
  <url>https://99nyorituryo.hatenablog.com/entry/2025/04/12/144133</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
