Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context="org.androidtown.myapplication.MainActivity">
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="40dp"
- android:id="@+id/linearLayout">
- <ImageButton
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:id="@+id/imageButton"
- android:src="@drawable/home"
- android:scaleType = "fitCenter"
- android:maxHeight="40dp"/>
- <ImageButton
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:id="@+id/imageButton2"
- android:src="@drawable/location"
- android:layout_alignParentTop="true"
- android:adjustViewBounds = "true"
- android:scaleType = "fitCenter"
- android:maxHeight="40dp"/>
- <ImageButton
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:id="@+id/imageButton3"
- android:src="@drawable/message"
- android:layout_alignParentTop="true"
- android:adjustViewBounds = "true"
- android:scaleType = "fitCenter"
- android:maxHeight="40dp"/>
- <ImageButton
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:id="@+id/imageButton4"
- android:src="@drawable/settings"
- android:scaleType = "fitCenter"
- android:maxHeight="40dp"/>
- </LinearLayout>
- <android.support.v4.view.ViewPager
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/container"
- android:layout_centerHorizontal="true"
- android:layout_below="@+id/linearLayout" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement