-
Notifications
You must be signed in to change notification settings - Fork 315
Patients List UI screen & button for old screen launch. #72
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
Changes from all commits
85d72da
7d2cc80
cc4c413
62983e7
ad30a45
14adbb4
d415c33
ec2710f
8842310
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,22 +16,37 @@ | |
--> | ||
|
||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.google.fhirengine.example"> | ||
<uses-permission android:name="android.permission.INTERNET"/> | ||
package="com.google.fhirengine.example"> | ||
|
||
<uses-permission android:name="android.permission.INTERNET" /> | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:icon="@mipmap/ic_launcher" | ||
android:label="@string/app_name" | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:supportsRtl="true" | ||
android:theme="@style/AppTheme"> | ||
<activity android:name=".MainActivity"> | ||
android:allowBackup="true" | ||
android:icon="@mipmap/ic_launcher" | ||
android:label="@string/app_name" | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:supportsRtl="true" | ||
android:theme="@style/AppTheme"> | ||
<activity | ||
android:name=".SamplePatientListActivity" | ||
android:label="@string/title_samplepatient_list" | ||
android:theme="@style/AppTheme.NoActionBar"> | ||
<intent-filter> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. doesn't this clash with the same intent filter for .MainActivity below? I would try to reduce duplication by removing the same intent filter in the other one. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed the action.MAIN and category.LAUNCHER from the erstwhile MainActivity (will be called CqlEvaluationActivity), for now. Please note that it's fine for multiple activities to be marked as MAIN/LAUNCHER, as it's supposed to create different icons by the Home Launcher App. For the demo purpose, we may subsequently add loading of CQL library and Fhir resources as a separate Main Activity. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you rename the main activity to cql evaluation? |
||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
<activity | ||
android:name=".SamplePatientDetailActivity" | ||
android:label="@string/title_samplepatient_detail" | ||
android:parentActivityName=".SamplePatientListActivity" | ||
android:theme="@style/AppTheme.NoActionBar"> | ||
<meta-data | ||
android:name="android.support.PARENT_ACTIVITY" | ||
android:value="com.google.fhirengine.example.SamplePatientListActivity" /> | ||
</activity> | ||
<activity android:name=".MainActivity"></activity> | ||
</application> | ||
|
||
</manifest> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that we decided we'll use real data, we shouldn't name these things as sample. Whether it is sample or not has nothing to do with this activity anyway, it's to do with the data layer. So let's remove the word sample from this activity class name, as well as the PatientDetailsActivity class name, and also the patient details xml file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All instances of word sample have already been removed in upcoming Details UI PR, which I'm waiting to send for review, as I soon as I merge this one to the master.
That also will take care of renaming the
MainActivity
toCqlEvaluationActivity
.