Github user therajanmaurya commented on a diff in the pull request:

    
https://github.com/apache/incubator-taverna-mobile/pull/28#discussion_r81117095
  
    --- Diff: app/src/main/res/layout/fragment_detail_workflow.xml ---
    @@ -15,123 +15,147 @@
        See the License for the specific language governing permissions and
        limitations under the License.
     -->
    -<RelativeLayout
    -        xmlns:android="http://schemas.android.com/apk/res/android";
    -        xmlns:app="http://schemas.android.com/apk/res-auto";
    +<android.support.design.widget.CoordinatorLayout
    +    android:id="@+id/coords_wrapper"
    +    xmlns:android="http://schemas.android.com/apk/res/android";
    +    xmlns:app="http://schemas.android.com/apk/res-auto";
    +    android:layout_width="match_parent"
    +    android:layout_height="match_parent">
    +
    +    <RelativeLayout
             android:id="@+id/rootLayout"
    -        android:orientation="vertical"
             android:layout_width="match_parent"
    -        android:layout_height="match_parent">
    +        android:layout_height="match_parent"
    +        android:orientation="vertical">
     
    -    <ProgressBar
    +        <ProgressBar
                 android:id="@+id/progressBar"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
                 android:layout_centerInParent="true"/>
     
    -    <ScrollView
    +        <ScrollView
                 android:id="@+id/scrollView"
    -            android:orientation="vertical"
    -            android:visibility="gone"
                 android:layout_width="match_parent"
    -            android:layout_height="match_parent">
    -        <LinearLayout
    +            android:layout_height="match_parent"
    +            android:orientation="vertical"
    +            android:visibility="gone">
    +
    +            <LinearLayout
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content"
                     android:orientation="vertical">
     
    -            <ImageView
    +                <ImageView
                         android:id="@+id/ivWorkflowImage"
    -                    android:src="@mipmap/ic_launcher"
                         android:layout_width="match_parent"
    +                    android:layout_height="300dp"
                         android:scaleType="fitCenter"
    -                    android:layout_height="300dp"/>
    -            <View
    +                    android:src="@mipmap/ic_launcher"/>
    +
    +                <View
                         android:layout_width="match_parent"
                         android:layout_height="1dp"
                         android:background="@color/grey_background"/>
     
    -            <ImageView
    +                <ImageView
                         android:id="@+id/ivFav"
                         android:layout_width="40dp"
                         android:layout_height="40dp"
    -                    android:layout_marginTop="-20dp"
                         android:layout_gravity="right"
                         android:layout_marginRight="20dp"
    +                    android:layout_marginTop="-20dp"
                         android:background="@drawable/background_fav_button"
                         app:srcCompat="@drawable/ic_star_border_black_24dp"/>
     
    -            <TextView
    +                <TextView
                         android:id="@+id/tvTitle"
                         android:layout_width="match_parent"
                         android:layout_height="wrap_content"
    -                    android:text="title"
    -                    android:textSize="20sp"
                         android:padding="10dp"
    -                    android:textColor="@android:color/black"/>
    +                    android:text="title"
    +                    android:textColor="@android:color/black"
    +                    android:textSize="20sp"/>
     
    -            <LinearLayout
    -                    android:layout_marginTop="5dp"
    +                <LinearLayout
                         android:layout_width="match_parent"
                         android:layout_height="wrap_content"
    +                    android:layout_marginTop="5dp"
                         android:orientation="horizontal">
     
    -                <ImageView
    +                    <ImageView
                             android:id="@+id/ivUploader"
    -                        android:src="@mipmap/ic_launcher"
    -                        android:paddingLeft="10dp"
                             android:layout_width="50dp"
    -                        android:layout_height="50dp"/>
    +                        android:layout_height="50dp"
    +                        android:paddingLeft="10dp"
    +                        android:src="@mipmap/ic_launcher"/>
     
    -                <RelativeLayout
    +                    <RelativeLayout
                             android:layout_width="0dp"
                             android:layout_height="50dp"
                             android:layout_marginLeft="10dp"
                             android:layout_marginStart="10dp"
                             android:layout_weight="1">
     
    -                    <TextView
    +                        <TextView
                                 android:id="@+id/tvUploaderName"
                                 android:layout_width="wrap_content"
                                 android:layout_height="wrap_content"
                                 android:text="name"
    --- End diff --
    
    remove this hard-coded string



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to