Skip to content

Commit

Permalink
Fixed layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
binayshaw7777 committed Sep 13, 2022
1 parent 1fe9907 commit 0cb7fb3
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 41 deletions.
17 changes: 0 additions & 17 deletions .idea/deploymentTargetDropDown.xml

This file was deleted.

10 changes: 6 additions & 4 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 14 additions & 11 deletions app/src/main/res/layout/activity_appointment_booking.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,14 @@

</LinearLayout>

<androidx.constraintlayout.widget.ConstraintLayout
<LinearLayout
android:layout_width="match_parent"
android:layout_height="682dp"
android:paddingTop="60dp"
android:layout_height="match_parent"
android:background="@drawable/white_bar"
android:layout_marginTop="140dp"
android:gravity="center_horizontal"
android:orientation="vertical"
android:paddingTop="60dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent">
Expand Down Expand Up @@ -90,13 +93,13 @@
app:layout_constraintStart_toStartOf="@+id/select_date"
app:layout_constraintTop_toBottomOf="@+id/select_date">

<AutoCompleteTextView
android:id="@+id/time_dropdown"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/dm_sans"
android:inputType="none"
android:textColor="@color/black" />
<AutoCompleteTextView
android:id="@+id/time_dropdown"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/dm_sans"
android:inputType="none"
android:textColor="@color/black" />

</com.google.android.material.textfield.TextInputLayout>

Expand Down Expand Up @@ -160,6 +163,6 @@
app:outer_color="@color/light_blue"
app:text=" Confirm your appointment"
app:text_color="@color/white" />
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_doctor_patient.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="595dp"
android:layout_height="match_parent"
android:layout_marginTop="140dp"
android:background="@drawable/white_bar"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
Expand Down
5 changes: 4 additions & 1 deletion app/src/main/res/layout/activity_edit_profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="50dp"
android:elevation="5dp"
android:background="@drawable/cardview_background"
android:backgroundTint="@color/white"
android:elevation="5dp"
app:cardCornerRadius="10dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
Expand Down Expand Up @@ -111,6 +111,7 @@
android:hint="Name"
android:inputType="text"
android:paddingLeft="20dp"
android:textColorHint="@android:color/darker_gray"
app:layout_constraintBottom_toTopOf="@+id/pass_box"
app:layout_constraintEnd_toEndOf="@+id/pass_box"
app:layout_constraintHorizontal_bias="0.0"
Expand All @@ -127,6 +128,7 @@
android:hint="Age"
android:inputType="numberDecimal"
android:paddingLeft="20dp"
android:textColorHint="@android:color/darker_gray"
app:layout_constraintBottom_toTopOf="@+id/pass_box"
app:layout_constraintEnd_toEndOf="@+id/pass_box"
app:layout_constraintHorizontal_bias="0.0"
Expand All @@ -143,6 +145,7 @@
android:hint="Phone number"
android:inputType="number"
android:paddingLeft="20dp"
android:textColorHint="@android:color/darker_gray"
app:layout_constraintBottom_toTopOf="@+id/pass_box"
app:layout_constraintEnd_toEndOf="@+id/pass_box"
app:layout_constraintHorizontal_bias="0.0"
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/activity_sign_up_first.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
android:id="@+id/linearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="76dp"
android:layout_marginTop="32dp"
android:gravity="center"
android:orientation="vertical"
app:layout_constraintEnd_toEndOf="parent"
Expand Down Expand Up @@ -48,7 +48,7 @@

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="659dp"
android:layout_height="600dp"
android:background="@drawable/curve_box_final"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_upimanager.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@

<LinearLayout
android:layout_width="match_parent"
android:layout_height="711dp"
android:layout_height="match_parent"
android:background="@drawable/white_bar"
android:orientation="vertical"
android:paddingTop="20dp"
android:layout_marginTop="140dp"
android:gravity="center_horizontal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/fragment_home.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="696dp"
android:layout_height="match_parent"
android:layout_marginTop="140dp"
android:background="@drawable/white_bar"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/fragment_patient_appointment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="595dp"
android:layout_height="match_parent"
android:layout_marginTop="140dp"
android:background="@drawable/white_bar"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/fragment_statistics.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="706dp"
android:layout_marginTop="20dp"
android:layout_height="match_parent"
android:layout_marginTop="140dp"
android:background="@drawable/white_bar"
android:paddingTop="30dp"
app:layout_constraintBottom_toBottomOf="parent"
Expand Down

0 comments on commit 0cb7fb3

Please sign in to comment.