Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical" android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#FFFFFF">
- <include layout="@layout/toolbar" android:id="@+id/toolbar"/>
- <ScrollView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/scrollView4"
- android:layout_gravity="left|top">
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="12dp"
- android:layout_marginTop="12dp"
- android:layout_marginRight="12dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Select Ship Name"
- android:id="@+id/l_shipDetail"
- android:textColor="@color/colorPrimary"
- android:textStyle="bold"
- android:singleLine="true"
- android:textSize="14dp"
- android:layout_marginTop="12dp"
- android:layout_marginRight="12dp" />
- <ImageButton
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/btnsearch"
- android:src="@drawable/search"
- android:background="#FFFFFF"
- android:layout_marginLeft="180dp"
- android:layout_gravity="center" />
- </LinearLayout>
- <View
- android:layout_height="1.5dp"
- android:layout_width="wrap_content"
- android:background="@color/colorPrimary"
- android:layout_marginLeft="14dp"
- android:layout_marginRight="14dp"
- android:alpha="0.6"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/n_ship"
- android:layout_margin="12dp"
- android:textSize="16dp"
- android:text="SHIP NAME |"
- android:textColor="@color/myEditTextColor" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Ship Details"
- android:id="@+id/l_shipName"
- android:textColor="@color/colorPrimary"
- android:textStyle="bold"
- android:singleLine="true"
- android:textSize="14dp"
- android:layout_marginTop="12dp"
- android:layout_marginRight="12dp"
- android:layout_marginLeft="12dp" />
- <View
- android:layout_height="1.6dp"
- android:layout_width="wrap_content"
- android:background="@color/colorPrimary"
- android:layout_marginLeft="14dp"
- android:layout_marginRight="14dp"
- android:alpha="0.6"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="L.O.A |"
- android:id="@+id/loa"
- android:layout_margin="12dp"
- android:textSize="16dp"
- android:textColor="@color/myEditTextColor" />
- <View
- android:layout_height="0.5dp"
- android:layout_width="fill_parent"
- android:background="@color/colorAccent"
- android:alpha="0.6"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="G.R.T |"
- android:id="@+id/grt"
- android:textColor="@color/myEditTextColor"
- android:layout_margin="12dp"
- android:textSize="16dp" />
- <View
- android:layout_height="0.5dp"
- android:layout_width="fill_parent"
- android:background="@color/colorAccent"
- android:alpha="0.6"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="N.R.T |"
- android:id="@+id/nrt"
- android:textColor="@color/myEditTextColor"
- android:layout_margin="12dp"
- android:textSize="16dp" />
- <View
- android:layout_height="0.5dp"
- android:layout_width="fill_parent"
- android:background="@color/colorAccent"
- android:alpha="0.6"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="BEAM |"
- android:id="@+id/beam"
- android:textColor="@color/myEditTextColor"
- android:layout_margin="12dp"
- android:textSize="16dp" />
- <View
- android:layout_height="0.5dp"
- android:layout_width="fill_parent"
- android:background="@color/colorAccent"
- android:alpha="0.6"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="P.C No. |"
- android:id="@+id/pc"
- android:textColor="@color/myEditTextColor"
- android:layout_margin="12dp"
- android:textSize="16dp" />
- <View
- android:layout_height="0.5dp"
- android:layout_width="fill_parent"
- android:background="@color/colorAccent"
- android:layout_marginBottom="12dp"
- android:alpha="0.6"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Commodity"
- android:id="@+id/l_commd"
- android:textColor="@color/colorPrimary"
- android:textStyle="bold"
- android:singleLine="false"
- android:textSize="14dp"
- android:layout_marginTop="12dp"
- android:layout_marginRight="12dp"
- android:layout_marginLeft="12dp"/>
- <View
- android:layout_height="1.6dp"
- android:layout_width="wrap_content"
- android:background="@color/colorPrimary"
- android:layout_marginLeft="14dp"
- android:layout_marginRight="14dp"/>
- <!-- android:alpha="0.6"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/commd"
- android:textSize="16dp"
- android:text="COMMODITY |"
- android:textColor="@color/myEditTextColor"
- android:layout_marginRight="12dp"
- android:layout_marginTop="12dp"
- android:layout_marginLeft="12dp" />-->
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- >
- <!-- <android.widget.Spinner
- android:layout_width="210dp"
- android:layout_height="47dp"
- android:id="@+id/spnr_commodity"
- android:clickable="true"
- android:spinnerMode="dialog"
- android:touchscreenBlocksFocus="false"
- android:focusableInTouchMode="true"
- android:contextClickable="false"
- style="@android:style/Widget.Holo.Light.Spinner"
- android:popupBackground="#FFFFFF"
- android:popupElevation="1.2dp"
- android:layout_marginTop="12dp"
- android:layout_marginBottom="12dp"
- android:layout_marginRight="12dp"
- android:layout_marginLeft="12dp"
- android:theme="@style/Animation.AppCompat.DropDownUp" />-->
- <Spinner
- android:layout_width="210dp"
- android:layout_height="60dp"
- android:id="@+id/spnr_commodity"
- android:clickable="false"
- android:spinnerMode="dialog"
- style="@android:style/Widget.Holo.Light.Spinner"
- android:layout_marginTop="12dp"
- android:layout_marginBottom="12dp"
- android:layout_marginRight="12dp"
- android:layout_marginLeft="12dp"
- android:popupBackground="@color/colorPrimary"
- android:theme="@style/Theme.AppCompat.Light.DarkActionBar" />
- <Spinner
- android:layout_width="100dp"
- android:layout_height="60dp"
- android:id="@+id/spnr_ImpExp"
- android:clickable="false"
- android:spinnerMode="dropdown"
- android:layout_marginTop="12dp"
- android:layout_marginBottom="12dp"
- android:layout_marginRight="12dp"
- android:layout_marginLeft="12dp"
- android:popupElevation="0.9dp"
- style="@android:style/Widget.Holo.Light.Spinner"
- android:elevation="0.8dp" />
- </LinearLayout>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="CARGO QTY."
- android:id="@+id/l_qty"
- android:textColor="@color/colorPrimary"
- android:textStyle="bold"
- android:singleLine="true"
- android:textSize="14dp"
- android:layout_marginTop="12dp"
- android:layout_marginRight="12dp"
- android:layout_marginLeft="12dp" />
- <View
- android:layout_height="1.6dp"
- android:layout_width="wrap_content"
- android:background="@color/colorPrimary"
- android:layout_marginLeft="14dp"
- android:layout_marginRight="14dp"
- android:alpha="0.6"/>
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- >
- <EditText
- android:id="@+id/c_qty"
- android:layout_width="210dp"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:hint="Quantity"
- android:padding="12dp"
- android:textColor="#000000"
- android:textColorHint="#897"
- android:textSize="14dp"
- android:layout_margin="12dp"
- android:autoText="false"
- android:editable="false"
- android:focusable="false"
- android:focusableInTouchMode="false"
- android:background="@android:drawable/editbox_background"
- android:backgroundTint="#f6f6f6"
- android:backgroundTintMode="multiply" />
- <Spinner
- android:layout_width="100dp"
- android:layout_height="60dp"
- android:id="@+id/spnr_unit"
- android:spinnerMode="dropdown"
- android:touchscreenBlocksFocus="false"
- android:focusableInTouchMode="false"
- android:contextClickable="false"
- style="@android:style/Widget.Holo.Light.Spinner"
- android:layout_marginTop="5dp"
- android:layout_marginBottom="12dp"
- android:layout_marginRight="12dp"
- android:layout_marginLeft="12dp"
- android:popupElevation="0.9dp"
- android:elevation="0.9dp"
- android:dropDownSelector="@color/colorPrimary"
- android:prompt="@string/unitprompt"
- android:theme="@style/Theme.AppCompat.Light.DarkActionBar" />
- </LinearLayout>
- <!-- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="12dp"
- android:layout_marginLeft="12dp" >
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Select Terminal"
- android:id="@+id/l_terminal"
- android:textColor="@color/colorPrimary"
- android:textStyle="bold"
- android:singleLine="false"
- android:textSize="14dp"
- android:layout_marginTop="12dp"
- android:layout_marginRight="12dp" />
- <ImageButton
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/imageButton4"
- android:src="@drawable/search"
- android:background="#FFFFFF"
- android:layout_gravity="center"
- android:baselineAlignBottom="false"
- android:layout_marginLeft="190dp" />
- </LinearLayout>-->
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Terminal"
- android:id="@+id/l_terminal"
- android:textColor="@color/colorPrimary"
- android:textStyle="bold"
- android:singleLine="true"
- android:textSize="14dp"
- android:layout_marginTop="12dp"
- android:layout_marginRight="12dp"
- android:layout_marginLeft="12dp" />
- <View
- android:layout_height="1.6dp"
- android:layout_width="wrap_content"
- android:background="@color/colorPrimary"
- android:layout_marginLeft="14dp"
- android:layout_marginRight="14dp"
- android:alpha="0.6"/>
- <Spinner
- android:layout_width="match_parent"
- android:layout_height="60dp"
- android:id="@+id/spnr_terminal"
- android:clickable="false"
- android:spinnerMode="dialog"
- android:touchscreenBlocksFocus="false"
- android:focusableInTouchMode="false"
- android:contextClickable="false"
- style="@android:style/Widget.Holo.Light.Spinner"
- android:layout_margin="12dp"
- />
- <!-- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/terminal"
- android:textSize="16dp"
- android:text="TERMINAL |"
- android:textColor="@color/myEditTextColor"
- android:layout_marginRight="12dp"
- android:layout_marginTop="12dp"
- android:layout_marginLeft="12dp" />-->
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Arival Date Time"
- android:id="@+id/l_arrival_dt"
- android:textColor="@color/colorPrimary"
- android:textStyle="bold"
- android:singleLine="true"
- android:textSize="14dp"
- android:layout_marginTop="12dp"
- android:layout_marginRight="12dp"
- android:layout_marginLeft="12dp" />
- <View
- android:layout_height="1.6dp"
- android:layout_width="wrap_content"
- android:background="@color/colorPrimary"
- android:layout_marginLeft="14dp"
- android:layout_marginRight="14dp"
- android:alpha="0.6"/>
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- >
- <EditText
- android:id="@+id/a_date"
- android:layout_width="210dp"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:hint="Date"
- android:textColor="#000000"
- android:textColorHint="#897"
- android:textSize="14dp"
- android:layout_margin="12dp"
- android:autoText="false"
- android:editable="false"
- android:focusable="false"
- android:focusableInTouchMode="false"
- android:background="@android:drawable/editbox_background"
- android:backgroundTint="#f6f6f6"
- android:backgroundTintMode="multiply"
- android:padding="12dp" />
- <EditText
- android:id="@+id/a_time"
- android:layout_width="100dp"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:hint="Time"
- android:padding="12dp"
- android:textColor="#000000"
- android:textColorHint="#897"
- android:textSize="14dp"
- android:layout_margin="12dp"
- android:autoText="false"
- android:editable="false"
- android:focusable="false"
- android:focusableInTouchMode="false"
- android:background="@android:drawable/editbox_background"
- android:backgroundTint="#f6f6f6"
- android:backgroundTintMode="multiply" />
- </LinearLayout>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Departure Date"
- android:id="@+id/l_departure_dt"
- android:textColor="@color/colorPrimary"
- android:textStyle="bold"
- android:singleLine="true"
- android:textSize="14dp"
- android:layout_marginTop="12dp"
- android:layout_marginRight="12dp"
- android:layout_marginLeft="12dp" />
- <View
- android:layout_height="1.6dp"
- android:layout_width="wrap_content"
- android:background="@color/colorPrimary"
- android:layout_marginLeft="14dp"
- android:layout_marginRight="14dp"
- android:alpha="0.6"/>
- <EditText
- android:id="@+id/d_date"
- android:layout_width="210dp"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:hint="Date"
- android:padding="12dp"
- android:textColor="#000000"
- android:textColorHint="#897"
- android:textSize="14dp"
- android:layout_margin="12dp"
- android:autoText="false"
- android:editable="false"
- android:focusable="false"
- android:focusableInTouchMode="false"
- android:background="@android:drawable/editbox_background"
- android:backgroundTint="#f6f6f6"
- android:backgroundTintMode="multiply" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Last Port"
- android:id="@+id/l_lastport"
- android:textColor="@color/colorPrimary"
- android:textStyle="bold"
- android:singleLine="true"
- android:textSize="14dp"
- android:layout_marginTop="12dp"
- android:layout_marginRight="12dp"
- android:layout_marginLeft="12dp" />
- <View
- android:layout_height="1.6dp"
- android:layout_width="wrap_content"
- android:background="@color/colorPrimary"
- android:layout_marginLeft="14dp"
- android:layout_marginRight="14dp"
- android:alpha="0.6"/>
- <Spinner
- android:layout_width="210dp"
- android:layout_height="60dp"
- android:id="@+id/spnr_lastport"
- android:spinnerMode="dialog"
- android:layout_marginTop="5dp"
- android:layout_marginBottom="12dp"
- android:layout_marginRight="12dp"
- android:layout_marginLeft="12dp"
- android:popupBackground="@color/colorPrimary"
- android:prompt="@string/lastportprompt"
- style="@android:style/Widget.Holo.Light.Spinner"
- android:theme="@style/agentTheme" />
- <Spinner
- android:layout_width="100dp"
- android:layout_height="60dp"
- android:id="@+id/spnr_eta"
- android:clickable="false"
- android:spinnerMode="dialog"
- android:touchscreenBlocksFocus="false"
- android:focusableInTouchMode="false"
- android:contextClickable="false"
- style="@android:style/Widget.Holo.Light.Spinner"
- android:layout_marginTop="5dp"
- android:layout_marginBottom="12dp"
- android:layout_marginRight="12dp"
- android:layout_marginLeft="12dp"
- android:theme="@style/Animation.AppCompat.DropDownUp" />
- </LinearLayout>
- </ScrollView>
- </LinearLayout>
- <!-- <android.support.v7.widget.SearchView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/searchView" />-->
- <!-- <EditText
- android:layout_width="250dp"
- android:layout_height="wrap_content"
- android:id="@+id/edt_shipName"
- android:layout_gravity="center"
- android:layout_marginTop="15dp"
- android:foreground="#f1f1f1"
- android:hint="Select Ship Name"
- android:clickable="false"
- android:focusableInTouchMode="false"
- android:focusable="false" />-->
Add Comment
Please, Sign In to add comment