177 lines
7.8 KiB
XML
177 lines
7.8 KiB
XML
<?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">
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:cardCornerRadius="5dp">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/dp_10"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="IMEI /Serial Number / Mac Id"
|
|
android:textSize="@dimen/dp_16"
|
|
android:textColor="@color/black"
|
|
android:gravity="start"
|
|
android:layout_gravity="end"
|
|
android:fontFamily="@font/popins_bold"/>
|
|
<LinearLayout
|
|
android:id="@+id/closemodeldatepopup"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_gravity="center"
|
|
android:gravity="end">
|
|
<ImageView
|
|
android:layout_marginRight="25dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end"
|
|
android:padding="@dimen/dp_5"
|
|
android:src="@drawable/close_1"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:background="@drawable/border_top_radius"
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:weightSum="4">
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="IMEI 1"
|
|
android:fontFamily="@font/popins_bold"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:padding="@dimen/dp_5"/>
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="IMEI 2"
|
|
android:fontFamily="@font/popins_bold"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:padding="@dimen/dp_5"/>
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Serial No"
|
|
android:fontFamily="@font/popins_bold"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:padding="@dimen/dp_5"/>
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Mac Id"
|
|
android:fontFamily="@font/popins_bold"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:padding="@dimen/dp_5"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:visibility="gone"
|
|
android:id="@+id/nodata"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/dp_60"
|
|
android:orientation="vertical">
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/nodatafound"
|
|
android:layout_marginVertical="@dimen/dp_10"/>
|
|
</LinearLayout>
|
|
<!-- <LinearLayout-->
|
|
<!-- android:layout_width="match_parent"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:orientation="vertical"-->
|
|
<!-- android:layout_marginBottom="@dimen/dp_60"-->
|
|
<!-- android:layout_marginTop="@dimen/dp_5">-->
|
|
<!-- <androidx.recyclerview.widget.RecyclerView-->
|
|
<!-- android:layout_width="match_parent"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:orientation="vertical"-->
|
|
<!-- android:id="@+id/recyclerview_modeldates"/>-->
|
|
|
|
|
|
<!-- <EditText-->
|
|
<!-- android:id="@+id/hiiiET"-->
|
|
<!-- android:layout_width="match_parent"-->
|
|
<!-- android:layout_height="80dp"-->
|
|
<!-- android:hint="Hiii"/>-->
|
|
<!-- </LinearLayout>-->
|
|
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/dp_60"
|
|
android:id="@+id/dynamicContainer"
|
|
android:orientation="vertical">
|
|
<EditText
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="hello"
|
|
android:id="@+id/edittext">
|
|
|
|
</EditText>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
|
|
</LinearLayout>
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/dp_10"
|
|
android:layout_marginTop="@dimen/_20dp"
|
|
android:layout_gravity="bottom">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:gravity="bottom"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginRight="20dp">
|
|
<Button
|
|
android:id="@+id/submit_btn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/submit_btn"
|
|
android:layout_gravity="end"
|
|
android:text="Submit"
|
|
android:textColor="@color/white"
|
|
android:fontFamily="@font/popins_bold"/>
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</LinearLayout> |