-
Notifications
You must be signed in to change notification settings - Fork 0
Solves #22 #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
spacemonkey1101
wants to merge
7
commits into
Technical-Hackers:master
Choose a base branch
from
spacemonkey1101:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Solves #22 #27
Changes from 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
7b8ff90
day night switch
spacemonkey1101 109b7d4
added switch theme
spacemonkey1101 3f7a223
removed unnecessary resources
spacemonkey1101 490ba47
day night switch
spacemonkey1101 7f8c91c
BNV & FAB fixed
Bbiswabasu 1d39ff5
removed unnecessary resources
spacemonkey1101 2fe1631
Merge branch 'master' of https://github.com/spacemonkey1101/Health-Log
spacemonkey1101 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <resources> | ||
| <attr name="primaryTitleColor" format="color" /> | ||
| </resources> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <resources> | ||
|
|
||
| <!--<color name="colorPrimary">#4f3b78</color>--> | ||
| <color name="colorPrimary">#000</color> | ||
| <color name="colorPrimaryLight">#252525</color> | ||
| <color name="colorPrimaryDark">#3700B3</color> | ||
| <color name="colorBar">#515585</color> | ||
| <color name="colorAccent">#fff</color> | ||
| <color name="colorLight">#ececec</color> | ||
|
|
||
| <color name="ColorAccentSec">#FFBE00</color> | ||
|
|
||
| <!-- confirmed colors--> | ||
| <color name="confirmBox">#E2E2F4</color> | ||
| <color name="confirmLightText">#6B70C4</color> | ||
| <color name="confirmDarkText">#383AAE</color> | ||
|
|
||
| <!-- active colors--> | ||
| <color name="activeBox">#FFE5E6</color> | ||
| <color name="activeLightText">#FF7582</color> | ||
| <color name="activeDarkText">#FF0E3C</color> | ||
|
|
||
| <!-- recovered colors--> | ||
| <color name="recoveredBox">#E6F4E8</color> | ||
| <color name="recoveredLightText">#80C689</color> | ||
| <color name="recoveredDarkText">#2DA747</color> | ||
|
|
||
| <!-- deceased colors--> | ||
| <color name="deceasedBox">#F6F6F7</color> | ||
| <color name="deceasedLightText">#A7ACB1</color> | ||
| <color name="deceasedDarkText">#6E777E</color> | ||
|
|
||
| <!-- dark theme colors --> | ||
| <color name="colorPrimaryNight">#16202c</color> | ||
| <color name="colorPrimaryDarkNight">#141d26</color> | ||
| <color name="colorAccentNight">#ffffff</color> | ||
|
|
||
| <color name="primaryTitleColor">#212121</color> | ||
| <color name="primaryTitleColorNight">#ffffff</color> | ||
|
|
||
| </resources> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| <resources> | ||
| <!-- Default screen margins, per the Android Design guidelines. --> | ||
| <dimen name="activity_horizontal_margin">16dp</dimen> | ||
| <dimen name="activity_vertical_margin">16dp</dimen> | ||
|
|
||
| <dimen name="status_bg_corner_radius">10dp</dimen> | ||
| </resources> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| <resources> | ||
| <string name="app_name">Health Log</string> | ||
| <string name="title_doctor">Doctor</string> | ||
| <string name="title_dashboard">Dashboard</string> | ||
| <string name="title_hospital">Hospital Info</string> | ||
| <string name="hospital_id">Hospital ID</string> | ||
| <string name="login">Login</string> | ||
| <string name="enter_your_hospital_id">Enter Hospital ID</string> | ||
| <string name="doctor">Doctor</string> | ||
| <string name="hospital">Hospital</string> | ||
| <string name="search">Search</string> | ||
| <string name="enter_patient_id">Enter patient ID or patient name</string> | ||
| <string name="patient_id">Patient ID or Patient name</string> | ||
| <string name="add_log">Add Log</string> | ||
| <string name="write_current_log">Write current log</string> | ||
| <string name="save">Save</string> | ||
| <string name="ask_logout">Do you want to logout</string> | ||
| <string name="alert">Alert!</string> | ||
| <string name="yes">Yes</string> | ||
| <string name="no">No</string> | ||
| <string name="logout">Logout</string> | ||
| <string name="_678">678</string> | ||
| <string name="confirmed">Confirmed</string> | ||
| <string name="_56">56</string> | ||
| <string name="deceased">Deceased</string> | ||
| <string name="cured">Cured</string> | ||
| <string name="_556">556</string> | ||
| <string name="active">Active</string> | ||
| <string name="add_patient">Do you want to add this patient</string> | ||
| <string name="send">Send to other hospital</string> | ||
| <string name="doctor_id_or_doctor_name">Doctor ID or Doctor Name</string> | ||
| <string name="choose_language">Choose Language</string> | ||
|
|
||
|
|
||
| <string-array name="statusArray"> | ||
| <item>Active</item> | ||
| <item>Cured</item> | ||
| <item>Deceased</item> | ||
| <item>All</item> | ||
| </string-array> | ||
|
|
||
| <string name="date_not_selected">Date not selected properly</string> | ||
|
|
||
| </resources> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| <resources> | ||
|
|
||
| <!-- Base application theme. --> | ||
| <style name="AppTheme" parent="Theme.AppCompat.DayNight.DarkActionBar"> | ||
| <!-- Customize your theme here. --> | ||
| <item name="colorPrimary">@color/colorPrimaryNight</item> | ||
| <item name="colorPrimaryDark">@color/colorPrimaryDarkNight</item> | ||
| <item name="colorAccent">@color/colorAccentNight</item> | ||
| <item name="android:statusBarColor">@color/colorPrimary</item> | ||
|
|
||
| <item name="android:windowBackground">@color/colorPrimaryNight</item> | ||
| <item name="primaryTitleColor">@color/primaryTitleColorNight</item> | ||
| </style> | ||
|
|
||
| <style name="CustomDialogTheme" parent="ThemeOverlay.AppCompat.Dialog.Alert"> | ||
| <!--<item name="android:windowBackground">#191616</item>--> | ||
| <item name="android:background">#000</item> | ||
| <item name="android:colorPrimary">#000</item> | ||
| <item name="colorAccent">@color/ColorAccentSec</item> | ||
| <item name="android:textColorPrimary">@android:color/white</item> | ||
| <item name="android:textSize">16sp</item> | ||
| </style> | ||
|
|
||
| <!-- new patient layout editText theme. --> | ||
| <style name="NewPatientEditTextTheme" parent="Widget.AppCompat.EditText"> | ||
| <item name="android:paddingLeft">16dp</item> | ||
| <item name="android:paddingBottom">16dp</item> | ||
| <item name="android:layout_marginLeft">32dp</item> | ||
| <item name="android:layout_marginRight">32dp</item> | ||
| </style> | ||
|
|
||
| <!-- patient layout textView theme. --> | ||
| <style name="PatientLayoutTextViewTheme" parent="Widget.AppCompat.TextView"> | ||
| <item name="android:layout_marginLeft">16dp</item> | ||
| <item name="android:layout_marginBottom">16dp</item> | ||
| </style> | ||
|
|
||
|
|
||
| <!--hospital fragment top box text styles--> | ||
| <style name="hospitalFragmentTextHeadingStyle" parent="Widget.AppCompat.TextView"> | ||
| <item name="android:textSize">16sp</item> | ||
| <item name="android:layout_margin">8dp</item> | ||
| <item name="android:textStyle">bold</item> | ||
| <item name="android:minLines">1</item> | ||
| <item name="android:maxLines">1</item> | ||
| <item name="android:ellipsize">end</item> | ||
| </style> | ||
|
|
||
| <style name="hospitalFragmentTextValueStyle" parent="Widget.AppCompat.TextView"> | ||
| <item name="android:textSize">16sp</item> | ||
| <item name="android:layout_marginLeft">8dp</item> | ||
| <item name="android:textStyle">bold</item> | ||
| </style> | ||
|
|
||
| <!--Splash Screen Theme--> | ||
| <style name="splashScreenTheme" parent="Theme.MaterialComponents.NoActionBar"> | ||
| <item name="android:windowBackground">@drawable/splash_screen</item> | ||
| <item name="android:statusBarColor">@color/colorPrimary</item> | ||
| </style> | ||
|
|
||
| </resources> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <resources> | ||
| <attr name="primaryTitleColor" format="color" /> | ||
| </resources> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.