From wiki.ginstr.com
Revision as of 13:01, 23 June 2016 by Mark (talk | contribs)
Jump to: navigation, search

activity.xml

Container layout which holds all other layouts in layout folder. To be used as is in every ginstr app:

<source lang="xml"> <?xml version="1.0" encoding="UTF-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"

   xmlns:tools="http://schemas.android.com/tools"
   xmlns:ek="http://schemas.ginstr.com/ginstr"
   android:layout_width="match_parent"
   android:layout_height="match_parent" >
   <FrameLayout
       android:layout_width="match_parent"
       android:layout_height="match_parent"
       android:layout_alignParentBottom="true" >
       <com.ginstr.layout.FragmentViewPager
           android:id="@+id/fragmentPager"
           android:layout_width="match_parent"
           android:layout_height="match_parent" />
   </FrameLayout>

</RelativeLayout> </source>