taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sagar15795 <...@git.apache.org>
Subject [GitHub] incubator-taverna-mobile pull request #78: Feat: User details in nav header ...
Date Sun, 03 Jun 2018 17:40:46 GMT
Github user sagar15795 commented on a diff in the pull request:

    https://github.com/apache/incubator-taverna-mobile/pull/78#discussion_r192597157
  
    --- Diff: app/src/main/res/layout/fragment_user_profile.xml ---
    @@ -0,0 +1,322 @@
    +<?xml version="1.0" encoding="utf-8"?>
    +<!--
    +   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.
    +-->
    +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    +    android:layout_width="match_parent"
    +    android:layout_height="match_parent"
    +    xmlns:app="http://schemas.android.com/apk/res-auto"
    +    android:orientation="vertical">
    +
    +    <android.support.v4.widget.NestedScrollView
    +        android:layout_width="match_parent"
    +        android:layout_height="match_parent">
    +
    +        <LinearLayout
    +            android:layout_width="match_parent"
    +            android:layout_height="wrap_content"
    +            android:orientation="vertical">
    +
    +            <RelativeLayout
    +                android:layout_width="match_parent"
    +                android:layout_height="@dimen/top_background_height"
    +                android:orientation="vertical"
    +                android:background="@color/colorPrimary"
    +                android:gravity="center_vertical">
    +
    +                <de.hdodenhof.circleimageview.CircleImageView
    +                    android:id="@+id/user_avatar"
    +                    android:layout_width="@dimen/user_image_height"
    +                    android:layout_height="@dimen/user_image_height"
    +                    android:layout_centerHorizontal="true"
    +                    android:layout_centerVertical="true"
    +                    android:layout_centerInParent="true"
    +                    android:layout_alignParentTop="true"
    +                    app:civ_border_color="@color/white"/>
    +
    +                <TextView
    +                    android:id="@+id/user_name"
    +                    android:layout_width="wrap_content"
    +                    android:layout_height="wrap_content"
    +                    android:text="@string/user_name"
    +                    android:textColor="@color/white"
    +                    android:textSize="@dimen/user_name_text_size"
    +                    android:layout_below="@+id/user_avatar"
    +                    android:layout_centerHorizontal="true"
    +                    android:layout_marginTop="@dimen/user_name_margin_top"/>
    +
    +                <TextView
    +                    android:id="@+id/user_description"
    +                    android:layout_width="match_parent"
    +                    android:layout_height="wrap_content"
    +                    android:textAlignment="center"
    +                    android:gravity="center"
    +                    android:layout_below="@id/user_name"
    +                    android:layout_marginTop="@dimen/user_description_margin_top"
    +                    android:textColor="@color/white"
    +                    android:text=""/>
    +
    +            </RelativeLayout>
    +
    +            <LinearLayout
    +                android:layout_width="match_parent"
    +                android:layout_height="match_parent"
    +                android:orientation="vertical">
    +
    +                <LinearLayout
    +                    android:id="@+id/email_layout"
    +                    android:layout_width="match_parent"
    +                    android:layout_height="wrap_content"
    +                    android:orientation="horizontal">
    +
    +                    <LinearLayout
    +                        android:layout_width="wrap_content"
    +                        android:layout_height="wrap_content"
    +                        android:layout_weight="1"
    +                        android:padding="@dimen/coloumn_linear_layout_padding"
    +                        android:orientation="horizontal">
    +
    +                        <ImageView
    +                            android:layout_width="wrap_content"
    +                            android:layout_height="wrap_content"
    +                            android:src="@drawable/ic_email_black_24dp"/>
    +
    +                        <TextView
    +                            android:layout_width="wrap_content"
    +                            android:layout_height="wrap_content"
    +                            android:text="@string/user_email"
    +                            android:textColor="@color/colorBlack"
    +                            android:textSize="@dimen/row_title_text_size"
    +                            android:layout_marginLeft="@dimen/row_title_margin_left"
    +                            android:layout_gravity="center"/>
    +
    +                    </LinearLayout>
    +
    +                    <TextView
    +                        android:id="@+id/user_email"
    +                        android:layout_width="wrap_content"
    +                        android:layout_height="wrap_content"
    +                        android:text=""
    +                        android:textSize="@dimen/row_entry_text_size"
    +                        android:layout_gravity="center_vertical"
    +                        android:paddingRight="@dimen/row_entry_padding_right"/>
    +
    +                </LinearLayout>
    +
    +                <LinearLayout
    +                    android:id="@+id/website_layout"
    +                    android:layout_width="match_parent"
    +                    android:layout_height="wrap_content"
    +                    android:orientation="horizontal">
    +
    +                    <LinearLayout
    +                        android:layout_width="wrap_content"
    +                        android:layout_height="wrap_content"
    +                        android:layout_weight="1"
    +                        android:padding="@dimen/coloumn_linear_layout_padding"
    +                        android:orientation="horizontal">
    +
    +                        <ImageView
    +                            android:layout_width="wrap_content"
    +                            android:layout_height="wrap_content"
    +                            android:src="@drawable/ic_language_black_24dp"/>
    +
    +                        <TextView
    +                            android:layout_width="wrap_content"
    +                            android:layout_height="wrap_content"
    +                            android:text="@string/user_website"
    +                            android:textColor="@color/colorBlack"
    +                            android:textSize="@dimen/row_title_text_size"
    +                            android:layout_marginLeft="@dimen/row_title_margin_left"
    +                            android:layout_gravity="center"/>
    +
    +                    </LinearLayout>
    +
    +                    <TextView
    +                        android:id="@+id/user_website"
    +                        android:layout_width="wrap_content"
    +                        android:layout_height="wrap_content"
    +                        android:text=""
    --- End diff --
    
    remove this.


---

Mime
View raw message