add favourite workflow list item layout 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/1e66e3bf
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/tree/1e66e3bf
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/diff/1e66e3bf

Branch: refs/heads/master
Commit: 1e66e3bfedb22ec8f54a9cdd8eefdd370df01acd
Parents: 021d7aa
Author: Sagar <[email protected]>
Authored: Sat Jul 9 23:08:45 2016 +0530
Committer: Sagar <[email protected]>
Committed: Sat Jul 9 23:08:45 2016 +0530

----------------------------------------------------------------------
 ...tem_recyclerview_favourite_workflow_list.xml | 77 ++++++++++++++++++++
 1 file changed, 77 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/1e66e3bf/app/src/main/res/layout/item_recyclerview_favourite_workflow_list.xml
----------------------------------------------------------------------
diff --git 
a/app/src/main/res/layout/item_recyclerview_favourite_workflow_list.xml 
b/app/src/main/res/layout/item_recyclerview_favourite_workflow_list.xml
new file mode 100644
index 0000000..9fe6384
--- /dev/null
+++ b/app/src/main/res/layout/item_recyclerview_favourite_workflow_list.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.v7.widget.CardView
+        xmlns:android="http://schemas.android.com/apk/res/android";
+        xmlns:app="http://schemas.android.com/apk/res-auto";
+        android:orientation="vertical"
+        android:layout_width="match_parent"
+        android:layout_margin="5dp"
+        android:layout_height="250dp"
+        app:cardCornerRadius="5dp"
+        app:cardElevation="1dp">
+    <RelativeLayout
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content">
+        <ImageView
+                android:id="@+id/ivWorkflowImage"
+                android:layout_width="match_parent"
+                android:layout_height="300dp"
+                android:scaleType="fitXY"
+                android:src="@drawable/sliding_header"/>
+        <TextView
+                android:background="@color/black_background"
+                android:id="@+id/tvUploader"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_alignBottom="@id/ivWorkflowImage"
+                android:text="Uploader"
+                android:paddingLeft="10dp"
+                android:paddingStart="10dp"
+                android:paddingRight="0dp"
+                android:paddingEnd="0dp"
+                android:paddingBottom="5dp"
+                android:textSize="14sp"
+                android:textColor="@android:color/white"/>
+        <TextView
+                android:background="@color/black_background"
+                android:id="@+id/tvDate"
+                android:layout_above="@id/tvUploader"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:text="date"
+                android:paddingLeft="10dp"
+                android:paddingStart="10dp"
+                android:paddingRight="0dp"
+                android:paddingEnd="0dp"
+                android:paddingBottom="5dp"
+                android:textSize="14sp"
+                android:textColor="@android:color/white"/>
+        <TextView
+                android:background="@color/black_background"
+                android:id="@+id/tvType"
+                android:layout_above="@id/tvDate"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:text="type"
+                android:paddingLeft="10dp"
+                android:paddingStart="10dp"
+                android:paddingRight="0dp"
+                android:paddingEnd="0dp"
+                android:paddingBottom="5dp"
+                android:textSize="16sp"
+                android:textColor="@android:color/white"/>
+        <TextView
+                android:background="@color/black_background"
+                android:id="@+id/tvTitle"
+                android:layout_above="@id/tvType"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:text="type"
+                android:paddingLeft="10dp"
+                android:paddingStart="10dp"
+                android:paddingRight="0dp"
+                android:paddingEnd="0dp"
+                android:paddingBottom="5dp"
+                android:textSize="18sp"
+                android:textColor="@android:color/white"/>
+    </RelativeLayout>
+</android.support.v7.widget.CardView>
\ No newline at end of file

Reply via email to