{"blog_url":"https://nein37.hatenablog.com/","categories":["Android"],"version":"1.0","author_name":"nein37","provider_name":"Hatena Blog","title":"Fragment \u3092\u4f7f\u3063\u305f\u753b\u9762\u9077\u79fb\u30e1\u30e2","author_url":"https://blog.hatena.ne.jp/nein37/","blog_title":"\u3053\u3084\u307e\u30ab\u30cb\u5927\u597d\u304d","published":"2018-05-06 20:49:43","url":"https://nein37.hatenablog.com/entry/2018/05/06/204943","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnein37.hatenablog.com%2Fentry%2F2018%2F05%2F06%2F204943\" title=\"Fragment \u3092\u4f7f\u3063\u305f\u753b\u9762\u9077\u79fb\u30e1\u30e2 - \u3053\u3084\u307e\u30ab\u30cb\u5927\u597d\u304d\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u6700\u8fd1 Fragment \u5468\u308a\u306e\u5b9f\u88c5\u3092\u8ffd\u3046\u6a5f\u4f1a\u304c\u3042\u308a\u3001 Android Developers \u306e FragmentTransaction \u30da\u30fc\u30b8\u306f\u5404\u30e1\u30bd\u30c3\u30c9\u306e\u8aac\u660e\u304c\u82e5\u5e72\u5206\u304b\u308a\u3065\u3089\u3044\u3068\u601d\u3063\u305f\u306e\u3067\u81ea\u5206\u7528\u306e\u30e1\u30e2\u3068\u3057\u3066\u4e3b\u8981\u306a\u30e1\u30bd\u30c3\u30c9\u3092\u307e\u3068\u3081\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002 add \u540d\u524d\u306e\u901a\u308a Fragment \u3092\u8ffd\u52a0\u3059\u308b\u3068\u304d\u306b\u5229\u7528\u3057\u307e\u3059\u3002 \u7279\u5b9a\u306e container(ViewGroup) \u306b Fragment \u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408\u306e\u4ed6\u3001UI\u3092\u6301\u305f\u306a\u3044 Fragment \u3092\u8ffd\u52a0\u3059\u308b\u969b\u306b\u3082\u5229\u7528\u3057\u307e\u3059\u3002 DialogFragment#show() \u3082\u5185\u90e8\u7684\u306b\u306f FragmentTransaction#add() \u3092\u547c\u3073\u51fa\u3057\u3066\u2026","width":"100%","provider_url":"https://hatena.blog","height":"190","type":"rich","image_url":null}