From wiki.ginstr.com
Jump to: navigation, search
(Created page with "=activity.xml= Container layout which holds all other layouts in layout folder. To be used as is in every ginstr app: <pre> <?xml version="1.0" encoding="UTF-8"?> <RelativeL...")
 
m
Line 3: Line 3:
 
Container layout which holds all other layouts in layout folder. To be used as is in every ginstr app:
 
Container layout which holds all other layouts in layout folder. To be used as is in every ginstr app:
  
<pre>
+
<source lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?xml version="1.0" encoding="UTF-8"?>
 
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
 
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
Line 20: Line 20:
 
     </FrameLayout>
 
     </FrameLayout>
 
</RelativeLayout>
 
</RelativeLayout>
</pre>
+
</source>

Revision as of 13:01, 23 June 2016

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>