|
39 | 39 | android:layout_height="wrap_content" |
40 | 40 | android:orientation="vertical"> |
41 | 41 | <TextView android:id="@+id/trn_description" |
42 | | - android:layout_width="match_parent" |
43 | | - android:layout_height="wrap_content" |
44 | | - tools:text="Transaction description which can be rather long" |
45 | | - android:gravity="bottom" |
46 | | - android:maxLines="3" |
47 | | - android:paddingBottom="20dp" |
48 | | - android:textAppearance="@style/TextAppearance.AppCompat.Widget.ActionBar.Title"/> |
| 42 | + android:layout_width="match_parent" |
| 43 | + android:layout_height="wrap_content" |
| 44 | + tools:text="Transaction description which can be rather long" |
| 45 | + android:gravity="bottom" |
| 46 | + android:maxLines="3" |
| 47 | + android:paddingBottom="20dp" |
| 48 | + android:textAppearance="@style/TextAppearance.AppCompat.Widget.ActionBar.Title"/> |
49 | 49 |
|
50 | 50 | <TextView android:id="@+id/transaction_account" |
51 | | - android:layout_width="match_parent" |
52 | | - android:layout_height="wrap_content" |
53 | | - android:gravity="bottom" |
54 | | - android:layout_gravity="bottom" |
55 | | - android:layout_marginStart="8dp" |
56 | | - android:layout_marginLeft="8dp" |
57 | | - android:maxLines="1" |
58 | | - android:ellipsize="start" |
59 | | - android:textStyle="italic" |
60 | | - android:textColor="@android:color/white" |
61 | | - tools:text="Expenses:Computer"/> |
| 51 | + android:layout_width="match_parent" |
| 52 | + android:layout_height="wrap_content" |
| 53 | + android:gravity="bottom" |
| 54 | + android:layout_gravity="bottom" |
| 55 | + android:layout_marginStart="8dp" |
| 56 | + android:layout_marginLeft="8dp" |
| 57 | + android:maxLines="1" |
| 58 | + android:ellipsize="start" |
| 59 | + android:textStyle="italic" |
| 60 | + android:textColor="@android:color/white" |
| 61 | + tools:text="Expenses:Computer"/> |
62 | 62 | </LinearLayout> |
63 | 63 | </android.support.v7.widget.Toolbar> |
64 | 64 |
|
65 | 65 | <ScrollView |
66 | 66 | android:layout_width="match_parent" |
67 | 67 | android:layout_height="match_parent"> |
68 | | - <TableLayout android:id="@+id/fragment_transaction_details" |
69 | | - android:layout_width="match_parent" |
70 | | - android:layout_height="wrap_content" |
71 | | - android:padding="@dimen/dialog_padding" |
72 | | - android:layout_marginTop="20dp" |
73 | | - android:stretchColumns="1" |
74 | | - android:orientation="vertical" > |
75 | | - |
76 | | - <TableRow android:id="@+id/row_balance" |
77 | | - android:layout_width="match_parent" |
78 | | - android:layout_height="wrap_content" |
79 | | - android:weightSum="5" |
80 | | - android:paddingTop="5dp" |
81 | | - android:paddingBottom="5dp" |
82 | | - android:layout_marginLeft="6dp"> |
83 | | - |
84 | | - <TextView |
85 | | - android:layout_width="0dp" |
86 | | - android:layout_weight="2" |
87 | | - android:layout_height="wrap_content" |
88 | | - android:gravity="center_vertical|right" |
89 | | - android:textSize="16sp" |
90 | | - android:textStyle="bold" |
91 | | - android:text="@string/account_balance" |
92 | | - android:textColor="@android:color/black" /> |
93 | | - |
94 | | - <TextView |
95 | | - android:id="@+id/balance_debit" |
96 | | - android:layout_width="0dp" |
97 | | - android:layout_weight="1.5" |
98 | | - android:layout_height="wrap_content" |
99 | | - android:gravity="right" |
100 | | - android:layout_gravity="center" |
101 | | - android:textSize="16sp" |
102 | | - android:textStyle="bold" |
103 | | - tools:text="$ 2000" |
104 | | - android:textColor="@android:color/black" /> |
105 | | - |
106 | | - <TextView |
107 | | - android:id="@+id/balance_credit" |
108 | | - android:layout_width="0dp" |
109 | | - android:layout_weight="1.5" |
110 | | - android:layout_height="wrap_content" |
111 | | - android:gravity="right" |
112 | | - android:layout_gravity="center" |
113 | | - android:textSize="16sp" |
114 | | - android:textStyle="bold" |
115 | | - tools:text="$ 2000" |
116 | | - android:textColor="@android:color/black" /> |
117 | | - </TableRow> |
118 | | - |
119 | | - <TableRow android:id="@+id/row_time_and_date" |
120 | | - android:layout_marginTop="20dp" |
121 | | - style="@style/FormRow" > |
122 | | - |
123 | | - <ImageView style="@style/FormIcon" |
124 | | - android:src="@drawable/ic_action_time"/> |
125 | | - |
126 | | - <TextView android:id="@+id/trn_time_and_date" |
127 | | - style="@style/TransactionInfo" /> |
128 | | - </TableRow> |
129 | | - |
130 | | - <TableRow android:id="@+id/row_trn_notes" |
131 | | - style="@style/FormRow"> |
132 | | - <ImageView style="@style/FormIcon" |
133 | | - android:src="@drawable/ic_action_sort_by_size"/> |
134 | | - |
135 | | - <TextView android:id="@+id/trn_notes" |
136 | | - style="@style/TransactionInfo" /> |
137 | | - </TableRow> |
138 | | - |
139 | | - <TableRow android:id="@+id/row_trn_recurrence" |
140 | | - style="@style/FormRow"> |
141 | | - |
142 | | - <ImageView style="@style/FormIcon" |
143 | | - android:src="@drawable/ic_action_rotate_right"/> |
144 | | - |
145 | | - <TextView android:id="@+id/trn_recurrence" |
146 | | - style="@style/TransactionInfo" /> |
147 | | - </TableRow> |
148 | | - |
149 | | - </TableLayout> |
| 68 | + <TableLayout android:id="@+id/fragment_transaction_details" |
| 69 | + android:layout_width="match_parent" |
| 70 | + android:layout_height="wrap_content" |
| 71 | + android:padding="@dimen/dialog_padding" |
| 72 | + android:layout_marginTop="20dp" |
| 73 | + android:stretchColumns="1" |
| 74 | + android:orientation="vertical" > |
| 75 | + |
| 76 | + <TableRow android:layout_width="match_parent" |
| 77 | + android:layout_height="wrap_content" |
| 78 | + android:weightSum="5" |
| 79 | + android:paddingTop="5dp" |
| 80 | + android:paddingBottom="5dp" |
| 81 | + android:layout_marginLeft="6dp"> |
| 82 | + |
| 83 | + <TextView |
| 84 | + android:layout_width="0dp" |
| 85 | + android:layout_weight="2" |
| 86 | + android:layout_height="wrap_content" |
| 87 | + android:gravity="center_vertical|right" |
| 88 | + android:textSize="16sp" |
| 89 | + android:textStyle="bold" |
| 90 | + android:text="@string/account_balance" |
| 91 | + android:textColor="@android:color/black" /> |
| 92 | + |
| 93 | + <TextView |
| 94 | + android:id="@+id/balance_debit" |
| 95 | + android:layout_width="0dp" |
| 96 | + android:layout_weight="1.5" |
| 97 | + android:layout_height="wrap_content" |
| 98 | + android:gravity="right" |
| 99 | + android:layout_gravity="center" |
| 100 | + android:textSize="16sp" |
| 101 | + android:textStyle="bold" |
| 102 | + tools:text="$ 2000" |
| 103 | + android:textColor="@android:color/black" /> |
| 104 | + |
| 105 | + <TextView |
| 106 | + android:id="@+id/balance_credit" |
| 107 | + android:layout_width="0dp" |
| 108 | + android:layout_weight="1.5" |
| 109 | + android:layout_height="wrap_content" |
| 110 | + android:gravity="right" |
| 111 | + android:layout_gravity="center" |
| 112 | + android:textSize="16sp" |
| 113 | + android:textStyle="bold" |
| 114 | + tools:text="$ 2000" |
| 115 | + android:textColor="@android:color/black" /> |
| 116 | + </TableRow> |
| 117 | + |
| 118 | + <TableRow android:id="@+id/row_time_and_date" |
| 119 | + android:layout_marginTop="20dp" |
| 120 | + style="@style/FormRow" > |
| 121 | + |
| 122 | + <ImageView style="@style/FormIcon" |
| 123 | + android:src="@drawable/ic_action_time"/> |
| 124 | + |
| 125 | + <TextView android:id="@+id/trn_time_and_date" |
| 126 | + style="@style/TransactionInfo" /> |
| 127 | + </TableRow> |
| 128 | + |
| 129 | + <TableRow android:id="@+id/row_trn_notes" |
| 130 | + style="@style/FormRow"> |
| 131 | + <ImageView style="@style/FormIcon" |
| 132 | + android:src="@drawable/ic_action_sort_by_size"/> |
| 133 | + |
| 134 | + <TextView android:id="@+id/trn_notes" |
| 135 | + style="@style/TransactionInfo" /> |
| 136 | + </TableRow> |
| 137 | + |
| 138 | + <TableRow android:id="@+id/row_trn_recurrence" |
| 139 | + style="@style/FormRow"> |
| 140 | + |
| 141 | + <ImageView style="@style/FormIcon" |
| 142 | + android:src="@drawable/ic_action_rotate_right"/> |
| 143 | + |
| 144 | + <TextView android:id="@+id/trn_recurrence" |
| 145 | + style="@style/TransactionInfo" /> |
| 146 | + </TableRow> |
| 147 | + |
| 148 | + </TableLayout> |
150 | 149 | </ScrollView> |
151 | 150 | </LinearLayout> |
152 | 151 | <android.support.design.widget.FloatingActionButton |
|
0 commit comments