f8aced4e9687f43149013a3b9e7c1bd4f55ab903
[mobilnebezpieczenstwo.git] / res / layout-large-land / activity_main.xml
1 <!-- A DrawerLayout is intended to be used as the top-level content view using match_parent for both width and height to consume the full space available. -->
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:tools="http://schemas.android.com/tools"
4     android:id="@+id/tablet_layout"
5     android:layout_width="match_parent"
6     android:layout_height="match_parent"
7     tools:context="com.samsung.srpol.MainActivity" >
8
9     <android.support.v4.view.ViewPager
10         android:id="@+id/myviewpager"
11         android:layout_toRightOf="@+id/drawer_separator"
12         android:layout_width="match_parent"
13         android:layout_height="match_parent" >
14
15         <android.support.v4.view.PagerTabStrip
16             android:id="@+id/titlestrip"
17             android:layout_width="match_parent"
18             android:layout_height="wrap_content"
19             android:background="@color/header_bg"
20             android:textColor="@color/text_main" />
21     </android.support.v4.view.ViewPager>
22
23     <fragment
24         android:id="@+id/menu_container"
25         android:name="com.samsung.srpol.ui.drawer.MenuFragment"
26         android:layout_alignParentLeft="true"
27         android:layout_width="@dimen/menu_container_width"
28         android:layout_height="match_parent"
29         android:layout_gravity="start"
30         tools:layout="@layout/fragment_navigation_drawer" />
31
32     <ImageView 
33         android:id="@+id/drawer_separator"
34         android:layout_width="wrap_content"
35         android:layout_height="match_parent"
36         android:layout_toRightOf="@+id/menu_container"
37         android:src="@drawable/nav_drawer_separator"
38         android:scaleType="fitXY"/>
39
40 </RelativeLayout>