FragmentContainerViewとは

054312bb8749ab2405c3c5364bc1be1e?s=47 yoppie
November 27, 2019

 FragmentContainerViewとは

054312bb8749ab2405c3c5364bc1be1e?s=128

yoppie

November 27, 2019
Tweet

Transcript

  1. 'SBHNFOU$POUBJOFS7JFX ͱ͸

  2. 'BDFCPPLIJLPXBJJEF5XJUUFS!ZPQQJF@Y (JUIVCZPTIJZB92JJUBZPQQJF@Y ϒϩάIUUQTZPQQJFYIBUFOBCMPHDPN ZPQQJF

  3. ͪΐͬͱখ࿩

  4. %SPJE,BJHJ  ٕज़ॻయ 

  5. &OHJOFFSJOH
 ӳ୯ޠ w ༷ʑͳϥΠϒϥϦͷ࢖͍ํ w -JOUϢχοτςετ6*ςετ w #JUSJTFΛ࢖ͬͨ$*$%؀ڥߏங ༷ʑͳӳ୯ޠͷ
 ΤϯδχΞϦϯάͰͷҙຯͱ


    ར༻ํ๏ͱར༻ྫ
 ྫ ࣮ߦ͢Δ FYFDVUFSVOTUBSUJOWPLF IUUQTUFYCPPUIQN IUUQTXXXBNB[PODPKQEQ#:3)%'7
  6. 'SBHNFOU$POUBJOFS7JFX ͱ͸

  7. ͸͡Ίʹ 'SBHNFOUΛදࣔ͢ΔࡍͷίϯςφͱͳΔ7JFX Ұൠతͳ'SBHNFOUͷίϯςφ
 'SBNF-BZPVU 
 /BWJHBUJPO$PNQPOFOUͷ'SBHNFOUͷίϯςφ
 GSBHNFOU

  8. 'SBHNFOU$POUBJOFS7JFX w 'SBHNFOUΛදࣔ͢ΔࡍͷίϯςφͱͳΔ7JFX w BOESPJEYGSBHNFOU͔Βಋೖ w 'SBHNFOUͷίϯςφʹಛԽͨ͠7JFX w 'SBNF-BZPVUͷΑ͏ʹͦΕҎ֎ͷ༻్Ͱ͸ར༻Ͱ͖ͳ͍ BOESPJEYGSBHNFOUBQQ'SBHNFOU$POUBJOFS7JFX

    BOESPJEJE! JEDPOUBJOFS BOESPJEMBZPVU@XJEUINBUDI@QBSFOU BOESPJEMBZPVU@IFJHIUNBUDI@QBSFOU
  9. 'SBHNFOU$POUBJOFS7JFX WT 'SBNF-BZPVU

  10. "OESPJE%FW4VNNJU 'SBHNFOUT1BTU 1SFTFOU BOE'VUVSF IUUQTXXXZPVUVCFDPNXBUDI W34*"$O;-ZGFBUVSFZPVUVCFU ;PSEFSJOHͷJTTVFΛ࠶ݱ

  11. <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/decelerate_interpolator" android:shareInterpolator="true"> <translate android:duration="400" android:fromXDelta="100%"

    android:fromYDelta="0%" android:toXDelta="0%" android:toYDelta="0%" /> </set> <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/decelerate_interpolator" android:shareInterpolator="true" android:zAdjustment="bottom"> <translate android:duration="400" android:fromXDelta="0%" android:fromYDelta="0%" android:toXDelta="-50%" android:toYDelta="0%" /> </set> OBW@FOUFSYNM OBW@FYJUYNM ίϯςφ͕'SBNF-BZPVU ;PSEFSJOH
  12. ίϯςφ͕'SBNF-BZPVU ·ͣ࣍ͷ'SBHNFOUͷ&OUFSΞχϝʔγϣϯ͕࢝·Γ ࣍ʹݱࡏͷ'SBHNFOUͷ&YJUΞχϝʔγϣϯ͕࢝·Δ ͜ΕΛ๷͙ͨΊʹʮBOESPJE["EKVTUNFOUlCPUUPNzʯ Λࢦఆ ;PSEFSJOH ͢Δ͕ޮ͍͍ͯͳ͍ ;PSEFSJOHͷJTTVF ίϯςφ͕'SBHNFOU$POUBJOFS7JFX ·ͣݱࡏͷ'SBHNFOUͷ&YJUΞχϝʔγϣϯ͕࢝·Γ

    ࣍ʹ࣍ͷ'SBHNFOUͷ&OUFSΞχϝʔγϣϯ͕࢝·Δ
  13. /BWJHBUJPO$PNQPOFOUͷ 'SBHNFOUͷίϯςφ

  14. <?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"> <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent"

    tools:context=".activity.SubActivity"> <androidx.fragment.app.FragmentContainerView android:id="@+id/fragment_container_view" android:name="androidx.navigation.fragment.NavHostFragment" android:layout_width="match_parent" android:layout_height="match_parent" app:defaultNavHost="true" app:navGraph="@navigation/activity_navigation" /> </androidx.constraintlayout.widget.ConstraintLayout> </layout> GSBHNFOU͔Βஔ͖׵͑Մೳ
  15. ·ͱΊ