item_operation_panel.xml 4.12 KB
Newer Older
1 2 3 4 5
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/root"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
6 7
    android:background="@drawable/list_selector_holo_light"
    android:descendantFocusability="blocksDescendants"
Lee Jaebin committed
8 9 10
    android:paddingTop="20dp"
    android:paddingRight="10dp"
    android:paddingLeft="10dp"
11 12 13
    android:orientation="vertical">

    <LinearLayout
Lee Jaebin committed
14
        android:id="@+id/panel_layout"
15
        android:layout_width="match_parent"
16
        android:layout_height="200dp"
17
        android:background="@drawable/panel_frame"
18
        android:orientation="vertical">
19 20 21

        <LinearLayout
            android:layout_width="match_parent"
22
            android:layout_height="wrap_content"
Lee Jaebin committed
23 24 25 26
            android:layout_marginRight="15dp"
            android:layout_marginLeft="15dp"
            android:layout_marginTop="15dp"
            android:layout_marginBottom="10dp">
27

28
            <LinearLayout
29
                android:layout_width="wrap_content"
30
                android:layout_height="match_parent">
31

32 33
                <ImageView
                    android:id="@+id/report_type"
34 35
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
36
                    android:layout_marginRight="10dp" />
37

38 39
                <ImageView
                    android:id="@+id/operation_type"
40
                    android:layout_width="wrap_content"
41
                    android:layout_height="wrap_content" />
42
            </LinearLayout>
43 44 45

            <LinearLayout
                android:layout_width="match_parent"
46
                android:layout_height="match_parent"
47 48
                android:gravity="right"
                android:orientation="horizontal">
49

50 51
                <ImageButton
                    android:id="@+id/btn_pano_edit"
52 53
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
54 55
                    android:background="@drawable/ic_edit_panel"
                    android:visibility="invisible" />
56

57
                <ImageButton
58
                    android:id="@+id/btn_sync"
59 60
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
61 62
                    android:layout_marginLeft="10dp"
                    android:background="@drawable/ic_reload_panel" />
63
            </LinearLayout>
64
        </LinearLayout>
65

66 67
        <View
            android:id="@+id/view3"
Lee Jaebin committed
68 69
            android:layout_marginLeft="15dp"
            android:layout_marginRight="15dp"
70 71 72 73
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:background="@color/line_side" />

74 75
        <LinearLayout
            android:layout_width="match_parent"
Lee Jaebin committed
76 77 78
            android:layout_height="match_parent"
            android:layout_marginLeft="15dp"
            android:layout_marginRight="15dp"
Lee Jaebin committed
79
            android:layout_marginTop="5dp"
80
            android:orientation="vertical">
81

82 83
            <TextView
                android:id="@+id/operation_name"
Lee Jaebin committed
84
                android:layout_width="match_parent"
85 86 87
                android:layout_height="wrap_content"
                android:ellipsize="end"
                android:maxLines="2"
Lee Jaebin committed
88
                android:layout_weight="1"
89 90
                android:text="@string/dummy_str"
                android:textColor="@color/operation_name"
Lee Jaebin committed
91
                android:textSize="@dimen/operation_name_size"
92
                android:textStyle="bold" />
93

94 95
            <TextView
                android:id="@+id/operation_date"
Lee Jaebin committed
96
                android:layout_width="match_parent"
97
                android:layout_height="wrap_content"
Lee Jaebin committed
98 99
                android:gravity="bottom"
                android:layout_marginBottom="10dp"
100
                android:ellipsize="end"
Lee Jaebin committed
101
                android:layout_weight="1"
Lee Jaebin committed
102
                android:maxLines="2"
103 104
                android:text="@string/dummy_date"
                android:textColor="@color/operation_date"
Lee Jaebin committed
105
                android:textSize="@dimen/operation_date_text_size" />
106 107 108
        </LinearLayout>
    </LinearLayout>
</LinearLayout>