Skip to content

Commit

Permalink
Trying to fix #27, needs testing
Browse files Browse the repository at this point in the history
  • Loading branch information
milovanderlinden committed Sep 5, 2016
1 parent c844902 commit 4d83450
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions app/src/main/res/layout/fragment_profile.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@android:color/white"
tools:context=".fragments.ProfileFragment">

<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">

<LinearLayout
android:orientation="vertical"
android:padding="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">

<android.support.design.widget.TextInputLayout
android:id="@+id/input_layout_name"
Expand All @@ -21,10 +26,10 @@
android:id="@+id/input_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:hint="@string/hint_name"
android:inputType="textPersonName"
android:maxLength="50"
android:hint="@string/hint_name" />
android:singleLine="true" />
</android.support.design.widget.TextInputLayout>

<android.support.design.widget.TextInputLayout
Expand All @@ -37,9 +42,9 @@
android:id="@+id/input_email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_email"
android:inputType="textEmailAddress"
android:maxLength="100"
android:hint="@string/hint_email" />
android:maxLength="100" />
</android.support.design.widget.TextInputLayout>

<android.support.design.widget.TextInputLayout
Expand All @@ -52,20 +57,21 @@
android:id="@+id/input_phone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_phone"
android:inputType="phone"
android:maxLength="20"
android:hint="@string/hint_phone" />
android:maxLength="20" />
</android.support.design.widget.TextInputLayout>

</LinearLayout>
</ScrollView>

<android.support.design.widget.FloatingActionButton
android:id="@+id/profile_submit"
app:backgroundTint="@color/colorPrimary"
android:layout_marginRight="10dp"
android:layout_marginBottom="10dp"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="end|bottom"
android:layout_marginBottom="10dp"
android:layout_marginRight="10dp"
android:src="@drawable/ic_done"
android:layout_gravity="end|bottom" />
app:backgroundTint="@color/colorPrimary" />
</android.support.design.widget.CoordinatorLayout>

0 comments on commit 4d83450

Please sign in to comment.