aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout/logtrackable_activity.xml
blob: 2a901eae3f0a4b38ed06a933a805e9685e987067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="UTF-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="?background_color"
    android:orientation="vertical"
    android:padding="4dip" >

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical" >

        <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal" >

            <Button
                android:id="@+id/type"
                style="@style/button_full"
                android:layout_width="0dip"
                android:layout_weight="1" />

            <Button
                android:id="@+id/date"
                style="@style/button_full"
                android:layout_width="0dip"
                android:layout_weight="1" />
        </LinearLayout>

        <EditText
            android:id="@+id/tracking"
            style="@style/edittext_full"
            android:hint="@string/trackable_code"
            android:inputType="textCapCharacters" />

        <EditText
            android:id="@+id/log"
            style="@style/edittext_full"
            android:hint="@string/log_new_log_text"
            android:inputType="textMultiLine|textCapSentences"
            android:lines="5"
            android:maxLength="4000"
            android:singleLine="false" />

        <LinearLayout
            android:id="@+id/tweet_box"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="5dip"
            android:layout_marginLeft="10dip"
            android:layout_marginRight="10dip"
            android:orientation="horizontal"
            android:visibility="gone" >

            <CheckBox
                android:id="@+id/tweet"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="left"
                android:gravity="center"
                android:padding="2sp" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:gravity="left"
                android:paddingRight="3dip"
                android:text="@string/visit_tweet"
                android:textColor="?text_color"
                android:textSize="14sp" />
        </LinearLayout>
    </LinearLayout>

</ScrollView>