|
10 | 10 | android:layout_width="match_parent"
|
11 | 11 | android:layout_height="match_parent">
|
12 | 12 |
|
13 |
| - <com.simplemobiletools.commons.views.MyRecyclerView |
14 |
| - android:id="@+id/checklist_list" |
| 13 | + <RelativeLayout |
| 14 | + android:id="@+id/note_locked_layout" |
15 | 15 | android:layout_width="match_parent"
|
16 | 16 | android:layout_height="match_parent"
|
17 |
| - android:clipToPadding="false" |
18 |
| - android:overScrollMode="never" |
19 |
| - android:visibility="gone" |
20 |
| - app:layoutManager="com.simplemobiletools.commons.views.MyLinearLayoutManager" /> |
| 17 | + android:layout_marginTop="@dimen/activity_margin" |
| 18 | + android:visibility="gone"> |
| 19 | + |
| 20 | + <ImageView |
| 21 | + android:id="@+id/note_locked_image" |
| 22 | + android:layout_width="@dimen/normal_icon_size" |
| 23 | + android:layout_height="@dimen/normal_icon_size" |
| 24 | + android:layout_centerHorizontal="true" |
| 25 | + android:layout_marginTop="@dimen/medium_margin" |
| 26 | + android:src="@drawable/ic_lock_vector" /> |
| 27 | + |
| 28 | + <com.simplemobiletools.commons.views.MyTextView |
| 29 | + android:id="@+id/note_locked_label" |
| 30 | + android:layout_width="wrap_content" |
| 31 | + android:layout_height="wrap_content" |
| 32 | + android:layout_below="@+id/note_locked_image" |
| 33 | + android:layout_centerHorizontal="true" |
| 34 | + android:layout_marginTop="@dimen/activity_margin" |
| 35 | + android:text="@string/note_content_locked" /> |
| 36 | + |
| 37 | + <TextView |
| 38 | + android:id="@+id/note_locked_show" |
| 39 | + android:layout_width="wrap_content" |
| 40 | + android:layout_height="wrap_content" |
| 41 | + android:layout_below="@+id/note_locked_label" |
| 42 | + android:layout_centerHorizontal="true" |
| 43 | + android:layout_marginTop="@dimen/small_margin" |
| 44 | + android:background="?attr/selectableItemBackground" |
| 45 | + android:padding="@dimen/activity_margin" |
| 46 | + android:text="@string/show_content" /> |
| 47 | + |
| 48 | + </RelativeLayout> |
21 | 49 |
|
22 |
| - <com.simplemobiletools.commons.views.MyTextView |
23 |
| - android:id="@+id/fragment_placeholder" |
| 50 | + <RelativeLayout |
| 51 | + android:id="@+id/checklist_content_holder" |
24 | 52 | android:layout_width="match_parent"
|
25 |
| - android:layout_height="wrap_content" |
26 |
| - android:layout_marginTop="@dimen/activity_margin" |
27 |
| - android:alpha="0.8" |
28 |
| - android:gravity="center" |
29 |
| - android:paddingStart="@dimen/activity_margin" |
30 |
| - android:paddingEnd="@dimen/activity_margin" |
31 |
| - android:text="@string/checklist_is_empty" |
32 |
| - android:textSize="@dimen/bigger_text_size" |
33 |
| - android:textStyle="italic" |
34 |
| - android:visibility="gone" /> |
35 |
| - |
36 |
| - <com.simplemobiletools.commons.views.MyTextView |
37 |
| - android:id="@+id/fragment_placeholder_2" |
38 |
| - android:layout_width="wrap_content" |
39 |
| - android:layout_height="wrap_content" |
40 |
| - android:layout_below="@+id/fragment_placeholder" |
41 |
| - android:layout_centerHorizontal="true" |
42 |
| - android:background="?attr/selectableItemBackground" |
43 |
| - android:gravity="center" |
44 |
| - android:padding="@dimen/activity_margin" |
45 |
| - android:text="@string/add_new_checklist_items" |
46 |
| - android:textSize="@dimen/bigger_text_size" |
47 |
| - android:visibility="gone" /> |
| 53 | + android:layout_height="wrap_content"> |
| 54 | + |
| 55 | + <com.simplemobiletools.commons.views.MyRecyclerView |
| 56 | + android:id="@+id/checklist_list" |
| 57 | + android:layout_width="match_parent" |
| 58 | + android:layout_height="match_parent" |
| 59 | + android:clipToPadding="false" |
| 60 | + android:overScrollMode="never" |
| 61 | + android:visibility="gone" |
| 62 | + app:layoutManager="com.simplemobiletools.commons.views.MyLinearLayoutManager" /> |
| 63 | + |
| 64 | + <com.simplemobiletools.commons.views.MyTextView |
| 65 | + android:id="@+id/fragment_placeholder" |
| 66 | + android:layout_width="match_parent" |
| 67 | + android:layout_height="wrap_content" |
| 68 | + android:layout_marginTop="@dimen/activity_margin" |
| 69 | + android:alpha="0.8" |
| 70 | + android:gravity="center" |
| 71 | + android:paddingStart="@dimen/activity_margin" |
| 72 | + android:paddingEnd="@dimen/activity_margin" |
| 73 | + android:text="@string/checklist_is_empty" |
| 74 | + android:textSize="@dimen/bigger_text_size" |
| 75 | + android:textStyle="italic" |
| 76 | + android:visibility="gone" /> |
| 77 | + |
| 78 | + <com.simplemobiletools.commons.views.MyTextView |
| 79 | + android:id="@+id/fragment_placeholder_2" |
| 80 | + android:layout_width="wrap_content" |
| 81 | + android:layout_height="wrap_content" |
| 82 | + android:layout_below="@+id/fragment_placeholder" |
| 83 | + android:layout_centerHorizontal="true" |
| 84 | + android:background="?attr/selectableItemBackground" |
| 85 | + android:gravity="center" |
| 86 | + android:padding="@dimen/activity_margin" |
| 87 | + android:text="@string/add_new_checklist_items" |
| 88 | + android:textSize="@dimen/bigger_text_size" |
| 89 | + android:visibility="gone" /> |
| 90 | + </RelativeLayout> |
48 | 91 | </RelativeLayout>
|
49 | 92 |
|
50 | 93 | <com.simplemobiletools.commons.views.MyFloatingActionButton
|
|
0 commit comments