Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.design.widget.CoordinatorLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@android:color/background_light"
- android:fitsSystemWindows="true"
- >
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/activity_main"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <android.support.design.widget.AppBarLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:theme="@style/AppTheme.AppBarOverlay"
- app:expanded="false">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:weightSum="6"
- android:orientation="horizontal"
- android:paddingTop="8dp"
- android:paddingBottom="8dp">
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical"
- android:weightSum="3">
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:srcCompat="@drawable/ic_person_pin_circle_white_24dp"
- android:id="@+id/imageView4"
- android:layout_weight="1"/>
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:srcCompat="@drawable/ic_more_vert_white_24dp"
- android:id="@+id/imageView5"
- android:layout_weight="1"/>
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:srcCompat="@drawable/ic_place_white_24dp"
- android:id="@+id/imageView6"
- android:layout_weight="1"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="4"
- android:orientation="vertical">
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:inputType="textPersonName"
- android:hint="Enter source address"
- android:ems="10"
- android:id="@+id/sourceAddr"
- android:textAppearance="@android:style/TextAppearance.Material.Large"
- android:textSize="20sp" />
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:inputType="text"
- android:ems="10"
- android:hint="Enter target address"
- android:id="@+id/targetAddr"
- android:textAppearance="@android:style/TextAppearance.Material.Large"
- android:textSize="20sp" />
- </LinearLayout>
- <RelativeLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical">
- <ImageButton
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- app:srcCompat="@drawable/ic_swap_vert_white_36dp"
- android:background="@android:color/transparent"
- android:id="@+id/imageButton2" />
- </RelativeLayout>
- </LinearLayout>
- </android.support.design.widget.AppBarLayout>
- <WebView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_alignParentTop="true"
- android:layout_alignParentStart="true"
- android:id="@+id/webView" >
- </WebView>
- </LinearLayout>
- <android.support.design.widget.FloatingActionButton
- android:id="@+id/fab"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom|right"
- android:layout_margin="@dimen/fab_margin"
- android:layout_weight="1"
- android:adjustViewBounds="false"
- app:fabSize="normal"
- android:src="@drawable/ic_search_white_36dp" />
- </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement