|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<ScrollView |
3 | | - xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
4 | 3 | android:layout_width="match_parent" |
5 | 4 | android:layout_height="match_parent"> |
6 | 5 |
|
7 | 6 | <LinearLayout |
8 | 7 | android:layout_width="match_parent" |
9 | 8 | android:layout_height="wrap_content" |
10 | | - android:orientation="vertical" |
11 | | - android:animateLayoutChanges="true"> |
12 | | - |
13 | | - <com.commit451.adapterlayout.AdapterLinearLayout |
14 | | - android:id="@+id/adapter_layout" |
15 | | - android:layout_width="match_parent" |
16 | | - android:layout_height="wrap_content" |
17 | | - android:animateLayoutChanges="true" |
18 | | - android:paddingBottom="@dimen/activity_vertical_margin" |
19 | | - android:paddingLeft="@dimen/activity_horizontal_margin" |
20 | | - android:paddingRight="@dimen/activity_horizontal_margin" |
21 | | - android:paddingTop="@dimen/activity_vertical_margin" |
22 | | - android:orientation="vertical"/> |
23 | | - |
24 | | - <LinearLayout |
25 | | - android:layout_width="match_parent" |
26 | | - android:layout_height="wrap_content" |
27 | | - android:orientation="horizontal"> |
28 | | - |
29 | | - <Button |
30 | | - android:id="@+id/add_cheese" |
31 | | - android:layout_width="wrap_content" |
32 | | - android:layout_height="wrap_content" |
33 | | - android:text="Add"/> |
34 | | - |
35 | | - <Button |
36 | | - android:id="@+id/remove_cheese" |
37 | | - android:layout_width="wrap_content" |
38 | | - android:layout_height="wrap_content" |
39 | | - android:text="Remove Last"/> |
40 | | - |
41 | | - <Button |
42 | | - android:id="@+id/remove_middle" |
43 | | - android:layout_width="wrap_content" |
44 | | - android:layout_height="wrap_content" |
45 | | - android:text="Remove Middle"/> |
46 | | - |
47 | | - </LinearLayout> |
| 9 | + android:orientation="vertical"> |
| 10 | + |
| 11 | + <com.commit451.adapterlayout.AdapterLinearLayout |
| 12 | + android:id="@+id/adapter_layout" |
| 13 | + android:layout_width="wrap_content" |
| 14 | + android:layout_height="wrap_content" |
| 15 | + android:orientation="vertical"/> |
| 16 | + |
| 17 | + <com.wefika.flowlayout.FlowLayout |
| 18 | + android:layout_width="match_parent" |
| 19 | + android:layout_height="wrap_content"> |
| 20 | + |
| 21 | + <Button |
| 22 | + android:id="@+id/add_cheese" |
| 23 | + android:layout_width="wrap_content" |
| 24 | + android:layout_height="wrap_content" |
| 25 | + android:text="Add" /> |
| 26 | + |
| 27 | + <Button |
| 28 | + android:id="@+id/remove_cheese" |
| 29 | + android:layout_width="wrap_content" |
| 30 | + android:layout_height="wrap_content" |
| 31 | + android:text="Remove Last" /> |
| 32 | + |
| 33 | + <Button |
| 34 | + android:id="@+id/remove_middle" |
| 35 | + android:layout_width="wrap_content" |
| 36 | + android:layout_height="wrap_content" |
| 37 | + android:text="Remove Middle" /> |
| 38 | + |
| 39 | + <Button |
| 40 | + android:id="@+id/new_adapter" |
| 41 | + android:layout_width="wrap_content" |
| 42 | + android:layout_height="wrap_content" |
| 43 | + android:text="New Adapter" /> |
| 44 | + |
| 45 | + </com.wefika.flowlayout.FlowLayout> |
48 | 46 | </LinearLayout> |
49 | 47 |
|
50 | 48 | </ScrollView> |
0 commit comments