0% found this document useful (0 votes)
4 views10 pages

Activity Home

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views10 pages

Activity Home

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 10

<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/a27230"
tools:context=".MainActivity">

<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:ignore="UselessParent">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">

<LinearLayout
android:id="@+id/dashboard_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="5dp">

<TextView
android:id="@+id/txtdatetime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:fontFamily="@font/dsdigi"
android:textColor="@color/white"
android:text="Date Time"
android:textSize="14sp"
android:textStyle="bold"
tools:ignore="HardcodedText" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:padding="15dp">
<LinearLayout
android:layout_width= "250dp"
android:layout_gravity="start"
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_marginLeft="10dp"
android:padding="5dp">

<TextView
android:id="@+id/textUserName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="1dp"
android:drawableLeft="@drawable/ic_username"
android:hint="User Name"
android:textColor="@color/white"
android:textSize="14sp"
android:fontFamily="sans-serif-light"
android:textColorHint="@color/white"
android:inputType="text" />
<TextView
android:id="@+id/textMobileNo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="1dp"
android:drawableLeft="@drawable/ic_phone"
android:hint="Mobile No"
android:textColor="@color/white"
android:textSize="14sp"
android:fontFamily="sans-serif-light"
android:textColorHint="@color/white"
android:inputType="text" />
<TextView
android:id="@+id/textIdleState"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="1dp"
android:drawableLeft="@drawable/ic_timer"
android:hint="Idle "
android:textColor="@color/white"
android:textSize="12sp"
android:fontFamily="sans-serif-light"
android:textColorHint="@color/white"
android:inputType="text" />
</LinearLayout>

<RelativeLayout
android:layout_width="100dp"
android:layout_height="80dp"
android:layout_gravity="center">

<ImageView
android:id="@+id/imagelogo"
android:layout_width="500dp"
android:layout_height="300dp"
android:background="@drawable/logo" />

</RelativeLayout>

</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:layout_marginBottom="1dp"

android:padding="2dp">
<TextView
android:id="@+id/txtTotalVehicles"
android:textAlignment="center"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:singleLine="true"
android:text="Vehicle(s) Count :"
android:textColor="@color/white"
android:textSize="14sp"
android:fontFamily="sans-serif-light"
tools:ignore="HardcodedText,SmallSp" />

</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:layout_marginBottom="1dp"

android:padding="2dp">

<AutoCompleteTextView
android:id="@+id/vehicleNos"
android:drawableRight="@drawable/ic_search"
android:textColor="@color/white"
android:textSize="18sp"
android:hint="Select Vehicle"
android:textColorHint="@color/white"
android:layout_width="230dp"
android:textAlignment="center"
android:inputType="textCapCharacters"
android:layout_height="wrap_content"></AutoCompleteTextView>

</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:layout_marginBottom="1dp"

android:padding="2dp">
<TextView
android:textAlignment="textEnd"
android:layout_width="50dp"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:fontFamily="sans-serif-light"
android:singleLine="true"
android:textColor="@color/white"
android:text="As on :"
android:textSize="14sp"
tools:ignore="HardcodedText,SmallSp" />

<TextView
android:id="@+id/txtDataDisplayDate"
android:textAlignment="center"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:fontFamily="@font/dsdigi"
android:singleLine="true"
android:textColor="#03FE01"
android:text=""
android:textSize="15sp"
tools:ignore="HardcodedText,SmallSp" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:layout_marginBottom="1dp"
android:padding="4dp">

<RelativeLayout
android:id="@+id/cirLoginButton1"
android:layout_width="190dp"
android:layout_height="60dp"
android:layout_marginBottom="1dp"
android:padding="0dp">

<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/frame"
android:contentDescription="SpeedoMeter"/>

<LinearLayout
android:layout_width="170dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:gravity="center"
app:cardCornerRadius="10dp"
android:orientation="horizontal">

<ImageView
android:layout_width="60dp"
android:layout_height="wrap_content"
android:layout_gravity="start|center"
android:adjustViewBounds="true"
android:scaleType="fitXY"
android:src="@drawable/odometer1"
tools:ignore="ContentDescription" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
android:layout_gravity="start|center"
android:orientation="vertical"
tools:ignore="UseCompoundDrawables">

<TextView
android:layout_width="110dp"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:singleLine="true"
android:text="Speed KM/h"
android:textColor="@color/white"
android:textSize="14sp"
android:fontFamily="sans-serif-light"
tools:ignore="HardcodedText,SmallSp" />

<TextView
android:id="@+id/textkmsrun"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:fontFamily="@font/dsdigi"
android:gravity="center"
android:paddingRight="4dp"
android:text="000000 "
android:textColor="#03FE01"
android:textSize="24sp"
android:textStyle="bold"

tools:ignore="HardcodedText,TextSizeCheck" />

</LinearLayout>

</LinearLayout>

</RelativeLayout>

<RelativeLayout
android:layout_width="70dp"
android:layout_height="60dp"
android:layout_marginBottom="1dp"
android:paddingLeft="10dp">
<ImageView
android:id="@+id/imgignition"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/off"
android:contentDescription="SpeedoMeter"/>
</RelativeLayout>

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:layout_marginBottom="1dp"
android:padding="4dp">

<RelativeLayout
android:layout_width="0dp"
android:layout_height="60dp"
android:layout_weight="1"
android:gravity="center">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/frame"
android:contentDescription="Battery"/>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center"

android:gravity="center"
app:cardCornerRadius="10dp">

<ImageView
android:id="@+id/imgbatterylevelindicator"
android:layout_width="60dp"
android:layout_height="wrap_content"
android:layout_gravity="start|center"
android:adjustViewBounds="true"
android:paddingLeft="9dp"
android:scaleType="fitXY"
android:src="@drawable/b10"
tools:ignore="ContentDescription" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
android:layout_gravity="start|center"
android:orientation="vertical"
tools:ignore="UseCompoundDrawables">

<TextView
android:layout_width="70dp"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:singleLine="true"
android:text="Battery"
android:textColor="@color/white"
android:textSize="14sp"
android:fontFamily="sans-serif-light"
tools:ignore="HardcodedText,SmallSp" />

<TextView
android:id="@+id/textbatterylevel"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:fontFamily="@font/dsdigi"
android:gravity="center"
android:text="100 % "
android:textColor="#03FE01"
android:textSize="24sp"
android:textStyle="bold"
tools:ignore="HardcodedText,TextSizeCheck" />

</LinearLayout>

</LinearLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width="0dp"
android:layout_height="60dp"
android:layout_weight="1"
android:gravity="center">

<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/frame"
android:contentDescription="Projected"/>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center"
android:gravity="center"
app:cardCornerRadius="10dp"
android:orientation="horizontal">

<ImageView
android:layout_width="60dp"
android:layout_height="wrap_content"
android:layout_gravity="start|center"
android:adjustViewBounds="true"
android:scaleType="fitXY"
android:src="@drawable/odometer1"
tools:ignore="ContentDescription" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="0dp"
android:layout_gravity="start|center"
android:orientation="vertical"
tools:ignore="UseCompoundDrawables">

<TextView
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:singleLine="true"
android:text="Projected KMs"
android:textColor="@color/white"
android:textSize="14sp"
android:fontFamily="sans-serif-light"
tools:ignore="HardcodedText,SmallSp" />

<TextView
android:id="@+id/textkmsleft"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingRight="4dp"
android:fontFamily="@font/dsdigi"
android:text="000000 "
android:textColor="#03FE01"
android:textSize="24sp"
android:textStyle="bold"
tools:ignore="HardcodedText" />

</LinearLayout>

</LinearLayout>

</RelativeLayout>

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:padding="5dp">

<RelativeLayout
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_gravity="center">

<ImageView
android:id="@+id/imagevehicle"
android:layout_width="100dp"
android:layout_height="100dp"
android:background="@drawable/button1"
android:contentDescription="Query"/>

<ImageView
android:layout_marginTop="20dp"
android:layout_marginStart="34dp"
android:layout_width="30dp"
android:layout_height="30dp"
android:background="@drawable/ic_byke"
android:contentDescription="vehicle"/>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center"
android:paddingBottom="25dp"
android:text="Vehicle"
android:textColor="@android:color/white"
android:textSize="14sp"
android:fontFamily="sans-serif-light" />
</RelativeLayout>

<RelativeLayout
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_gravity="center">

<ImageView
android:id="@+id/imagekyc"
android:layout_width="100dp"
android:layout_height="100dp"
android:background="@drawable/button1"
android:contentDescription="Kyc"/>

<ImageView
android:layout_marginTop="20dp"
android:layout_marginStart="34dp"
android:layout_width="30dp"
android:layout_height="30dp"
android:background="@drawable/ic_kyc"
android:contentDescription="Kyc"/>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center"
android:paddingBottom="25dp"
android:text="KYC"
android:textColor="@android:color/white"
android:textSize="14sp"
android:fontFamily="sans-serif-light" />
</RelativeLayout>

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:padding="5dp">

<RelativeLayout
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_gravity="center">

<ImageView
android:id="@+id/imagerequests"
android:layout_width="100dp"
android:layout_height="100dp"
android:background="@drawable/button1"
android:contentDescription="Query"/>

<ImageView
android:layout_marginTop="20dp"
android:layout_marginStart="34dp"
android:layout_width="30dp"
android:layout_height="30dp"
android:background="@drawable/ic_requests"
android:contentDescription="request"/>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center"
android:paddingBottom="25dp"
android:text="Query"
android:textColor="@android:color/white"
android:textSize="14sp"
android:fontFamily="sans-serif-light" />
</RelativeLayout>

<RelativeLayout
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_gravity="center">

<ImageView
android:id="@+id/imagereport"
android:layout_width="100dp"
android:layout_height="100dp"
android:background="@drawable/button1"
android:contentDescription="reports"/>

<ImageView
android:layout_marginTop="15dp"
android:layout_marginStart="34dp"
android:layout_width="30dp"
android:layout_height="30dp"
android:background="@drawable/ic_reports"
android:contentDescription="Reports"/>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center"
android:paddingBottom="25dp"
android:text="Report"
android:textColor="@android:color/white"
android:textSize="14sp"
android:fontFamily="sans-serif-light" />
</RelativeLayout>

</LinearLayout>

</LinearLayout>

</RelativeLayout>

</ScrollView>

<ProgressBar
android:id="@+id/idPBD"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:indeterminateTint="@android:color/holo_red_dark" />

</RelativeLayout>

You might also like