Updated Project
This commit is contained in:
@@ -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
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
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
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
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
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
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
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
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
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>
|
||||
Reference in New Issue
Block a user