Ray Zhang 12 năm trước cách đây
mục cha
commit
3ea05a4a43
47 tập tin đã thay đổi với 52 bổ sung125 xóa
  1. BIN
      Apex/res/drawable-hdpi/bg_2.png
  2. BIN
      Apex/res/drawable-hdpi/bg_3.png
  3. BIN
      Apex/res/drawable-hdpi/bg_4.png
  4. BIN
      Apex/res/drawable-hdpi/bg_5.png
  5. BIN
      Apex/res/drawable-hdpi/bg_6.png
  6. BIN
      Apex/res/drawable-hdpi/ic_ace_isf.png
  7. BIN
      Apex/res/drawable-hdpi/ic_cargo_tracking.png
  8. BIN
      Apex/res/drawable-hdpi/ic_container_detail.png
  9. BIN
      Apex/res/drawable-hdpi/ic_document.png
  10. BIN
      Apex/res/drawable-hdpi/ic_down_doc.png
  11. BIN
      Apex/res/drawable-hdpi/ic_exit.png
  12. BIN
      Apex/res/drawable-hdpi/ic_ocean.png
  13. BIN
      Apex/res/drawable-hdpi/ic_ocean_blinfo.png
  14. BIN
      Apex/res/drawable-hdpi/ic_oceanbooking.png
  15. BIN
      Apex/res/drawable-hdpi/ic_other.png
  16. BIN
      Apex/res/drawable-hdpi/ic_password.png
  17. BIN
      Apex/res/drawable-hdpi/ic_shipment_info.png
  18. BIN
      Apex/res/drawable-hdpi/ic_test.png
  19. BIN
      Apex/res/drawable-ldpi/ic_test.png
  20. BIN
      Apex/res/drawable-mdpi/ic_cargo_tracking.png
  21. BIN
      Apex/res/drawable-mdpi/ic_container_detail.png
  22. BIN
      Apex/res/drawable-mdpi/ic_down_doc.png
  23. BIN
      Apex/res/drawable-mdpi/ic_exit.png
  24. BIN
      Apex/res/drawable-mdpi/ic_ocean_blinfo.png
  25. BIN
      Apex/res/drawable-mdpi/ic_oceanbooking.png
  26. BIN
      Apex/res/drawable-mdpi/ic_password.png
  27. BIN
      Apex/res/drawable-mdpi/ic_test.png
  28. BIN
      Apex/res/drawable-xhdpi/ic_cargo_tracking.png
  29. BIN
      Apex/res/drawable-xhdpi/ic_container_detail.png
  30. BIN
      Apex/res/drawable-xhdpi/ic_down_doc.png
  31. BIN
      Apex/res/drawable-xhdpi/ic_exit.png
  32. BIN
      Apex/res/drawable-xhdpi/ic_ocean_blinfo.png
  33. BIN
      Apex/res/drawable-xhdpi/ic_oceanbooking.png
  34. BIN
      Apex/res/drawable-xhdpi/ic_password.png
  35. BIN
      Apex/res/drawable-xhdpi/ic_test.png
  36. BIN
      Apex/res/drawable-xxhdpi/ic_cargo_tracking.png
  37. BIN
      Apex/res/drawable-xxhdpi/ic_container_detail.png
  38. BIN
      Apex/res/drawable-xxhdpi/ic_down_doc.png
  39. BIN
      Apex/res/drawable-xxhdpi/ic_exit.png
  40. BIN
      Apex/res/drawable-xxhdpi/ic_ocean_blinfo.png
  41. BIN
      Apex/res/drawable-xxhdpi/ic_oceanbooking.png
  42. BIN
      Apex/res/drawable-xxhdpi/ic_password.png
  43. BIN
      Apex/res/drawable-xxhdpi/ic_test.png
  44. BIN
      Apex/res/drawable/ic_test.png
  45. 51 45
      Apex/res/layout/activity_function_select.xml
  46. 1 1
      Apex/res/layout/activity_result.xml
  47. 0 79
      Apex/res/layout/fragment_login.xml

BIN
Apex/res/drawable-hdpi/bg_2.png


BIN
Apex/res/drawable-hdpi/bg_3.png


BIN
Apex/res/drawable-hdpi/bg_4.png


BIN
Apex/res/drawable-hdpi/bg_5.png


BIN
Apex/res/drawable-hdpi/bg_6.png


BIN
Apex/res/drawable-hdpi/ic_ace_isf.png


BIN
Apex/res/drawable-hdpi/ic_cargo_tracking.png


BIN
Apex/res/drawable-hdpi/ic_container_detail.png


BIN
Apex/res/drawable-hdpi/ic_document.png


BIN
Apex/res/drawable-hdpi/ic_down_doc.png


BIN
Apex/res/drawable-hdpi/ic_exit.png


BIN
Apex/res/drawable-hdpi/ic_ocean.png


BIN
Apex/res/drawable-hdpi/ic_ocean_blinfo.png


BIN
Apex/res/drawable-hdpi/ic_oceanbooking.png


BIN
Apex/res/drawable-hdpi/ic_other.png


BIN
Apex/res/drawable-hdpi/ic_password.png


BIN
Apex/res/drawable-hdpi/ic_shipment_info.png


BIN
Apex/res/drawable-hdpi/ic_test.png


BIN
Apex/res/drawable-ldpi/ic_test.png


BIN
Apex/res/drawable-mdpi/ic_cargo_tracking.png


BIN
Apex/res/drawable-mdpi/ic_container_detail.png


BIN
Apex/res/drawable-mdpi/ic_down_doc.png


BIN
Apex/res/drawable-mdpi/ic_exit.png


BIN
Apex/res/drawable-mdpi/ic_ocean_blinfo.png


BIN
Apex/res/drawable-mdpi/ic_oceanbooking.png


BIN
Apex/res/drawable-mdpi/ic_password.png


BIN
Apex/res/drawable-mdpi/ic_test.png


BIN
Apex/res/drawable-xhdpi/ic_cargo_tracking.png


BIN
Apex/res/drawable-xhdpi/ic_container_detail.png


BIN
Apex/res/drawable-xhdpi/ic_down_doc.png


BIN
Apex/res/drawable-xhdpi/ic_exit.png


BIN
Apex/res/drawable-xhdpi/ic_ocean_blinfo.png


BIN
Apex/res/drawable-xhdpi/ic_oceanbooking.png


BIN
Apex/res/drawable-xhdpi/ic_password.png


BIN
Apex/res/drawable-xhdpi/ic_test.png


BIN
Apex/res/drawable-xxhdpi/ic_cargo_tracking.png


BIN
Apex/res/drawable-xxhdpi/ic_container_detail.png


BIN
Apex/res/drawable-xxhdpi/ic_down_doc.png


BIN
Apex/res/drawable-xxhdpi/ic_exit.png


BIN
Apex/res/drawable-xxhdpi/ic_ocean_blinfo.png


BIN
Apex/res/drawable-xxhdpi/ic_oceanbooking.png


BIN
Apex/res/drawable-xxhdpi/ic_password.png


BIN
Apex/res/drawable-xxhdpi/ic_test.png


BIN
Apex/res/drawable/ic_test.png


+ 51 - 45
Apex/res/layout/activity_function_select.xml

@@ -2,53 +2,59 @@
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:paddingBottom="@dimen/activity_vertical_margin"
-    android:paddingLeft="@dimen/activity_horizontal_margin"
-    android:paddingRight="@dimen/activity_horizontal_margin"
-    android:paddingTop="@dimen/activity_vertical_margin"
     tools:context=".FunctionSelectActivity" >
 
-    <GridLayout
-        android:layout_width="wrap_content"
+    <TableLayout
+        android:layout_width="fill_parent"
         android:layout_height="wrap_content"
-        android:columnCount="3"
-         >
-
-        <ImageButton
-            android:id="@+id/ibtn_booking"
-            android:layout_gravity="left"
-            android:src="@drawable/ic_oceanbooking" />
-
-        <ImageButton
-            android:id="@+id/ibtn_info"
-            android:layout_gravity="left"
-            android:src="@drawable/ic_ocean_blinfo" />
-
-        <ImageButton
-            android:id="@+id/ibtn_detail"
-            android:layout_gravity="left"
-            android:src="@drawable/ic_container_detail" />
-
-        <ImageButton
-            android:id="@+id/ibtn_cargo"
-            android:layout_gravity="left"
-            android:src="@drawable/ic_cargo_tracking" />
-
-        <ImageButton
-            android:id="@+id/ibtn_doc"
-            android:layout_gravity="left"
-            android:src="@drawable/ic_down_doc" />
-
-        <ImageButton
-            android:id="@+id/ibtn_password"
-            android:layout_gravity="left"
-            android:src="@drawable/ic_password" />
-
-        <ImageButton
-            android:id="@+id/ibtn_exit"
-            android:layout_gravity="left"
-            android:src="@drawable/ic_exit" />
-
-    </GridLayout>
+        android:layout_alignParentLeft="true"
+        android:layout_alignParentTop="true" >
+
+        <TableRow
+            android:id="@+id/tableRow3"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content" >
+
+            <ImageButton
+                android:id="@+id/ibtn_booking"
+                android:src="@drawable/ic_oceanbooking" />
+
+            <ImageButton
+                android:id="@+id/ibtn_info"
+                android:src="@drawable/ic_ocean_blinfo" />
+
+            <ImageButton
+                android:id="@+id/ibtn_detail"
+                android:src="@drawable/ic_container_detail" />
+        </TableRow>
+
+        <TableRow
+            android:id="@+id/tableRow4"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content" >
+
+            <ImageButton
+                android:id="@+id/ibtn_cargo"
+                android:src="@drawable/ic_cargo_tracking" />
+
+            <ImageButton
+                android:id="@+id/ibtn_doc"
+                android:src="@drawable/ic_down_doc" />
+
+            <ImageButton
+                android:id="@+id/ibtn_password"
+                android:src="@drawable/ic_password" />
+        </TableRow>
+
+        <TableRow
+            android:id="@+id/tableRow1"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content" >
+
+            <ImageButton
+                android:id="@+id/ibtn_exit"
+                android:src="@drawable/ic_exit" />
+        </TableRow>
+    </TableLayout>
 
 </RelativeLayout>

+ 1 - 1
Apex/res/layout/activity_result.xml

@@ -25,7 +25,6 @@
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_marginBottom="16dp"
-            android:fontFamily="sans-serif-light"
             android:text="Loading..."
             android:textAppearance="?android:attr/textAppearanceMedium" />
     </LinearLayout>
@@ -37,6 +36,7 @@
         android:layout_below="@+id/tv_head" >
 
         <TableLayout
+            android:id="@+id/result_table"
             android:layout_width="wrap_content"
             android:layout_height="fill_parent" >
 

+ 0 - 79
Apex/res/layout/fragment_login.xml

@@ -1,81 +1,3 @@
-<!--
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:tools="http://schemas.android.com/tools"
-    android:id="@+id/login_form"
-    android:layout_width="match_parent"
-    android:layout_height="match_parent"
-    tools:context=".LoginFragment" >
-
-    <LinearLayout
-        style="@style/LoginFormContainer"
-        android:orientation="vertical" >
-
-        <EditText
-            android:id="@+id/user"
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:hint="@string/prompt_email"
-            android:maxLines="1"
-            android:singleLine="true" />
-
-        <EditText
-            android:id="@+id/password"
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:hint="@string/prompt_password"
-            android:imeActionId="@+id/login"
-            android:imeActionLabel="@string/action_sign_in_short"
-            android:imeOptions="actionUnspecified"
-            android:inputType="textPassword"
-            android:maxLines="1"
-            android:singleLine="true" />
-
-        <CheckBox
-            android:id="@+id/chk_savepass"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:layout_gravity="right"
-            android:text="Remember Password" />
-
-        <Button
-            android:id="@+id/sign_in_button"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:layout_gravity="right"
-            android:layout_marginTop="16dp"
-            android:paddingLeft="32dp"
-            android:paddingRight="32dp"
-            android:text="Sign in" />
-    </LinearLayout>
-
-    <LinearLayout
-        android:id="@+id/login_status"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:layout_centerInParent="true"
-        android:gravity="center_horizontal"
-        android:orientation="vertical"
-        android:visibility="invisible" >
-
-        <ProgressBar
-            style="?android:attr/progressBarStyleLarge"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:layout_marginBottom="8dp" />
-
-        <TextView
-            android:id="@+id/login_status_message"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:layout_marginBottom="16dp"
-            android:fontFamily="sans-serif-light"
-            android:text="@string/login_progress_signing_in"
-            android:textAppearance="?android:attr/textAppearanceMedium" />
-    </LinearLayout>
-
-</RelativeLayout>
--->
-
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="fill_parent"
@@ -105,7 +27,6 @@
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_marginBottom="16dp"
-            android:fontFamily="sans-serif-light"
             android:text="@string/login_progress_signing_in"
             android:textAppearance="?android:attr/textAppearanceMedium" />
     </LinearLayout>