Commit 76894f7e by Kunj Gupta

UOFLMA-117: Fixed - Showing "No Catalogue" text in the background while loading…

UOFLMA-117: Fixed - Showing "No Catalogue" text in the background while loading Catalogue categories.
parent ef72c185
...@@ -11,6 +11,16 @@ ...@@ -11,6 +11,16 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/screen_bg_color"> android:background="@color/screen_bg_color">
<TextView
android:id="@+id/catalogue_item_screen_empty_text_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white"
android:gravity="center"
android:visibility="gone"
android:text="@string/no_catalogue_item_string"
android:textSize="@dimen/extra_normal_text_size" />
<ListView <ListView
android:id="@+id/catalogue_item_screen_list_view" android:id="@+id/catalogue_item_screen_list_view"
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -20,16 +30,6 @@ ...@@ -20,16 +30,6 @@
android:divider="@android:color/white" android:divider="@android:color/white"
android:dividerHeight="@dimen/catalogue_category_and_item_list_view_divider_height" android:dividerHeight="@dimen/catalogue_category_and_item_list_view_divider_height"
android:padding="@dimen/normal_margin" android:padding="@dimen/normal_margin"
android:scrollbars="none" android:scrollbars="none"/>
android:visibility="gone" />
<TextView
android:id="@+id/catalogue_item_screen_empty_text_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white"
android:gravity="center"
android:text="@string/no_catalogue_item_string"
android:textSize="@dimen/extra_normal_text_size" />
</FrameLayout> </FrameLayout>
</LinearLayout> </LinearLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment