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

    
https://github.com/apache/incubator-taverna-mobile/pull/78#discussion_r192597204
  
    --- Diff: app/src/main/res/layout/nav_header.xml ---
    @@ -1,35 +1,67 @@
    +<?xml version="1.0" encoding="utf-8"?>
     <!--
    -Apache Taverna Mobile
    -Copyright 2015 The Apache Software Foundation
    -This product includes software developed at
    -The Apache Software Foundation (http://www.apache.org/).
    +   Licensed to the Apache Software Foundation (ASF) under one or more
    +   contributor license agreements.  See the NOTICE file distributed with
    +   this work for additional information regarding copyright ownership.
    +   The ASF licenses this file to You under the Apache License, Version 2.0
    +   (the "License"); you may not use this file except in compliance with
    +   the License.  You may obtain a copy of the License at
     
    -Licensed to the Apache Software Foundation (ASF) under one or more
    -contributor license agreements. See the NOTICE file distributed with
    -this work for additional information regarding copyright ownership.
    -The ASF licenses this file to You under the Apache License, Version 2.0
    -(the "License"); you may not use this file except in compliance with
    -the License. You may obtain a copy of the License at
    -http://www.apache.org/licenses/LICENSE-2.0
    -Unless required by applicable law or agreed to in writing, software
    -distributed under the License is distributed on an "AS IS" BASIS,
    -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    -See the License for the specific language governing permissions and
    -limitations under the License.
    +       http://www.apache.org/licenses/LICENSE-2.0
    +
    +   Unless required by applicable law or agreed to in writing, software
    +   distributed under the License is distributed on an "AS IS" BASIS,
    +   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +   See the License for the specific language governing permissions and
    +   limitations under the License.
     -->
    +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android";
    +   android:layout_width="match_parent"
    +   android:layout_height="178dp"
    +   xmlns:app="http://schemas.android.com/apk/res-auto";
    +   android:background="@drawable/nav_header"
    +   android:orientation="vertical"
    +   android:weightSum="1">
    +
     <LinearLayout
    -   xmlns:android="http://schemas.android.com/apk/res/android";
    -   xmlns:tools="http://schemas.android.com/tools";
        android:layout_width="match_parent"
    -   android:layout_height="match_parent"
    +   android:layout_height="wrap_content"
        android:orientation="vertical"
    -   android:background="#ccc">
    +   android:layout_alignParentBottom="true"
    +   android:layout_alignParentLeft="true"
    +   android:layout_alignParentStart="true"
    +   android:layout_marginBottom="@dimen/layout_marginBottom">
     
    -   <LinearLayout
    -           android:orientation="vertical"
    -           android:layout_width="match_parent"
    +   <TextView
    +           android:id="@+id/nav_user_name"
    +           android:layout_width="wrap_content"
                android:layout_height="wrap_content"
    -           android:background="@drawable/sliding_header">
    -   </LinearLayout>
    +           android:layout_marginLeft="@dimen/tv_layout_marginLeft"
    +           android:textColor="@color/white"
    +           android:text="@string/username"
    +           android:textSize="@dimen/tv_textSize"
    +           android:textStyle="bold"
    +           />
    --- End diff --
    
    move the close tag above
    



---

Reply via email to