Unverified Commit fc2932b1 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito Committed by GitHub

Merge pull request #1088 from divyanshub024/profile-scroll-view

[New] Added scroll view to profile
parents 97045a68 a9d5640b
...@@ -8,53 +8,61 @@ ...@@ -8,53 +8,61 @@
android:focusableInTouchMode="true" android:focusableInTouchMode="true"
tools:context=".profile.ui.ProfileFragment"> tools:context=".profile.ui.ProfileFragment">
<LinearLayout <ScrollView
android:id="@+id/profile_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content">
android:gravity="center"
android:orientation="vertical"
android:visibility="gone">
<include <LinearLayout
android:id="@+id/layout_avatar_profile" android:id="@+id/profile_container"
layout="@layout/avatar_profile" android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="32dp" /> android:gravity="center"
android:orientation="vertical"
android:visibility="gone"
tools:visibility="visible">
<include
android:id="@+id/layout_avatar_profile"
layout="@layout/avatar_profile"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="32dp" />
<EditText
android:id="@+id/text_name"
style="@style/Profile.EditText"
android:layout_marginTop="32dp"
android:drawableStart="@drawable/ic_person_black_24dp"
android:hint="@string/msg_name"
android:inputType="textCapWords" />
<EditText <EditText
android:id="@+id/text_name" android:id="@+id/text_username"
style="@style/Profile.EditText" style="@style/Profile.EditText"
android:layout_marginTop="32dp" android:layout_marginTop="16dp"
android:drawableStart="@drawable/ic_person_black_24dp" android:drawableStart="@drawable/ic_at_black_24dp"
android:hint="@string/msg_name" android:hint="@string/msg_username"
android:inputType="textCapWords" /> android:inputType="text" />
<EditText <EditText
android:id="@+id/text_username" android:id="@+id/text_email"
style="@style/Profile.EditText" style="@style/Profile.EditText"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:drawableStart="@drawable/ic_at_black_24dp" android:drawableStart="@drawable/ic_email_black_24dp"
android:hint="@string/msg_username" android:hint="@string/msg_email"
android:inputType="text" /> android:inputType="textEmailAddress" />
<EditText <EditText
android:id="@+id/text_email" android:id="@+id/text_avatar_url"
style="@style/Profile.EditText" style="@style/Profile.EditText"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:drawableStart="@drawable/ic_email_black_24dp" android:drawableStart="@drawable/ic_link_black_24dp"
android:hint="@string/msg_email" android:hint="@string/msg_avatar_url"
android:inputType="textEmailAddress" /> android:inputType="text"
android:layout_marginBottom="16dp"/>
</LinearLayout>
<EditText </ScrollView>
android:id="@+id/text_avatar_url"
style="@style/Profile.EditText"
android:layout_marginTop="16dp"
android:drawableStart="@drawable/ic_link_black_24dp"
android:hint="@string/msg_avatar_url"
android:inputType="text" />
</LinearLayout>
<com.wang.avi.AVLoadingIndicatorView <com.wang.avi.AVLoadingIndicatorView
android:id="@+id/view_loading" android:id="@+id/view_loading"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment