diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 35eb1dd..8306744 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -2,5 +2,6 @@ + \ No newline at end of file diff --git a/README.md b/README.md index 3d17303..c2c38c6 100644 --- a/README.md +++ b/README.md @@ -32,14 +32,14 @@ Gallery Screen|Picture Screen |Inmersive Screen #### Kotlin Images in this example have been loaded from [Lorem Picsum](https://picsum.photos). -Usage from Activity or Fragment. Se añade normalmente el fragment (GalleryFragment) mediante una transición o directamente desde XML. +Usage from Activity or Fragment. The fragment (GalleryFragment) is usually added through a transition or directly from XML. ```kotlin supportFragmentManager.beginTransaction() .setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE) //Optional .replace(R.id.container, GalleryFragment.newInstance()) .commit() ``` -Solo falta añadirle elementos a la gallería. Se pude hacer mediante el método onAttachFragment en la Activity o Fragment donde se tiene a GalleryFragment. +All that remains is to add elements to the gallery. It can be done using the onAttachFragment method in the Activity or Fragment where you have the GalleryFragment. ```kotlin override fun onAttachFragment(fragment: Fragment) { super.onAttachFragment(fragment) @@ -69,7 +69,7 @@ override fun onAttachFragment(fragment: Fragment) { } ``` #### XML -Añade esto a tu archivo AndroidManifest.xml si estas usando la activity por defecto que provee la biblioteca. En caso de que se esté usando directamente GalleryFragment no sería necesario. +Add this to your AndroidManifest.xml file if you are using the default activity provided by the library. In case GalleryFragment is being used directly, it would not be necessary. ```xml