added layout for dialog
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/51cfc1a5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/tree/51cfc1a5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/diff/51cfc1a5 Branch: refs/heads/master Commit: 51cfc1a516a20cfa384835edbd78737c1ef5c779 Parents: f69f6b8 Author: Sagar <[email protected]> Authored: Thu Jun 2 18:03:44 2016 +0530 Committer: Sagar <[email protected]> Committed: Thu Jun 2 18:03:44 2016 +0530 ---------------------------------------------------------------------- .../layout/detail_annoucement_dialog_layout.xml | 64 ++++++++++++++++++++ 1 file changed, 64 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/51cfc1a5/app/src/main/res/layout/detail_annoucement_dialog_layout.xml ---------------------------------------------------------------------- diff --git a/app/src/main/res/layout/detail_annoucement_dialog_layout.xml b/app/src/main/res/layout/detail_annoucement_dialog_layout.xml new file mode 100644 index 0000000..ed9ba1c --- /dev/null +++ b/app/src/main/res/layout/detail_annoucement_dialog_layout.xml @@ -0,0 +1,64 @@ +<?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:orientation="vertical" + android:paddingBottom="8dp" + android:paddingLeft="24dp" + android:paddingRight="24dp" + android:paddingTop="24dp"> + + <TextView + android:id="@+id/tvDialogTitle" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingBottom="20dp" + android:text="Title" + android:textColor="@android:color/black" + android:textSize="20sp" /> + + <WebView + android:id="@+id/wvDialogText" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + + <RelativeLayout + + android:id="@+id/RelativeLayout01" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingBottom="24dp" + android:paddingTop="4dp"> + + <TextView + android:id="@+id/tvDialogDate" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:text="Date" + android:textSize="15sp" /> + + <TextView + android:id="@+id/tvDialogAuthor" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentEnd="true" + android:layout_alignParentRight="true" + android:text="Author" + android:textSize="15sp" /> + + <Button + android:id="@+id/bDialogOK" + android:layout_width="wrap_content" + android:layout_height="36dp" + android:layout_alignParentEnd="true" + android:layout_alignParentRight="true" + android:layout_below="@id/tvDialogDate" + android:layout_margin="8dp" + android:background="@android:color/white" + android:text="OK" + android:textColor="@color/colorPrimary" /> + </RelativeLayout> + +</LinearLayout>
