Skip to content

Commit

Permalink
fix display on add details view
Browse files Browse the repository at this point in the history
  • Loading branch information
haydencrain committed Oct 14, 2018
1 parent 358fea1 commit a695303
Showing 1 changed file with 23 additions and 17 deletions.
40 changes: 23 additions & 17 deletions app/src/main/res/layout/activity_add_details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@
android:theme="@style/ToolbarTheme"
app:titleTextColor="@color/whiteColor" />

<LinearLayout
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/Container"
android:orientation="vertical"
android:layout_marginTop="20dp"
android:layout_centerVertical="true">
android:layout_height="wrap_content">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/Container"
android:orientation="vertical"
android:layout_marginTop="20dp"
android:layout_centerVertical="true">



Expand Down Expand Up @@ -69,16 +73,16 @@
android:ems="10"
android:id="@+id/add_height"/>

<EditText
android:hint="Enter Medical Condition"
android:layout_below="@id/add_weight"
android:layout_marginTop="20dp"
android:textAlignment="center"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPersonName"
android:ems="10"
android:id="@+id/add_medical_condition"/>
<EditText
android:hint="Enter Medical Condition"
android:layout_below="@id/add_weight"
android:layout_marginTop="20dp"
android:textAlignment="center"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPersonName"
android:ems="10"
android:id="@+id/add_medical_condition"/>

<TextView
android:layout_width="wrap_content"
Expand All @@ -103,6 +107,8 @@
android:layout_height="wrap_content"
android:id="@+id/btnAddNewName"/>

</LinearLayout>
</LinearLayout>

</ScrollView>

</LinearLayout>

0 comments on commit a695303

Please sign in to comment.