Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <android.support.v4.widget.DrawerLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/drawer_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/mainContent"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- tools:context="com.example.app365.MainActivity" >
- <ScrollView
- android:id="@+id/scroll"
- android:fitsSystemWindows="true"
- android:clipToPadding="false"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:scrollbars="vertical"
- android:layout_above="@+id/bottomBar" >
- <com.example.app365.MyWebView
- android:id="@+id/webview"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
- </ScrollView>
- <LinearLayout
- android:id="@+id/bottomBar"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent"
- android:orientation="horizontal"
- android:layout_alignParentBottom="true"
- android:weightSum="3">
- <ImageButton
- android:src="@drawable/share"
- android:background="@null"
- android:layout_weight="1"
- android:layout_height="70dp"
- android:layout_width="40dp"
- android:layout_gravity="left"
- />
- <ImageButton
- android:src="@drawable/home"
- android:background="@null"
- android:layout_weight="1"
- android:layout_height="70dp"
- android:layout_width="40dp"
- android:layout_gravity="center_vertical"
- />
- <ImageButton
- android:src="@drawable/social1"
- android:background="@null"
- android:layout_weight="1"
- android:layout_height="70dp"
- android:layout_width="40dp"
- android:layout_gravity="right"
- />
- </LinearLayout>
- </RelativeLayout>
- <ListView
- android:id="@+id/drawer"
- android:clipToPadding="false"
- android:layout_width="310dp"
- android:layout_height="match_parent"
- android:layout_gravity="start|bottom"
- android:background="#4B5264"
- android:divider="@android:color/transparent"
- android:choiceMode="singleChoice"
- android:layout_marginTop="?android:attr/actionBarSize"
- android:dividerHeight="0dp" ></ListView>
- </android.support.v4.widget.DrawerLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement