Repository: incubator-taverna-mobile Updated Branches: refs/heads/master bfad0f030 -> f896b1d96
Fix: Improvements in UsageActivity UI for different screens 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/bca9ec72 Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/tree/bca9ec72 Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/diff/bca9ec72 Branch: refs/heads/master Commit: bca9ec7242f76ab2541656d7b10341dbda2f9a51 Parents: e7dff17 Author: Hitesh Gautam <[email protected]> Authored: Sat Apr 28 21:11:47 2018 +0530 Committer: Hitesh Gautam <[email protected]> Committed: Sat Apr 28 21:11:47 2018 +0530 ---------------------------------------------------------------------- app/src/main/res/drawable/download.jpg | Bin app/src/main/res/layout/activity_usage.xml | 31 ++++++++++++++++++------ 2 files changed, 23 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/bca9ec72/app/src/main/res/drawable/download.jpg ---------------------------------------------------------------------- diff --git a/app/src/main/res/drawable/download.jpg b/app/src/main/res/drawable/download.jpg old mode 100755 new mode 100644 http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/bca9ec72/app/src/main/res/layout/activity_usage.xml ---------------------------------------------------------------------- diff --git a/app/src/main/res/layout/activity_usage.xml b/app/src/main/res/layout/activity_usage.xml index dd06e5d..bab1a51 100644 --- a/app/src/main/res/layout/activity_usage.xml +++ b/app/src/main/res/layout/activity_usage.xml @@ -33,13 +33,16 @@ <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" - android:orientation="vertical" - android:padding="@dimen/usageLinearLayoutPadding"> + android:orientation="vertical"> <android.support.v7.widget.CardView android:layout_width="match_parent" - android:layout_height="match_parent" - android:paddingBottom="@dimen/usageCardViewPaddingBotton"> + android:layout_height="wrap_content" + android:paddingBottom="@dimen/usageCardViewPaddingBotton" + android:layout_marginRight="@dimen/usageCardViewPaddingBotton" + android:layout_marginLeft="@dimen/usageCardViewPaddingBotton" + android:layout_marginTop="@dimen/usageCardViewPaddingBotton" + > <TextView android:id="@+id/usage_login_title" @@ -73,7 +76,9 @@ <android.support.v7.widget.CardView android:layout_width="match_parent" - android:layout_height="match_parent" + android:layout_height="wrap_content" + android:layout_marginRight="@dimen/usageCardViewPaddingBotton" + android:layout_marginLeft="@dimen/usageCardViewPaddingBotton" android:paddingBottom="@dimen/usageCardViewPaddingBotton"> <TextView @@ -108,7 +113,9 @@ <android.support.v7.widget.CardView android:layout_width="match_parent" - android:layout_height="match_parent" + android:layout_height="wrap_content" + android:layout_marginRight="@dimen/usageCardViewPaddingBotton" + android:layout_marginLeft="@dimen/usageCardViewPaddingBotton" android:paddingBottom="@dimen/usageCardViewPaddingBotton"> <TextView @@ -143,8 +150,10 @@ <android.support.v7.widget.CardView android:layout_width="match_parent" - android:layout_height="match_parent" - android:paddingBottom="@dimen/usageCardViewPaddingBotton"> + android:layout_height="wrap_content" + android:paddingBottom="@dimen/usageCardViewPaddingBotton" + android:layout_marginRight="@dimen/usageCardViewPaddingBotton" + android:layout_marginLeft="@dimen/usageCardViewPaddingBotton"> <TextView android:id="@+id/workflow_title" @@ -171,7 +180,13 @@ android:textSize="@dimen/usageContentTextSize" /> </android.support.v7.widget.CardView> + + <Space + android:layout_width="match_parent" + android:layout_height="@dimen/usageCardSpaceHeight" /> + </LinearLayout> + </android.support.v4.widget.NestedScrollView> </LinearLayout>
