|
|
@@ -0,0 +1,171 @@
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="fill_parent"
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:orientation="vertical"
|
|
|
+ tools:context=".FunctionSelectActivity" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textView2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="Container Status"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/radioGroup1"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content" >
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/radio0"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:checked="true"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:text="H_BOL" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/radio1"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:text="Container#" />
|
|
|
+ </RadioGroup>
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/et_criterion"
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="@string/prompt_search_criterion"
|
|
|
+ android:inputType="textAutoComplete"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:singleLine="true" >
|
|
|
+
|
|
|
+ <requestFocus />
|
|
|
+ </EditText>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_search"
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="Search" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="2dp"
|
|
|
+ android:layout_marginBottom="15dp"
|
|
|
+ android:layout_marginTop="15dp"
|
|
|
+ android:background="?android:attr/listDivider" />
|
|
|
+
|
|
|
+ <TableLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:shrinkColumns="*"
|
|
|
+ android:stretchColumns="*" >
|
|
|
+
|
|
|
+ <TableRow
|
|
|
+ android:id="@+id/tableRow3"
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_booking"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:clickable="true"
|
|
|
+ android:drawableTop="@drawable/ic_oceanbooking"
|
|
|
+ android:enabled="true"
|
|
|
+ android:focusable="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="Ocean\nBooking" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_info"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:clickable="true"
|
|
|
+ android:drawableTop="@drawable/ic_ocean_blinfo"
|
|
|
+ android:enabled="true"
|
|
|
+ android:focusable="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="Ocean\nB/L Info." />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_detail"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:clickable="true"
|
|
|
+ android:drawableTop="@drawable/ic_container_detail"
|
|
|
+ android:enabled="true"
|
|
|
+ android:focusable="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="Container\nDetail" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_doc"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:clickable="true"
|
|
|
+ android:drawableTop="@drawable/ic_down_doc"
|
|
|
+ android:enabled="true"
|
|
|
+ android:focusable="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="Download\nDocument" />
|
|
|
+ </TableRow>
|
|
|
+
|
|
|
+ <TableRow
|
|
|
+ android:id="@+id/tableRow4"
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_password"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:clickable="true"
|
|
|
+ android:drawableTop="@drawable/ic_password"
|
|
|
+ android:enabled="true"
|
|
|
+ android:focusable="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="Change\nPassword" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_location"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:clickable="true"
|
|
|
+ android:drawableTop="@drawable/ic_service_location"
|
|
|
+ android:enabled="true"
|
|
|
+ android:focusable="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="Service\nLocation" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_about"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:clickable="true"
|
|
|
+ android:drawableTop="@drawable/ic_about"
|
|
|
+ android:enabled="true"
|
|
|
+ android:focusable="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="About" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_exit"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:clickable="true"
|
|
|
+ android:drawableTop="@drawable/ic_exit"
|
|
|
+ android:enabled="true"
|
|
|
+ android:focusable="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="Exit" />
|
|
|
+ </TableRow>
|
|
|
+ </TableLayout>
|
|
|
+
|
|
|
+</LinearLayout>
|