Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
order details
Browse files Browse the repository at this point in the history
details layout
  • Loading branch information
R Y committed Jun 21, 2012
1 parent 4da129b commit 03ef5b2
Show file tree
Hide file tree
Showing 17 changed files with 657 additions and 239 deletions.
39 changes: 39 additions & 0 deletions res/layout/order_adjustment_list_item.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal" >

<TextView
android:id="@+id/order_adjustment_date"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.35"
android:textColor="@color/black"
android:background="@color/white"
android:layout_marginRight="1dp" />
<TextView
android:id="@+id/order_adjestment_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.30"
android:textColor="@color/black"
android:background="@color/white"
android:layout_marginRight="1dp" />
<TextView
android:id="@+id/order_adjustment_amount"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.35"
android:textColor="@color/black"
android:background="@color/white" />

</LinearLayout>


</LinearLayout>
17 changes: 2 additions & 15 deletions res/layout/order_details_adjustment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,12 @@
android:gravity="center_horizontal" >

<TextView
android:text="日付/時間"
android:layout_width="100dp"
android:text="注文詳細の送料にも使われるっぽいけど、データの場所が不明なので保留"
android:layout_width="300dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/lightblue"
android:layout_marginRight="1dp" />
<TextView
android:text="説明"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/lightblue"
android:layout_marginRight="1dp" />
<TextView
android:text="金額"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/lightblue" />

</LinearLayout>

Expand Down
72 changes: 14 additions & 58 deletions res/layout/order_details_payment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,71 +5,27 @@
android:orientation="vertical"
android:gravity="center_horizontal" >

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal" >

<TextView
android:text="日付/時間"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/lightblue"
android:layout_marginRight="1dp"
android:layout_marginBottom="1dp" />
<TextView
android:text="金額"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/lightblue"
android:layout_marginBottom="1dp" />

</LinearLayout>
<ListView
android:id="@+id/order_details_payment_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="@color/black" >

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal" >

<TextView
android:text="支払い方法"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/lightblue"
android:layout_marginRight="1dp"
android:layout_marginBottom="1dp" />
<TextView
android:text="支払い状況"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/lightblue"
android:layout_marginBottom="1dp" />

</LinearLayout>
</ListView>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal" >
android:gravity="center_horizontal"
android:layout_weight="1"
android:layout_marginTop="10dp" >

<TextView
android:text="アクション"
android:layout_width="300dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/lightblue" />
<Button
android:id="@+id/order_details_payment_new_button"
android:text="new"
android:layout_width="100dp"
android:layout_height="wrap_content" />

</LinearLayout>


<Button
android:id="@+id/order_details_payment_new_button"
android:text="new"
android:layout_width="100dp"
android:layout_height="wrap_content" />

</LinearLayout>
69 changes: 69 additions & 0 deletions res/layout/order_details_payment_list.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center_horizontal" >

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal" >

<TextView
android:id="@+id/order_details_payment_date"
android:layout_width="300dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/white"
android:layout_marginBottom="1dp" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal" >

<TextView
android:id="@+id/order_details_payment_amount"
android:layout_width="99dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/white"
android:layout_marginRight="1dp"
android:layout_marginBottom="1dp" />
<TextView
android:id="@+id/order_details_payment_method"
android:layout_width="99dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/white"
android:layout_marginRight="1dp"
android:layout_marginBottom="1dp" />
<TextView
android:id="@+id/order_details_payment_state"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/white"
android:layout_marginBottom="1dp" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal" >

<TextView
android:id="@+id/order_details_payment_action"
android:layout_width="300dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/white"
android:layout_marginBottom="1dp" />

</LinearLayout>

</LinearLayout>
15 changes: 15 additions & 0 deletions res/layout/order_details_return.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,20 @@
android:layout_height="match_parent"
android:orientation="vertical" >

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal" >

<TextView
android:text="データの場所が不明なので保留"
android:layout_width="300dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/lightblue"
android:layout_marginRight="1dp" />

</LinearLayout>


</LinearLayout>
22 changes: 22 additions & 0 deletions res/layout/order_details_shipment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,27 @@
android:layout_height="match_parent"
android:orientation="vertical" >

<ListView
android:id="@+id/order_details_shipment_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="@color/black" >

</ListView>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:layout_weight="1"
android:layout_marginTop="10dp" >

<Button
android:id="@+id/order_details_shipment_new_button"
android:text="new"
android:layout_width="100dp"
android:layout_height="wrap_content" />

</LinearLayout>

</LinearLayout>
85 changes: 85 additions & 0 deletions res/layout/order_details_shipment_list.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center_horizontal" >

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal" >

<TextView
android:id="@+id/order_details_shipment_number"
android:layout_width="99dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/white"
android:layout_marginRight="1dp"
android:layout_marginBottom="1dp" />
<TextView
android:id="@+id/order_details_shipment_method"
android:layout_width="99dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/white"
android:layout_marginRight="1dp"
android:layout_marginBottom="1dp" />
<TextView
android:id="@+id/order_details_shipment_cost"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/white"
android:layout_marginBottom="1dp" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal" >

<TextView
android:id="@+id/order_details_shipment_tracking"
android:layout_width="99dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/white"
android:layout_marginRight="1dp"
android:layout_marginBottom="1dp" />
<TextView
android:id="@+id/order_details_shipment_state"
android:layout_width="99dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/white"
android:layout_marginRight="1dp"
android:layout_marginBottom="1dp" />
<TextView
android:id="@+id/order_details_shipment_date"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/white"
android:layout_marginBottom="1dp" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal" >

<TextView
android:id="@+id/order_details_shipment_action"
android:layout_width="300dp"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/white"
android:layout_marginBottom="1dp" />

</LinearLayout>

</LinearLayout>
Loading

0 comments on commit 03ef5b2

Please sign in to comment.