Skip to content

Commit

Permalink
Ver Indo
Browse files Browse the repository at this point in the history
  • Loading branch information
ParkAe-ri committed Jul 31, 2022
1 parent ea5561b commit b5c5aef
Show file tree
Hide file tree
Showing 34 changed files with 1,439 additions and 1,346 deletions.
7 changes: 7 additions & 0 deletions app/src/main/java/com/example/smox/caretaker/PatientList.kt
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,11 @@ class PatientList : AppCompatActivity() {
}
})
}

fun back(view: View) {
super.onBackPressed();
overridePendingTransition(R.anim.slide_in_left, R.anim.slide_out_right);
val clickEffect = AnimationUtils.loadAnimation(this, R.anim.scale_up)
view.startAnimation(clickEffect)
}
}
Binary file modified app/src/main/res/drawable/im_caretaker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable/im_dosage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable/im_history.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/drawable/im_infromation.png
Binary file not shown.
Binary file modified app/src/main/res/drawable/im_patient.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable/im_schedule.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/src/main/res/drawable/rect_green.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<!-- Background -->
<item>
<shape>
<solid android:color="#D5EEBB" />
<solid android:color="@color/backgroud1" />
<corners android:radius="5dp" />
</shape>
</item>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/drawable/rect_green_10.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!-- Background -->
<item>
<shape>
<solid android:color="#D5EEBB" />
<solid android:color="@color/backgroud1" />
<corners android:radius="10dp" />
</shape>
</item>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/drawable/rect_white.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<shape>
<padding android:top="0.4dp" android:right="2dp" android:bottom="2dp" android:left="0.4dp" />
<stroke android:color="#50000000" android:width="2dp" />
<corners android:radius="5dp" />
<corners android:radius="15dp" />
</shape>
</item>

<!-- Background -->
<item>
<shape>
<solid android:color="#FFF" />
<corners android:radius="5dp" />
<corners android:radius="15dp" />
</shape>
</item>
</layer-list>
22 changes: 11 additions & 11 deletions app/src/main/res/layout/c_confirm_patient.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background4">
android:background="@color/background">

<RelativeLayout
android:layout_width="335dp"
Expand All @@ -18,7 +18,7 @@
android:layout_centerHorizontal="true"
android:alpha="0.9"
android:fontFamily="@font/opensans"
android:text="Confirm your patient"
android:text="Konfirmasi Pasien"
android:textColor="@color/brown"
android:textSize="20dp"
android:textStyle="bold">
Expand All @@ -32,7 +32,7 @@
android:alpha="0.9"
android:fontFamily="@font/opensans_italic"
android:gravity="center_horizontal"
android:text="make sure the data below belongs to your patient"
android:text="Pastikan data dibawah ini sudah benar data pasien anda"
android:textAlignment="center"
android:textColor="@color/brown"
android:textSize="18dp">
Expand All @@ -45,11 +45,11 @@
android:layout_marginTop="135dp">

<TextView
android:layout_width="70dp"
android:layout_width="120dp"
android:layout_height="wrap_content"
android:alpha="0.9"
android:fontFamily="@font/roboto"
android:text="Name"
android:text="Nama"
android:textColor="@color/brown"
android:textSize="18dp">
</TextView>
Expand Down Expand Up @@ -81,11 +81,11 @@
android:layout_marginTop="165dp">

<TextView
android:layout_width="70dp"
android:layout_width="120dp"
android:layout_height="wrap_content"
android:alpha="0.9"
android:fontFamily="@font/roboto"
android:text="Birthday"
android:text="Tanggal Lahir"
android:textColor="@color/brown"
android:textSize="18dp">
</TextView>
Expand Down Expand Up @@ -116,7 +116,7 @@
android:layout_marginTop="195dp">

<TextView
android:layout_width="70dp"
android:layout_width="120dp"
android:layout_height="wrap_content"
android:alpha="0.9"
android:fontFamily="@font/roboto"
Expand Down Expand Up @@ -151,11 +151,11 @@
android:layout_marginTop="225dp">

<TextView
android:layout_width="70dp"
android:layout_width="120dp"
android:layout_height="wrap_content"
android:alpha="0.9"
android:fontFamily="@font/roboto"
android:text="Call"
android:text="No. HP"
android:textColor="@color/brown"
android:textSize="18dp">
</TextView>
Expand Down Expand Up @@ -192,7 +192,7 @@
android:textSize="20dp"
android:text="Confirm"
android:fontFamily="@font/opensans"
android:textColor="@color/brown"
android:textColor="@color/white"
android:alpha="0.8"
android:layout_centerHorizontal="true"
android:layout_marginTop="5dp"/>
Expand Down
12 changes: 6 additions & 6 deletions app/src/main/res/layout/c_connect.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background4">
android:background="@color/background">

<RelativeLayout
android:layout_width="330dp"
Expand All @@ -18,7 +18,7 @@
android:layout_centerHorizontal="true"
android:alpha="0.9"
android:fontFamily="@font/opensans"
android:text="Connect with your patient"
android:text="Hubungkan pasien"
android:textColor="@color/brown"
android:textSize="20dp"
android:textStyle="bold">
Expand All @@ -31,7 +31,7 @@
android:layout_marginTop="55dp"
android:alpha="0.9"
android:fontFamily="@font/opensans_italic"
android:text="by entering the patient's username"
android:text="Pasien yang akan anda pantau"
android:textColor="@color/brown"
android:textAlignment="center"
android:textSize="18dp"
Expand Down Expand Up @@ -67,11 +67,11 @@
android:layout_height="match_parent"
android:background="@drawable/rect_stroke_bottom"
android:fontFamily="@font/opensans"
android:hint="Enter patient's username"
android:hint="Masukkan username pasien"
android:paddingLeft="5dp"
android:textColor="@color/brown"
android:textColorHint="@color/green_dark"
android:textSize="18dp"></EditText>
android:textSize="16dp"></EditText>
</RelativeLayout>
</LinearLayout>

Expand All @@ -88,7 +88,7 @@
android:textSize="20dp"
android:text="Connect"
android:fontFamily="@font/opensans"
android:textColor="@color/brown"
android:textColor="@color/white"
android:alpha="0.8"
android:layout_centerHorizontal="true"
android:layout_marginTop="5dp"/>
Expand Down
Loading

0 comments on commit b5c5aef

Please sign in to comment.