|
10 | 10 | android:layout_width="match_parent" |
11 | 11 | android:layout_height="match_parent"> |
12 | 12 |
|
13 | | - <androidx.swiperefreshlayout.widget.SwipeRefreshLayout |
14 | | - android:id="@+id/items_swipe_refresh" |
| 13 | + <RelativeLayout |
| 14 | + android:id="@+id/items_wrapper" |
15 | 15 | android:layout_width="match_parent" |
16 | 16 | android:layout_height="wrap_content"> |
17 | 17 |
|
18 | | - <RelativeLayout |
19 | | - android:id="@+id/items_wrapper" |
| 18 | + <com.simplemobiletools.commons.views.Breadcrumbs |
| 19 | + android:id="@+id/breadcrumbs" |
20 | 20 | android:layout_width="match_parent" |
21 | | - android:layout_height="wrap_content"> |
| 21 | + android:layout_height="wrap_content" |
| 22 | + android:layout_marginTop="@dimen/medium_margin" |
| 23 | + android:paddingStart="@dimen/activity_margin" |
| 24 | + android:paddingTop="@dimen/small_margin" |
| 25 | + android:paddingEnd="@dimen/small_margin" |
| 26 | + android:paddingBottom="@dimen/small_margin" /> |
22 | 27 |
|
23 | | - <com.simplemobiletools.commons.views.Breadcrumbs |
24 | | - android:id="@+id/breadcrumbs" |
25 | | - android:layout_width="match_parent" |
26 | | - android:layout_height="wrap_content" |
27 | | - android:layout_marginTop="@dimen/medium_margin" |
28 | | - android:paddingStart="@dimen/activity_margin" |
29 | | - android:paddingTop="@dimen/small_margin" |
30 | | - android:paddingEnd="@dimen/small_margin" |
31 | | - android:paddingBottom="@dimen/small_margin" /> |
| 28 | + <com.simplemobiletools.commons.views.MyTextView |
| 29 | + android:id="@+id/items_placeholder" |
| 30 | + android:layout_width="match_parent" |
| 31 | + android:layout_height="wrap_content" |
| 32 | + android:layout_below="@+id/breadcrumbs" |
| 33 | + android:layout_centerHorizontal="true" |
| 34 | + android:alpha="0.8" |
| 35 | + android:gravity="center" |
| 36 | + android:paddingStart="@dimen/activity_margin" |
| 37 | + android:paddingEnd="@dimen/activity_margin" |
| 38 | + android:text="@string/no_items_found" |
| 39 | + android:textSize="@dimen/bigger_text_size" |
| 40 | + android:textStyle="italic" |
| 41 | + android:visibility="gone" /> |
32 | 42 |
|
33 | | - <com.simplemobiletools.commons.views.MyTextView |
34 | | - android:id="@+id/items_placeholder" |
35 | | - android:layout_width="match_parent" |
36 | | - android:layout_height="wrap_content" |
37 | | - android:layout_below="@+id/breadcrumbs" |
38 | | - android:layout_centerHorizontal="true" |
39 | | - android:alpha="0.8" |
40 | | - android:gravity="center" |
41 | | - android:paddingStart="@dimen/activity_margin" |
42 | | - android:paddingEnd="@dimen/activity_margin" |
43 | | - android:text="@string/no_items_found" |
44 | | - android:textSize="@dimen/bigger_text_size" |
45 | | - android:textStyle="italic" |
46 | | - android:visibility="gone" /> |
| 43 | + <com.simplemobiletools.commons.views.MyTextView |
| 44 | + android:id="@+id/items_placeholder_2" |
| 45 | + android:layout_width="wrap_content" |
| 46 | + android:layout_height="wrap_content" |
| 47 | + android:layout_below="@+id/items_placeholder" |
| 48 | + android:layout_centerHorizontal="true" |
| 49 | + android:alpha="0.8" |
| 50 | + android:background="?attr/selectableItemBackground" |
| 51 | + android:gravity="center" |
| 52 | + android:padding="@dimen/activity_margin" |
| 53 | + android:text="@string/type_2_characters" |
| 54 | + android:textSize="@dimen/bigger_text_size" |
| 55 | + android:textStyle="italic" |
| 56 | + android:visibility="gone" /> |
47 | 57 |
|
48 | | - <com.simplemobiletools.commons.views.MyTextView |
49 | | - android:id="@+id/items_placeholder_2" |
50 | | - android:layout_width="wrap_content" |
51 | | - android:layout_height="wrap_content" |
52 | | - android:layout_below="@+id/items_placeholder" |
53 | | - android:layout_centerHorizontal="true" |
54 | | - android:alpha="0.8" |
55 | | - android:background="?attr/selectableItemBackground" |
56 | | - android:gravity="center" |
57 | | - android:padding="@dimen/activity_margin" |
58 | | - android:text="@string/type_2_characters" |
59 | | - android:textSize="@dimen/bigger_text_size" |
60 | | - android:textStyle="italic" |
61 | | - android:visibility="gone" /> |
| 58 | + <androidx.swiperefreshlayout.widget.SwipeRefreshLayout |
| 59 | + android:id="@+id/items_swipe_refresh" |
| 60 | + android:layout_width="match_parent" |
| 61 | + android:layout_height="wrap_content" |
| 62 | + android:layout_below="@+id/breadcrumbs"> |
62 | 63 |
|
63 | 64 | <com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller |
64 | 65 | android:id="@+id/items_fastscroller" |
65 | 66 | android:layout_width="match_parent" |
66 | 67 | android:layout_height="wrap_content" |
67 | | - android:layout_below="@+id/breadcrumbs"> |
| 68 | + app:supportSwipeToRefresh="true"> |
68 | 69 |
|
69 | 70 | <com.simplemobiletools.commons.views.MyRecyclerView |
70 | 71 | android:id="@+id/items_list" |
|
76 | 77 | app:layoutManager="com.simplemobiletools.commons.views.MyGridLayoutManager" /> |
77 | 78 |
|
78 | 79 | </com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller> |
79 | | - </RelativeLayout> |
80 | | - </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |
| 80 | + </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |
| 81 | + </RelativeLayout> |
81 | 82 |
|
82 | 83 | <com.simplemobiletools.commons.views.MyFloatingActionButton |
83 | 84 | android:id="@+id/items_fab" |
|
0 commit comments