|
4 | 4 | android:layout_margin="2dip" |
5 | 5 | android:layout_width="fill_parent" |
6 | 6 | android:layout_height="wrap_content" |
| 7 | + android:layout_weight="1" |
7 | 8 | > |
8 | | - <TextView |
9 | | - android:id="@+id/name" |
10 | | - style="@style/TextAppearance.Small" |
11 | | - android:singleLine="false" |
12 | | - android:maxLines="3" |
13 | | - android:layout_marginRight="5dip" |
14 | | - android:layout_width="wrap_content" |
15 | | - android:layout_height="wrap_content"/> |
16 | | - <TextView |
17 | | - android:id="@+id/value" |
18 | | - style="@style/TextAppearance.Small" |
19 | | - android:singleLine="false" |
20 | | - android:maxLines="3" |
21 | | - android:layout_width="wrap_content" |
22 | | - android:layout_height="wrap_content"/> |
| 9 | + <LinearLayout |
| 10 | + android:id="@+id/book_info_grid_cell1" |
| 11 | + android:layout_width="0dip" |
| 12 | + android:layout_height="fill_parent" |
| 13 | + android:gravity="left" |
| 14 | + android:layout_weight="1" |
| 15 | + android:orientation="horizontal"> |
| 16 | + <TextView |
| 17 | + android:id="@+id/name" |
| 18 | + style="@style/TextAppearance.Small" |
| 19 | + android:singleLine="false" |
| 20 | + android:maxLines="3" |
| 21 | + android:textStyle="bold" |
| 22 | + android:layout_marginRight="5dip" |
| 23 | + android:layout_width="wrap_content" |
| 24 | + android:layout_height="wrap_content"/> |
| 25 | + </LinearLayout> |
| 26 | + <LinearLayout |
| 27 | + android:id="@+id/book_info_grid_cell2" |
| 28 | + android:layout_width="0dip" |
| 29 | + android:layout_height="fill_parent" |
| 30 | + android:gravity="left" |
| 31 | + android:layout_weight="2" |
| 32 | + android:orientation="horizontal"> |
| 33 | + <TextView |
| 34 | + android:id="@+id/value" |
| 35 | + style="@style/TextAppearance.Small" |
| 36 | + android:singleLine="false" |
| 37 | + android:maxLines="3" |
| 38 | + android:layout_width="wrap_content" |
| 39 | + android:layout_height="wrap_content"/> |
| 40 | + </LinearLayout> |
23 | 41 | </TableRow> |
0 commit comments