diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_stack.xml | 25 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
2 files changed, 22 insertions, 4 deletions
diff --git a/app/src/main/res/layout/fragment_stack.xml b/app/src/main/res/layout/fragment_stack.xml index a3da20dd9..f64dfccff 100644 --- a/app/src/main/res/layout/fragment_stack.xml +++ b/app/src/main/res/layout/fragment_stack.xml @@ -1,7 +1,24 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="match_parent" + android:orientation="vertical"> + + <LinearLayout + android:id="@+id/no_cards" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="gone"> + + <TextView + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center" + android:textSize="20sp" + android:text="@string/no_cards" + + android:textAlignment="center" /> + </LinearLayout> <androidx.swiperefreshlayout.widget.SwipeRefreshLayout android:id="@+id/swipe_refresh_layout" @@ -12,10 +29,10 @@ android:id="@+id/recycler_view" android:layout_width="match_parent" android:layout_height="match_parent" - android:scrollbars="vertical" + android:clipToPadding="false" android:paddingTop="@dimen/standard_half_padding" android:paddingBottom="@dimen/standard_half_padding" - android:clipToPadding="false" - android:scrollbarStyle="outsideOverlay" /> + android:scrollbarStyle="outsideOverlay" + android:scrollbars="vertical" /> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </LinearLayout>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 676fbefb9..904571bac 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -119,4 +119,5 @@ <string name="about_server_app_version_text">Server app version:</string> <string name="no_files_attached_to_this_card">There are no files attached to this card.</string> <string name="attachments">Attachments</string> + <string name="no_cards">No cards yet</string> </resources> |