add NO Favourite workflow error textview in xml
Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/commit/bde13771 Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/tree/bde13771 Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/diff/bde13771 Branch: refs/heads/master Commit: bde1377179e099d3c58c5f5ed00fb5cbf27ff5b2 Parents: fae286a Author: Sagar <[email protected]> Authored: Sun Jul 10 00:39:38 2016 +0530 Committer: Sagar <[email protected]> Committed: Sun Jul 10 00:39:38 2016 +0530 ---------------------------------------------------------------------- .../main/res/layout/fragment_favourite_workflow_list.xml | 10 ++++++++++ app/src/main/res/values/strings.xml | 1 + 2 files changed, 11 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/bde13771/app/src/main/res/layout/fragment_favourite_workflow_list.xml ---------------------------------------------------------------------- diff --git a/app/src/main/res/layout/fragment_favourite_workflow_list.xml b/app/src/main/res/layout/fragment_favourite_workflow_list.xml index 8d5fef6..e7bf0ef 100644 --- a/app/src/main/res/layout/fragment_favourite_workflow_list.xml +++ b/app/src/main/res/layout/fragment_favourite_workflow_list.xml @@ -20,4 +20,14 @@ android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:visibility="visible"/> + + <TextView + android:id="@+id/error_no_workflow" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerInParent="true" + android:text="@string/no_favourite_workflow_found" + android:textStyle="bold" + android:visibility="gone" + android:textSize="20sp"/> </RelativeLayout> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/bde13771/app/src/main/res/values/strings.xml ---------------------------------------------------------------------- diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a13b6f9..e53dc06 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -112,4 +112,5 @@ limitations under the License. <string name="announcement">Announcementss</string> <string name="no_internet">No Internet Connection</string> <string name="licence">Licence</string> + <string name="no_favourite_workflow_found">No Favourite Workflow Found!!!</string> </resources>
