Updated Project
BIN
app/src/main/res/drawable-hdpi/icon.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
app/src/main/res/drawable-mdpi/icon.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
app/src/main/res/drawable-xhdpi/icon.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
app/src/main/res/drawable-xxhdpi/icon.png
Normal file
|
After Width: | Height: | Size: 8.4 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/icon.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
12
app/src/main/res/drawable/bg1.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
|
||||
<solid
|
||||
android:color="@android:color/holo_green_dark"/>
|
||||
|
||||
<size
|
||||
android:width="120dp"
|
||||
android:height="120dp"/>
|
||||
</shape>
|
||||
12
app/src/main/res/drawable/bg_circle.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
|
||||
<solid
|
||||
android:color="@android:color/holo_red_dark"/>
|
||||
|
||||
<size
|
||||
android:width="120dp"
|
||||
android:height="120dp"/>
|
||||
</shape>
|
||||
5
app/src/main/res/drawable/bg_list_row.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@color/row_activated" android:state_activated="true" />
|
||||
<item android:drawable="@android:color/transparent" />
|
||||
</selector>
|
||||
12
app/src/main/res/drawable/green_circle.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
|
||||
<solid
|
||||
android:color="@android:color/holo_green_dark"/>
|
||||
|
||||
<size
|
||||
android:width="120dp"
|
||||
android:height="120dp"/>
|
||||
</shape>
|
||||
5
app/src/main/res/drawable/ic_baseline_add_24.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<vector android:height="24dp" android:tint="#FFFFFF"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#fff" android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,5 @@
|
||||
<vector android:height="24dp" android:tint="#FFFFFF"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#fff" android:pathData="M20,12l-1.41,-1.41L13,16.17V4h-2v12.17l-5.58,-5.59L4,12l8,8 8,-8z"/>
|
||||
</vector>
|
||||
5
app/src/main/res/drawable/ic_baseline_search_24.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<vector android:height="24dp" android:tint="#FFFFFF"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#fff" android:pathData="M15.5,14h-0.79l-0.28,-0.27C15.41,12.59 16,11.11 16,9.5 16,5.91 13.09,3 9.5,3S3,5.91 3,9.5 5.91,16 9.5,16c1.61,0 3.09,-0.59 4.23,-1.57l0.27,0.28v0.79l5,4.99L20.49,19l-4.99,-5zM9.5,14C7.01,14 5,11.99 5,9.5S7.01,5 9.5,5 14,7.01 14,9.5 11.99,14 9.5,14z"/>
|
||||
</vector>
|
||||
5
app/src/main/res/drawable/ic_baseline_share_24.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<vector android:height="24dp" android:tint="#FFFFFF"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#fff" android:pathData="M18,16.08c-0.76,0 -1.44,0.3 -1.96,0.77L8.91,12.7c0.05,-0.23 0.09,-0.46 0.09,-0.7s-0.04,-0.47 -0.09,-0.7l7.05,-4.11c0.54,0.5 1.25,0.81 2.04,0.81 1.66,0 3,-1.34 3,-3s-1.34,-3 -3,-3 -3,1.34 -3,3c0,0.24 0.04,0.47 0.09,0.7L8.04,9.81C7.5,9.31 6.79,9 6,9c-1.66,0 -3,1.34 -3,3s1.34,3 3,3c0.79,0 1.5,-0.31 2.04,-0.81l7.12,4.16c-0.05,0.21 -0.08,0.43 -0.08,0.65 0,1.61 1.31,2.92 2.92,2.92 1.61,0 2.92,-1.31 2.92,-2.92s-1.31,-2.92 -2.92,-2.92z"/>
|
||||
</vector>
|
||||
@@ -44,6 +44,33 @@
|
||||
android:textStyle="bold">
|
||||
|
||||
</TextView>
|
||||
<View
|
||||
android:layout_margin="20dp"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="2dp"
|
||||
android:background="#EEE" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:padding="20dp"
|
||||
android:textStyle="bold"
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:lineSpacingExtra="2sp"
|
||||
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:fontFamily="@font/fontstyle"
|
||||
android:text="The ARREST-TB project aims to develop a suite of technologies to rapidly, accurately and economically detect, report and monitor TB and MDR TB, and monitor response to anti-TB treatments."
|
||||
android:gravity="left" />
|
||||
<View
|
||||
android:layout_margin="20dp"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="2dp"
|
||||
android:background="#EEE" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:padding="20dp"
|
||||
android:textStyle="bold"
|
||||
@@ -56,10 +83,11 @@
|
||||
|
||||
android:fontFamily="@font/fontstyle"
|
||||
android:text="At Shanmukha Innovations
|
||||
we are striving to develop affordable point-of-care diagnostic solutions. We undertake custom instrumentation development to support bespoke needs of our Research and Industrial customers.The ARREST-TB project aims to develop a suite of technologies to rapidly, accurately and economically detect, report and monitor TB and MDR TB, and monitor response to anti-TB treatments."
|
||||
we are striving to develop affordable point-of-care diagnostic solutions. We undertake custom instrumentation development to support bespoke needs of our Research and Industrial customers."
|
||||
android:gravity="left" />
|
||||
|
||||
|
||||
|
||||
<View
|
||||
android:layout_margin="20dp"
|
||||
android:layout_width="fill_parent"
|
||||
@@ -72,7 +100,6 @@ we are striving to develop affordable point-of-care diagnostic solutions. We und
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:textStyle="bold"
|
||||
|
||||
android:fontFamily="@font/fontstyle"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Tel: +91 9742255674"
|
||||
@@ -88,6 +115,8 @@ we are striving to develop affordable point-of-care diagnostic solutions. We und
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginBottom="30dp"
|
||||
|
||||
android:fontFamily="@font/fontstyle"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Email : info@sminnovations.in"
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
|
||||
android:text=" Test Result: Positive"
|
||||
android:text=" Test Result:"
|
||||
android:textSize="@dimen/heading_size" />
|
||||
|
||||
<Button
|
||||
@@ -50,10 +50,32 @@
|
||||
android:layout_marginStart="100dp"
|
||||
|
||||
|
||||
android:layout_marginEnd="100dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:text="Get Report "
|
||||
android:layout_marginBottom="20dp"
|
||||
|
||||
|
||||
android:textAllCaps="false"
|
||||
|
||||
android:textSize="20sp" />
|
||||
<Button
|
||||
android:id="@+id/report2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginTop="10dp"
|
||||
android:visibility="gone"
|
||||
|
||||
|
||||
android:background="@drawable/buttonshape"
|
||||
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="100dp"
|
||||
|
||||
|
||||
android:layout_marginEnd="100dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:text="Get Report"
|
||||
android:layout_marginBottom="60dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
|
||||
|
||||
android:textAllCaps="false"
|
||||
@@ -61,6 +83,7 @@
|
||||
android:textSize="20sp" />
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
186
app/src/main/res/layout/activity_create__password.xml
Normal file
@@ -0,0 +1,186 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/layout"
|
||||
android:layout_width="match_parent"
|
||||
android:background="#fff"
|
||||
|
||||
|
||||
android:layout_height="match_parent"
|
||||
|
||||
>
|
||||
<ScrollView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_marginTop="@android:dimen/app_icon_size"
|
||||
android:background="#fff"
|
||||
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="180dp"
|
||||
android:gravity="center"
|
||||
|
||||
android:orientation="vertical">
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:gravity="center"
|
||||
android:textSize="28sp"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
android:textStyle="bold"
|
||||
|
||||
android:textAlignment="center"
|
||||
android:textColor="#131313"
|
||||
|
||||
android:text="Create Password "
|
||||
>
|
||||
|
||||
</TextView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="-23dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:orientation="vertical">
|
||||
//second linear
|
||||
//third linear
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:background="#fff"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password"
|
||||
android:background="@drawable/text_back"
|
||||
android:padding="12dp"
|
||||
|
||||
|
||||
android:layout_width="match_parent"
|
||||
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:hint="Password *"
|
||||
android:inputType="textPassword"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:singleLine="true" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/confirmpassword"
|
||||
android:padding="12dp"
|
||||
android:inputType="textPassword"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/text_back"
|
||||
|
||||
android:hint="Confirm Password *"
|
||||
android:maxLines="1"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:singleLine="true" />
|
||||
|
||||
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/Email"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:hint="Email"
|
||||
|
||||
android:maxLines="1"
|
||||
android:paddingStart="5dp"
|
||||
|
||||
android:paddingLeft="5dp"
|
||||
android:singleLine="true"
|
||||
android:visibility="gone" />
|
||||
|
||||
|
||||
|
||||
|
||||
<Button
|
||||
android:id="@+id/next"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginTop="50dp"
|
||||
|
||||
|
||||
android:background="@drawable/buttonshape"
|
||||
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="100dp"
|
||||
android:layout_marginBottom="200dp"
|
||||
|
||||
|
||||
android:layout_marginEnd="100dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:text="Next"
|
||||
|
||||
|
||||
android:textAllCaps="false"
|
||||
|
||||
android:textSize="20sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
206
app/src/main/res/layout/activity_forget__password.xml
Normal file
@@ -0,0 +1,206 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/layout"
|
||||
android:layout_width="match_parent"
|
||||
android:background="#fff"
|
||||
|
||||
|
||||
android:layout_height="match_parent"
|
||||
|
||||
>
|
||||
<ScrollView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_marginTop="@android:dimen/app_icon_size"
|
||||
android:background="#fff"
|
||||
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="180dp"
|
||||
android:gravity="center"
|
||||
|
||||
android:orientation="vertical">
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:gravity="center"
|
||||
android:textSize="28sp"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
android:textStyle="bold"
|
||||
|
||||
android:textAlignment="center"
|
||||
|
||||
android:text="Reset Password "
|
||||
android:textColor="#131313"
|
||||
>
|
||||
|
||||
</TextView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="-23dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:orientation="vertical">
|
||||
//second linear
|
||||
//third linear
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:background="#fff"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<com.hbb20.CountryCodePicker
|
||||
android:id="@+id/ccp"
|
||||
app:ccp_showFlag="false"
|
||||
android:layout_marginStart="20sp"
|
||||
android:layout_marginTop="18dp"
|
||||
android:background="@drawable/text_back"
|
||||
app:ccpDialog_showFlag="false"
|
||||
android:padding="3.5dp" android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/editTextMobile"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:textColorHint="@android:color/darker_gray"
|
||||
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="20sp"
|
||||
android:layout_marginTop="18dp"
|
||||
|
||||
android:background="@drawable/text_back"
|
||||
android:layout_marginEnd="20sp"
|
||||
android:ems="10"
|
||||
android:hint=" Contact Number :"
|
||||
android:padding="12dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
|
||||
<EditText
|
||||
android:id="@id/editTextMobile"
|
||||
|
||||
android:padding="12dp"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/text_back"
|
||||
|
||||
android:hint="Contact Number "
|
||||
android:maxLines="1"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:singleLine="true" />
|
||||
|
||||
-->
|
||||
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/Email"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:hint="Email"
|
||||
|
||||
android:maxLines="1"
|
||||
android:paddingStart="5dp"
|
||||
|
||||
android:paddingLeft="5dp"
|
||||
android:singleLine="true"
|
||||
android:visibility="gone" />
|
||||
|
||||
|
||||
|
||||
|
||||
<Button
|
||||
android:id="@+id/buttonSignIn"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginTop="50dp"
|
||||
|
||||
|
||||
android:background="@drawable/buttonshape"
|
||||
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="100dp"
|
||||
android:layout_marginBottom="200dp"
|
||||
|
||||
|
||||
android:layout_marginEnd="100dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:text="Next"
|
||||
|
||||
|
||||
android:textAllCaps="false"
|
||||
|
||||
android:textSize="20sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.ShanMukhaInnovations.ArrestTB.FontAwesome
|
||||
<in.sminnovations.arrest_tb.FontAwesome
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
@@ -81,7 +81,7 @@
|
||||
android:textStyle="normal"
|
||||
android:fontFamily="sans-serif"
|
||||
|
||||
></com.ShanMukhaInnovations.ArrestTB.FontAwesome>
|
||||
></in.sminnovations.arrest_tb.FontAwesome>
|
||||
|
||||
|
||||
<TextView
|
||||
@@ -119,7 +119,7 @@ android:fontFamily="@font/fontstyle"
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.ShanMukhaInnovations.ArrestTB.FontAwesome
|
||||
<in.sminnovations.arrest_tb.FontAwesome
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
@@ -130,7 +130,7 @@ android:fontFamily="@font/fontstyle"
|
||||
android:id="@+id/patient_details"
|
||||
|
||||
|
||||
></com.ShanMukhaInnovations.ArrestTB.FontAwesome>
|
||||
></in.sminnovations.arrest_tb.FontAwesome>
|
||||
<TextView
|
||||
android:textSize="14sp"
|
||||
|
||||
@@ -173,7 +173,7 @@ android:fontFamily="@font/fontstyle"
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.ShanMukhaInnovations.ArrestTB.FontAwesome
|
||||
<in.sminnovations.arrest_tb.FontAwesome
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
@@ -184,7 +184,7 @@ android:fontFamily="@font/fontstyle"
|
||||
android:textSize="40dp"
|
||||
|
||||
|
||||
></com.ShanMukhaInnovations.ArrestTB.FontAwesome>
|
||||
></in.sminnovations.arrest_tb.FontAwesome>
|
||||
<TextView
|
||||
android:textSize="14sp"
|
||||
|
||||
@@ -219,7 +219,7 @@ android:fontFamily="@font/fontstyle"
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.ShanMukhaInnovations.ArrestTB.FontAwesome
|
||||
<in.sminnovations.arrest_tb.FontAwesome
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
@@ -230,7 +230,7 @@ android:fontFamily="@font/fontstyle"
|
||||
android:text=""
|
||||
|
||||
|
||||
></com.ShanMukhaInnovations.ArrestTB.FontAwesome>
|
||||
></in.sminnovations.arrest_tb.FontAwesome>
|
||||
|
||||
<TextView
|
||||
android:textSize="14sp"
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
android:layout_height="@android:dimen/app_icon_size"
|
||||
android:contentDescription="TODO"
|
||||
android:layout_marginTop="15dp"
|
||||
android:textSize="@dimen/heading_size"
|
||||
android:textSize="28sp"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
android:textStyle="bold"
|
||||
|
||||
@@ -58,11 +58,13 @@
|
||||
android:paddingLeft="10dp"
|
||||
android:layout_marginTop="15dp"
|
||||
android:id="@+id/sign_in_text"
|
||||
android:textSize="@dimen/heading_size"
|
||||
android:textSize="28sp"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
<EditText
|
||||
android:id="@+id/username"
|
||||
|
||||
android:id="@+id/contactnumber"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginTop="40dp"
|
||||
android:background="@drawable/text_back"
|
||||
@@ -70,7 +72,7 @@
|
||||
android:layout_marginStart="20sp"
|
||||
android:layout_marginEnd="20sp"
|
||||
android:ems="10"
|
||||
android:hint="User Name :"
|
||||
android:hint="Contact Number :"
|
||||
android:inputType="textEmailAddress"
|
||||
android:padding="12dp"
|
||||
/>
|
||||
@@ -103,7 +105,7 @@
|
||||
android:padding="20dp"
|
||||
android:textColor="#131313"
|
||||
android:textColorHint="#ffffff"
|
||||
android:text="Show password"
|
||||
android:text="Show Password"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -120,7 +122,7 @@
|
||||
android:layout_marginStart="10dp"
|
||||
android:padding="10dp"
|
||||
android:text="Forgot Password?"
|
||||
android:textColor="#4285f4"
|
||||
android:textColor="@android:color/holo_blue_dark"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginLeft="10dp" />
|
||||
|
||||
@@ -132,7 +134,7 @@
|
||||
|
||||
android:layout_marginHorizontal="25dp"
|
||||
|
||||
android:background="#4285f4" />
|
||||
android:background="@android:color/holo_blue_dark" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/createaccount"
|
||||
@@ -140,11 +142,11 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:textColor="@android:color/holo_blue_dark"
|
||||
|
||||
android:layout_marginTop="1dp"
|
||||
android:padding="10dp"
|
||||
android:text="Register here"
|
||||
android:textColor="#4285f4"
|
||||
|
||||
android:textStyle="bold" />
|
||||
|
||||
|
||||
58
app/src/main/res/layout/activity_main.xml
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
>
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorPrimary"
|
||||
/>
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<TextView
|
||||
android:id="@+id/info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:textSize="@dimen/heading_size"
|
||||
android:layout_gravity="center"
|
||||
android:text="Tap on Plus Button to take a new test."
|
||||
/>
|
||||
|
||||
<include layout="@layout/content_main" />
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/fab"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_marginBottom="120dp"
|
||||
android:layout_marginRight="30dp"
|
||||
|
||||
android:backgroundTint="@android:color/holo_blue_dark"
|
||||
|
||||
app:srcCompat="@drawable/ic_baseline_add_24"
|
||||
tools:ignore="VectorDrawableCompat" />
|
||||
<!-- <com.google.android.material.bottomnavigation.BottomNavigationView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:id="@+id/bottom_Navigation"
|
||||
app:menu="@menu/bottom"
|
||||
android:layout_marginBottom="40dp"
|
||||
></com.google.android.material.bottomnavigation.BottomNavigationView>
|
||||
|
||||
-->
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
@@ -30,6 +30,7 @@
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
||||
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" >
|
||||
|
||||
|
||||
</androidx.appcompat.widget.Toolbar>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -101,12 +101,13 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="1"
|
||||
|
||||
android:layout_marginLeft="10dp"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:id="@+id/gender"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:textSize="@dimen/default_text_size"
|
||||
|
||||
|
||||
android:text="Patient Gender *"
|
||||
@@ -175,7 +176,7 @@
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
android:hint="Nikshay ID *"
|
||||
android:hint="National ID [Eg: Nikshay ID] *"
|
||||
android:inputType="number"
|
||||
|
||||
android:maxLines="1"
|
||||
|
||||
202
app/src/main/res/layout/activity_register.xml
Normal file
@@ -0,0 +1,202 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_height="match_parent"
|
||||
>
|
||||
<ScrollView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentLeft="true">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:orientation="vertical">
|
||||
<ImageView
|
||||
android:id="@+id/imageView"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="70dp"
|
||||
android:contentDescription="TODO"
|
||||
android:layout_marginTop="15dp"
|
||||
android:src="@drawable/logo_app"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/titleapp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@android:dimen/app_icon_size"
|
||||
android:contentDescription="TODO"
|
||||
android:layout_marginTop="15dp"
|
||||
android:textSize="28sp"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
android:textStyle="bold"
|
||||
|
||||
android:textAlignment="center"
|
||||
android:textColor="#131313"
|
||||
android:text="Spin Tube App"
|
||||
android:gravity="center_horizontal" />
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Register"
|
||||
android:textColor="#131313"
|
||||
|
||||
android:fontFamily="@font/fontstyle"
|
||||
android:paddingLeft="10dp"
|
||||
android:layout_marginTop="15dp"
|
||||
android:id="@+id/sign_in_text"
|
||||
android:textSize="28sp"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
<EditText
|
||||
android:id="@+id/editTextName"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginTop="40dp"
|
||||
android:background="@drawable/text_back"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="20sp"
|
||||
android:layout_marginEnd="20sp"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
|
||||
android:ems="10"
|
||||
android:hint="User Name :"
|
||||
android:padding="12dp"
|
||||
/>
|
||||
|
||||
<!-- <EditText
|
||||
android:id="@+id/editTextMobile"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:textColorHint="@android:color/darker_gray"
|
||||
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="20sp"
|
||||
android:layout_marginTop="18dp"
|
||||
|
||||
android:background="@drawable/text_back"
|
||||
android:layout_marginEnd="20sp"
|
||||
android:ems="10"
|
||||
android:hint="Contact Number :"
|
||||
android:padding="12dp"/>
|
||||
|
||||
-->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<com.hbb20.CountryCodePicker
|
||||
android:id="@+id/ccp"
|
||||
app:ccp_showFlag="false"
|
||||
android:layout_marginStart="20sp"
|
||||
android:layout_marginTop="18dp"
|
||||
android:background="@drawable/text_back"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
|
||||
app:ccpDialog_showFlag="false"
|
||||
android:padding="3.5dp" android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/editTextMobile"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:textColorHint="@android:color/darker_gray"
|
||||
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="20sp"
|
||||
android:layout_marginTop="18dp"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
|
||||
android:background="@drawable/text_back"
|
||||
android:layout_marginEnd="20sp"
|
||||
android:ems="10"
|
||||
android:hint="Contact Number :"
|
||||
android:padding="12dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_marginTop="40dp"
|
||||
|
||||
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/login_account"
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:textSize="16sp"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
|
||||
android:text="Do you have a Account ?"
|
||||
android:textColor="@android:color/holo_blue_dark"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
|
||||
|
||||
|
||||
|
||||
/>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
<Button
|
||||
android:layout_marginTop="50dp"
|
||||
android:id="@+id/buttonContinue"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAllCaps="false"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
android:text="Sign UP"
|
||||
android:layout_marginBottom="30dp"
|
||||
android:layout_marginStart="40dp"
|
||||
android:layout_marginEnd="40dp"
|
||||
|
||||
android:background="@android:color/holo_blue_dark"
|
||||
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="20sp"
|
||||
/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -388,7 +388,7 @@
|
||||
android:layout_column="1"
|
||||
android:layout_weight="5"
|
||||
android:lines="2"
|
||||
android:text="Nikshay ID :"
|
||||
android:text="National ID :"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
/>
|
||||
|
||||
@@ -428,7 +428,7 @@
|
||||
android:layout_column="1"
|
||||
android:layout_weight="5"
|
||||
android:lines="2"
|
||||
android:text="NIRT Lab Number :"
|
||||
android:text="Lab Number :"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
/>
|
||||
|
||||
|
||||
567
app/src/main/res/layout/activity_spin__test.xml
Normal file
@@ -0,0 +1,567 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
|
||||
<LinearLayout
|
||||
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:gravity="center"
|
||||
|
||||
android:orientation="vertical">
|
||||
|
||||
<!-- <TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:gravity="center"
|
||||
android:text="Test Report"
|
||||
android:textColor="#131313"
|
||||
android:textSize="@dimen/heading_size"
|
||||
android:textStyle="bold">
|
||||
|
||||
</TextView>
|
||||
-->
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true">
|
||||
|
||||
|
||||
<TableLayout
|
||||
|
||||
android:layout_width="fill_parent"
|
||||
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
|
||||
|
||||
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:id="@+id/circle_image"
|
||||
android:layout_width="300dp"
|
||||
|
||||
android:layout_height="300dp"
|
||||
app:civ_border_width="3dp"
|
||||
|
||||
android:src="@android:drawable/ic_menu_gallery"
|
||||
/>
|
||||
|
||||
|
||||
<TableLayout
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TableRow
|
||||
android:padding="15dp"
|
||||
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="10"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:text="Date : "
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:lines="2"
|
||||
|
||||
android:layout_weight="5"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="1" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:id="@+id/dater"
|
||||
android:layout_weight="5"
|
||||
android:layout_height="wrap_content" />
|
||||
</TableRow>
|
||||
<View
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_width="fill_parent"
|
||||
|
||||
android:layout_height="2dp"
|
||||
android:background="#eee" />
|
||||
|
||||
</TableLayout>
|
||||
<TableLayout
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TableRow
|
||||
android:padding="15dp"
|
||||
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="10"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:text="Time : "
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:lines="2"
|
||||
|
||||
android:layout_weight="5"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="1" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:id="@+id/timer"
|
||||
android:layout_weight="5"
|
||||
android:layout_height="wrap_content" />
|
||||
</TableRow>
|
||||
<View
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_width="fill_parent"
|
||||
|
||||
android:layout_height="2dp"
|
||||
android:background="#eee" />
|
||||
|
||||
</TableLayout>
|
||||
<TableLayout
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TableRow
|
||||
android:padding="15dp"
|
||||
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="10"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:text="Patient ID : "
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:lines="2"
|
||||
|
||||
android:layout_weight="5"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="1" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:id="@+id/patient_idr"
|
||||
android:layout_weight="5"
|
||||
android:layout_height="wrap_content" />
|
||||
</TableRow>
|
||||
<View
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_width="fill_parent"
|
||||
|
||||
android:layout_height="2dp"
|
||||
android:background="#eee" />
|
||||
|
||||
</TableLayout>
|
||||
|
||||
|
||||
<TableLayout
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TableRow
|
||||
android:padding="15dp"
|
||||
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="10"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="1"
|
||||
android:layout_weight="5"
|
||||
android:lines="2"
|
||||
android:text="Patient Gender :"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:id="@+id/patient_genderr"
|
||||
|
||||
android:layout_weight="5"
|
||||
android:layout_height="wrap_content" />
|
||||
</TableRow>
|
||||
<View
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_width="fill_parent"
|
||||
|
||||
android:layout_height="2dp"
|
||||
android:background="#eee" />
|
||||
|
||||
</TableLayout>
|
||||
<TableLayout
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TableRow
|
||||
android:padding="15dp"
|
||||
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="10"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="1"
|
||||
android:layout_weight="5"
|
||||
android:lines="2"
|
||||
android:text="Date of Birth :"
|
||||
android:textSize="@dimen/small_text_size" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:id="@+id/patien_dobr"
|
||||
|
||||
android:layout_weight="5"
|
||||
android:layout_height="wrap_content" />
|
||||
</TableRow>
|
||||
<View
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_width="fill_parent"
|
||||
|
||||
android:layout_height="2dp"
|
||||
android:background="#eee" />
|
||||
|
||||
</TableLayout>
|
||||
<TableLayout
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TableRow
|
||||
android:padding="15dp"
|
||||
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="10"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="1"
|
||||
android:layout_weight="5"
|
||||
android:lines="2"
|
||||
android:text="Age :"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:id="@+id/patient_ager"
|
||||
|
||||
android:layout_weight="5"
|
||||
android:layout_height="wrap_content" />
|
||||
</TableRow>
|
||||
<View
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_width="fill_parent"
|
||||
|
||||
android:layout_height="2dp"
|
||||
android:background="#eee" />
|
||||
|
||||
</TableLayout>
|
||||
<TableLayout
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TableRow
|
||||
android:padding="15dp"
|
||||
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="10"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="1"
|
||||
android:layout_weight="5"
|
||||
android:lines="2"
|
||||
android:text="Result :"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:id="@+id/patient_resultr"
|
||||
|
||||
android:layout_weight="5"
|
||||
android:layout_height="wrap_content" />
|
||||
</TableRow>
|
||||
<View
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_width="fill_parent"
|
||||
|
||||
android:layout_height="2dp"
|
||||
android:background="#eee" />
|
||||
|
||||
</TableLayout>
|
||||
<TableLayout
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TableRow
|
||||
android:padding="15dp"
|
||||
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="10"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="1"
|
||||
android:layout_weight="5"
|
||||
android:lines="2"
|
||||
android:text="National ID :"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:id="@+id/patient_nikshayidr"
|
||||
|
||||
android:layout_weight="5"
|
||||
android:layout_height="wrap_content" />
|
||||
</TableRow>
|
||||
<View
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_width="fill_parent"
|
||||
|
||||
android:layout_height="2dp"
|
||||
android:background="#eee" />
|
||||
|
||||
</TableLayout>
|
||||
<TableLayout
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TableRow
|
||||
android:padding="15dp"
|
||||
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="10"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="1"
|
||||
android:layout_weight="5"
|
||||
android:lines="2"
|
||||
android:text="Lab Number :"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:id="@+id/patient_nirtr"
|
||||
|
||||
android:layout_weight="5"
|
||||
android:layout_height="wrap_content" />
|
||||
</TableRow>
|
||||
<View
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_width="fill_parent"
|
||||
|
||||
android:layout_height="2dp"
|
||||
android:background="#eee" />
|
||||
|
||||
</TableLayout>
|
||||
<TableLayout
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TableRow
|
||||
android:padding="15dp"
|
||||
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="10"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:text="SPIN Tube ID :"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:lines="2"
|
||||
android:layout_weight="5"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="1" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:id="@+id/patient_spintuber"
|
||||
|
||||
android:layout_weight="5"
|
||||
android:layout_height="wrap_content" />
|
||||
</TableRow>
|
||||
<View
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_width="fill_parent"
|
||||
|
||||
android:layout_height="2dp"
|
||||
android:background="#eee" />
|
||||
|
||||
</TableLayout>
|
||||
|
||||
|
||||
|
||||
<TableLayout
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TableRow
|
||||
android:padding="15dp"
|
||||
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="10"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:text="Type of Sample :"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:lines="2"
|
||||
|
||||
android:layout_weight="5"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="1" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:id="@+id/patient_typesampler"
|
||||
|
||||
|
||||
|
||||
android:layout_weight="5"
|
||||
android:layout_height="wrap_content" />
|
||||
</TableRow>
|
||||
<View
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_width="fill_parent"
|
||||
|
||||
android:layout_height="2dp"
|
||||
android:background="#eee" />
|
||||
|
||||
</TableLayout>
|
||||
<TableLayout
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TableRow
|
||||
android:padding="15dp"
|
||||
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="10"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:text="Tube Validity :"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:lines="2"
|
||||
android:layout_weight="5"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="1" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:id="@+id/patient_tubevisibler"
|
||||
|
||||
|
||||
android:layout_weight="5"
|
||||
android:layout_height="wrap_content" />
|
||||
</TableRow>
|
||||
<View
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_width="fill_parent"
|
||||
|
||||
android:layout_height="2dp"
|
||||
android:background="#eee" />
|
||||
|
||||
</TableLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</TableLayout>
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -79,7 +79,7 @@
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="20dp"
|
||||
|
||||
android:hint="NIRT Lab Number *"
|
||||
android:hint="Lab Number [Eg: NIRT Lab No] *"
|
||||
android:maxLines="1"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
@@ -118,7 +118,7 @@
|
||||
android:paddingStart="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:text="Type of Sample *"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:textSize="@dimen/default_text_size"
|
||||
android:textColor="@android:color/darker_gray"
|
||||
/>
|
||||
|
||||
@@ -150,7 +150,7 @@ android:textSize="@dimen/small_text_size"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:textSize="@dimen/small_text_size"
|
||||
android:textSize="@dimen/default_text_size"
|
||||
|
||||
|
||||
android:text="Tube Validity * "
|
||||
|
||||
204
app/src/main/res/layout/activity_verify__o_t_p.xml
Normal file
@@ -0,0 +1,204 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical" >
|
||||
<RelativeLayout
|
||||
android:id="@+id/wvHelp1"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginTop="10dp"
|
||||
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="0.1" >
|
||||
<!-- <ImageView
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="center"
|
||||
android:src="@drawable/logo"
|
||||
|
||||
></ImageView>
|
||||
-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/wvHelp3"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="0.2" >
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textview"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginTop="10dp"
|
||||
|
||||
android:textAlignment="center"
|
||||
android:text="Verify OTP "
|
||||
android:textSize="30sp"
|
||||
android:gravity="center_horizontal" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/wvHelp"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:textAlignment="center"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="0.6"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
|
||||
<!-- <EditText
|
||||
android:id="@+id/editTextCode"
|
||||
android:layout_width="280dp"
|
||||
android:textAlignment="center"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:drawablePadding="5dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
|
||||
android:layout_centerHorizontal="true"
|
||||
|
||||
android:background="#ffffff"
|
||||
android:textColorHint="@color/colorPrimary"
|
||||
android:hint="Enter OTP"/>
|
||||
-->
|
||||
<com.chaos.view.PinView
|
||||
android:id="@+id/firstPinView"
|
||||
style="@style/PinWidget.PinView"
|
||||
android:layout_width="wrap_content"
|
||||
android:textColor="@android:color/holo_blue_dark"
|
||||
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="30dp"
|
||||
android:cursorVisible="true"
|
||||
android:hint="1"
|
||||
android:inputType="text"
|
||||
android:padding="14dp"
|
||||
android:textAlignment="center"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
app:cursorColor="@color/colorAccent"
|
||||
app:cursorWidth="2dp"
|
||||
app:hideLineWhenFilled="true"
|
||||
app:itemCount="6"
|
||||
app:itemHeight="50dp"
|
||||
app:itemRadius="4dp"
|
||||
app:itemWidth="50dp"
|
||||
app:lineWidth="6dp"
|
||||
app:viewType="rectangle" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/progressbar"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
|
||||
|
||||
<Button
|
||||
android:id="@+id/buttonSignIn"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="206dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@drawable/buttonshape"
|
||||
|
||||
android:layout_below="@id/firstPinView"
|
||||
android:layout_marginTop="20dp"
|
||||
android:textColor="#ffffff"
|
||||
android:text="Verify"/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/wvHelpj"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="0.2" >
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
20
app/src/main/res/layout/content_main.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
||||
|
||||
tools:showIn="@layout/activity_main">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler_view"
|
||||
android:layout_marginBottom="30dp"
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scrollbars="vertical" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
139
app/src/main/res/layout/demo.xml
Normal file
@@ -0,0 +1,139 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:background="@drawable/bg_list_row"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="@dimen/padding_list_row"
|
||||
android:paddingLeft="?listPreferredItemPaddingLeft"
|
||||
android:paddingRight="?listPreferredItemPaddingRight"
|
||||
android:paddingTop="@dimen/padding_list_row">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/message_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="true"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="72dp"
|
||||
android:paddingRight="@dimen/padding_list_row">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/patient_Id"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
|
||||
android:lines="1"
|
||||
|
||||
android:textColor="@color/from"
|
||||
android:textSize="@dimen/msg_text_primary"
|
||||
android:textStyle="bold"
|
||||
tools:text="Sender name"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sample_type"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:lines="1"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
android:textColor="@color/subject"
|
||||
android:textSize="@dimen/msg_text_secondary"
|
||||
android:textStyle="bold"
|
||||
tools:text="This is the subject of the email"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nikshayid"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
|
||||
android:lines="1"
|
||||
android:layout_marginBottom="23dp"
|
||||
android:textColor="@color/message"
|
||||
android:textSize="@dimen/msg_text_secondary"
|
||||
tools:text="This is the body of the email"/>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/icon_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/icon_back"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/icon_front"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_profile"
|
||||
android:layout_width="@dimen/icon_width_height"
|
||||
|
||||
android:layout_height="@dimen/icon_width_height" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/icon_text"
|
||||
android:text="N"
|
||||
android:gravity="center"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="45dp"
|
||||
android:background="@drawable/bg_circle"
|
||||
android:layout_centerInParent="true"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/icon_text" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/timestamp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
|
||||
android:textColor="@color/timestamp"
|
||||
android:textSize="@dimen/timestamp"
|
||||
android:textStyle="bold"
|
||||
tools:text="9:00 AM"/>
|
||||
|
||||
<!-- <ImageView
|
||||
android:id="@+id/icon_star"
|
||||
android:background="@android:drawable/ic_menu_share"
|
||||
android:layout_width="@dimen/icon_star"
|
||||
android:layout_height="@dimen/icon_star"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"
|
||||
app:tint="@color/icon_tint_normal" />-->
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="2dp"
|
||||
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="#EEE" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -2,8 +2,7 @@
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="180dp"
|
||||
|
||||
android:layout_height="230dp"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
|
||||
@@ -18,7 +17,7 @@
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.ShanMukhaInnovations.ArrestTB.FontAwesome
|
||||
<in.sminnovations.arrest_tb.FontAwesome
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="50dp"
|
||||
@@ -27,18 +26,72 @@
|
||||
android:layout_marginTop="30dp"
|
||||
android:id="@+id/image"
|
||||
android:textColor="@android:color/white"
|
||||
></com.ShanMukhaInnovations.ArrestTB.FontAwesome>
|
||||
></in.sminnovations.arrest_tb.FontAwesome>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Not Signed In"
|
||||
android:layout_below="@id/image"
|
||||
android:padding="10dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:id="@+id/not_sign_in"></TextView>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="User Name"
|
||||
android:layout_below="@id/image"
|
||||
android:textColor="@android:color/white"
|
||||
android:layout_below="@id/not_sign_in"
|
||||
android:padding="10dp"
|
||||
android:textColor="@android:color/white"
|
||||
|
||||
android:id="@+id/text"></TextView>
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<!--
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="180dp"
|
||||
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
|
||||
android:id="@+id/head">
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="matrix"
|
||||
|
||||
android:src="@color/colorPrimary"
|
||||
></ImageView>
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.shanmukhainnovations.spintubetest.Font_Awesome
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="50dp"
|
||||
android:text=""
|
||||
android:padding="20dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:id="@+id/image"
|
||||
android:textColor="@android:color/white"
|
||||
></com.shanmukhainnovations.spintubetest.Font_Awesome>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="User Name"
|
||||
android:layout_below="@id/image"
|
||||
android:textColor="@android:color/white"
|
||||
android:padding="10dp"
|
||||
android:id="@+id/text"></TextView>
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>-->
|
||||
|
||||
127
app/src/main/res/layout/item.xml
Normal file
@@ -0,0 +1,127 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:background="@drawable/bg_list_row"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="@dimen/padding_list_row"
|
||||
android:paddingLeft="?listPreferredItemPaddingLeft"
|
||||
android:paddingRight="?listPreferredItemPaddingRight"
|
||||
android:paddingTop="@dimen/padding_list_row">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/message_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="72dp"
|
||||
android:paddingRight="@dimen/padding_list_row">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/patient_Id"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
|
||||
android:lines="1"
|
||||
|
||||
android:textColor="@color/from"
|
||||
android:textSize="@dimen/msg_text_primary"
|
||||
android:textStyle="bold"
|
||||
tools:text="Patinet ID"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sample_type"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:lines="1"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
android:textColor="@color/subject"
|
||||
android:textSize="@dimen/msg_text_secondary"
|
||||
android:textStyle="bold"
|
||||
tools:text="Sample type"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nikshayid"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
|
||||
android:lines="1"
|
||||
android:paddingBottom="5dp"
|
||||
android:textColor="@color/message"
|
||||
android:textSize="@dimen/msg_text_secondary"
|
||||
tools:text="Nikshay ID"/>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/icon_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/icon_back"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/icon_front"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_profile"
|
||||
android:layout_width="@dimen/icon_width_height"
|
||||
|
||||
android:layout_height="@dimen/icon_width_height" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/icon_text"
|
||||
android:text="N"
|
||||
android:gravity="center"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="45dp"
|
||||
android:background="@drawable/bg_circle"
|
||||
android:layout_centerInParent="true"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/icon_text" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/timestamp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:fontFamily="@font/fontstyle"
|
||||
|
||||
android:textColor="@color/timestamp"
|
||||
android:textSize="@dimen/timestamp"
|
||||
android:textStyle="bold"
|
||||
tools:text="Date"/>
|
||||
|
||||
<!-- <ImageView
|
||||
android:id="@+id/icon_star"
|
||||
android:background="@android:drawable/ic_menu_share"
|
||||
android:layout_width="@dimen/icon_star"
|
||||
android:layout_height="@dimen/icon_star"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"
|
||||
app:tint="@color/icon_tint_normal" />-->
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
19
app/src/main/res/menu/download.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item android:id="@+id/download1"
|
||||
android:icon="@drawable/ic_baseline_arrow_downward_24"
|
||||
android:title="Download Data"
|
||||
|
||||
app:showAsAction="always"
|
||||
/>
|
||||
|
||||
<item android:id="@+id/share"
|
||||
android:icon="@drawable/ic_baseline_share_24"
|
||||
android:title="Share Data"
|
||||
|
||||
app:showAsAction="always"
|
||||
/>
|
||||
|
||||
</menu>
|
||||
@@ -4,26 +4,33 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
tools:showIn="navigation">
|
||||
|
||||
<group android:checkableBehavior="single">
|
||||
<item
|
||||
android:id="@+id/nav_profile"
|
||||
|
||||
|
||||
android:title="Your Profile" />
|
||||
<group android:checkableBehavior="single">
|
||||
<item
|
||||
android:id="@+id/nav_details"
|
||||
android:title="Patient Details" />
|
||||
android:id="@+id/nav_home"
|
||||
|
||||
|
||||
android:title="Home" />
|
||||
<item
|
||||
android:id="@+id/nav_add_Test"
|
||||
android:title="Add Test" />
|
||||
<item
|
||||
android:id="@+id/nav_results"
|
||||
android:title="Results" />
|
||||
<item
|
||||
android:id="@+id/nav_positive"
|
||||
android:title="Positive Results" />
|
||||
<item
|
||||
android:id="@+id/nav_negative"
|
||||
android:title="Negative Results " />
|
||||
|
||||
<item
|
||||
android:id="@+id/nav_contact_us"
|
||||
android:title="About" />
|
||||
|
||||
<item
|
||||
android:id="@+id/logout"
|
||||
android:title="Logout" />
|
||||
<item
|
||||
android:id="@+id/nav_contact_us"
|
||||
android:title="About" />
|
||||
<item
|
||||
android:id="@+id/nav_logout"
|
||||
android:title="Logout" />
|
||||
|
||||
|
||||
|
||||
</group>
|
||||
|
||||
12
app/src/main/res/menu/searchmenu.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item android:id="@+id/search"
|
||||
android:icon="@drawable/ic_baseline_search_24"
|
||||
android:title="Search Data"
|
||||
|
||||
app:showAsAction="always"
|
||||
app:actionViewClass="android.widget.SearchView" />
|
||||
|
||||
</menu>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
||||
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 3.0 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 4.7 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 6.7 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 13 KiB |
@@ -1,5 +1,16 @@
|
||||
<resources>
|
||||
<dimen name="small_text_size">9.7sp</dimen>
|
||||
<dimen name="heading_size">12.7sp</dimen>
|
||||
<dimen name="heading_size">10.7sp</dimen>
|
||||
<dimen name="default_text_size">11.7sp</dimen>
|
||||
<dimen name="activity_vertical_margin">10.7dp</dimen>
|
||||
<dimen name="padding_list_row">10.7dp</dimen>
|
||||
<dimen name="activity_horizontal_margin">10.7dp</dimen>
|
||||
<dimen name="fab_margin">10.7dp</dimen>
|
||||
<dimen name="icon_star">16.7dp</dimen>
|
||||
<dimen name="messages_padding_left">48dp</dimen>
|
||||
<dimen name="icon_width_height">26.7dp</dimen>
|
||||
<dimen name="icon_text">14.7dp</dimen>
|
||||
<dimen name="timestamp">8dp</dimen>
|
||||
<dimen name="msg_text_primary">9.3sp</dimen>
|
||||
<dimen name="msg_text_secondary">9.3sp</dimen>
|
||||
</resources>
|
||||
@@ -1,5 +1,16 @@
|
||||
<resources>
|
||||
<dimen name="small_text_size">9.7sp</dimen>
|
||||
<dimen name="heading_size">12.7sp</dimen>
|
||||
<dimen name="heading_size">10.7sp</dimen>
|
||||
<dimen name="default_text_size">11.7sp</dimen>
|
||||
<dimen name="activity_vertical_margin">10.7dp</dimen>
|
||||
<dimen name="padding_list_row">10.7dp</dimen>
|
||||
<dimen name="activity_horizontal_margin">10.7dp</dimen>
|
||||
<dimen name="fab_margin">10.7dp</dimen>
|
||||
<dimen name="icon_star">16.7dp</dimen>
|
||||
<dimen name="messages_padding_left">48dp</dimen>
|
||||
<dimen name="icon_width_height">26.7dp</dimen>
|
||||
<dimen name="icon_text">14.7dp</dimen>
|
||||
<dimen name="timestamp">8dp</dimen>
|
||||
<dimen name="msg_text_primary">9.3sp</dimen>
|
||||
<dimen name="msg_text_secondary">9.3sp</dimen>
|
||||
</resources>
|
||||
@@ -1,6 +1,16 @@
|
||||
<resources>
|
||||
<dimen name="heading_size">19sp</dimen>
|
||||
<dimen name="heading_size">16sp</dimen>
|
||||
<dimen name="default_text_size">17.5sp</dimen>
|
||||
<dimen name="small_text_size">14.5sp</dimen>
|
||||
|
||||
<dimen name="activity_horizontal_margin">16dp</dimen>
|
||||
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||
<dimen name="fab_margin">16dp</dimen>
|
||||
<dimen name="padding_list_row">16dp</dimen>
|
||||
<dimen name="messages_padding_left">72dp</dimen>
|
||||
<dimen name="icon_width_height">40dp</dimen>
|
||||
<dimen name="msg_text_primary">14sp</dimen>
|
||||
<dimen name="msg_text_secondary">13.9sp</dimen>
|
||||
<dimen name="icon_star">25dp</dimen>
|
||||
<dimen name="icon_text">22dp</dimen>
|
||||
<dimen name="timestamp">12dp</dimen>
|
||||
</resources>
|
||||
@@ -1,5 +1,16 @@
|
||||
<resources>
|
||||
<dimen name="small_text_size">19.3sp</dimen>
|
||||
<dimen name="heading_size">25.3sp</dimen>
|
||||
<dimen name="heading_size">21.3sp</dimen>
|
||||
<dimen name="default_text_size">23.3sp</dimen>
|
||||
<dimen name="activity_vertical_margin">21.3dp</dimen>
|
||||
<dimen name="padding_list_row">21.3dp</dimen>
|
||||
<dimen name="activity_horizontal_margin">21.3dp</dimen>
|
||||
<dimen name="fab_margin">21.3dp</dimen>
|
||||
<dimen name="icon_star">33.3dp</dimen>
|
||||
<dimen name="messages_padding_left">96dp</dimen>
|
||||
<dimen name="icon_width_height">53.3dp</dimen>
|
||||
<dimen name="icon_text">29.3dp</dimen>
|
||||
<dimen name="timestamp">16dp</dimen>
|
||||
<dimen name="msg_text_primary">18.7sp</dimen>
|
||||
<dimen name="msg_text_secondary">18.5sp</dimen>
|
||||
</resources>
|
||||
@@ -1,5 +1,16 @@
|
||||
<resources>
|
||||
<dimen name="small_text_size">24.2sp</dimen>
|
||||
<dimen name="heading_size">31.7sp</dimen>
|
||||
<dimen name="heading_size">26.7sp</dimen>
|
||||
<dimen name="default_text_size">29.2sp</dimen>
|
||||
<dimen name="activity_vertical_margin">26.7dp</dimen>
|
||||
<dimen name="padding_list_row">26.7dp</dimen>
|
||||
<dimen name="activity_horizontal_margin">26.7dp</dimen>
|
||||
<dimen name="fab_margin">26.7dp</dimen>
|
||||
<dimen name="icon_star">41.7dp</dimen>
|
||||
<dimen name="messages_padding_left">120dp</dimen>
|
||||
<dimen name="icon_width_height">66.7dp</dimen>
|
||||
<dimen name="icon_text">36.7dp</dimen>
|
||||
<dimen name="timestamp">20dp</dimen>
|
||||
<dimen name="msg_text_primary">23.3sp</dimen>
|
||||
<dimen name="msg_text_secondary">23.2sp</dimen>
|
||||
</resources>
|
||||
@@ -1,6 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">@android:color/holo_blue_dark</color>
|
||||
<color name="colorPrimaryDark">#00574B</color>
|
||||
<color name="colorPrimaryDark">@android:color/holo_blue_dark</color>
|
||||
<color name="colorAccent">#696969</color>
|
||||
<color name="from">#000000</color>
|
||||
<color name="subject">#111111</color>
|
||||
<color name="timestamp">#4285f4</color>
|
||||
<color name="message">#7a7a7a</color>
|
||||
<color name="icon_tint_normal">#7a7a7a</color>
|
||||
<color name="icon_tint_selected">#fed776</color>
|
||||
<color name="row_activated">#e0e0e0</color>
|
||||
<color name="bg_action_mode">#757575</color>
|
||||
<color name="bg_circle_default">#666666</color>
|
||||
</resources>
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
<resources>
|
||||
<dimen name="heading_size">10.6sp</dimen>
|
||||
<dimen name="heading_size">8.9sp</dimen>
|
||||
<dimen name="default_text_size">9.7sp</dimen>
|
||||
<dimen name="small_text_size">8.1sp</dimen>
|
||||
<dimen name="activity_vertical_margin">8.9dp</dimen>
|
||||
<dimen name="padding_list_row">8.9dp</dimen>
|
||||
<dimen name="activity_horizontal_margin">8.9dp</dimen>
|
||||
<dimen name="fab_margin">8.9dp</dimen>
|
||||
<dimen name="icon_star">13.9dp</dimen>
|
||||
<dimen name="messages_padding_left">40dp</dimen>
|
||||
<dimen name="icon_width_height">22.2dp</dimen>
|
||||
<dimen name="icon_text">12.2dp</dimen>
|
||||
<dimen name="timestamp">6.7dp</dimen>
|
||||
<dimen name="msg_text_primary">7.8sp</dimen>
|
||||
<dimen name="msg_text_secondary">7.7sp</dimen>
|
||||
</resources>
|
||||
4
app/src/main/res/values/ic_launcher_background.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#FFFFFF</color>
|
||||
</resources>
|
||||
@@ -1,5 +1,5 @@
|
||||
<resources>
|
||||
<string name="app_name">Spin Tube App</string>
|
||||
<string name="app_name">Arrest TB</string>
|
||||
<string name="open_navigation_drawer">Open navigation drawer</string>
|
||||
<string name="close_navigation_drawer">Close navigation drawer</string>
|
||||
<string name="asteriskred"><font color='#cc0029'>*</font></string>
|
||||
|
||||