0% found this document useful (0 votes)
19 views

Dashboardxml

The document contains an XML layout file for an Android app. It defines the structure and design of an activity with a toolbar, containers for content, and a bottom navigation bar with tabs for home, orders, and catalog.

Uploaded by

jv1256671
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)
19 views

Dashboardxml

The document contains an XML layout file for an Android app. It defines the structure and design of an activity with a toolbar, containers for content, and a bottom navigation bar with tabs for home, orders, and catalog.

Uploaded by

jv1256671
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/ 3

<?xml version="1.0" encoding="utf-8"?

>
<layout xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"

xmlns:app="http://schemas.android.com/apk/res-auto">

<androidx.coordinatorlayout.widget.CoordinatorLayout
android:layout_width="match_parent"
android:id="@+id/ds"
android:layout_height="match_parent"
android:tag="layout/activity_act_customer_dashboard_0">

<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">

<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:navigationIcon="@drawable/backicon"
app:popupTheme="@style/AppTheme.PopupOverlay"
app:title="Customer Dashboard" />
</com.google.android.material.appbar.AppBarLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/iron"
android:orientation="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="0.7"
android:orientation="horizontal">

<FrameLayout
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="0.5"
android:id="@+id/custD"
android:orientation="vertical">

<FrameLayout
android:id="@+id/contain1"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="0.12"
android:gravity="bottom|center_vertical|center_horizontal|center"
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="@color/primary_dark"
android:gravity="center"
android:orientation="horizontal">

<LinearLayout
android:id="@+id/lyHome"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="0.33"
android:gravity="center"
android:orientation="vertical">

<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/ic_home"
tools:ignore="VectorDrawableCompat" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Home"
android:textColor="@color/white"
android:textSize="@dimen/txtsize"
android:textStyle="bold" />
</LinearLayout>

<LinearLayout
android:id="@+id/lyOrder"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="0.33"
android:gravity="center"
android:orientation="vertical">

<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/ic_order"
tools:ignore="VectorDrawableCompat" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Order"
android:textColor="@color/white"
android:textSize="@dimen/txtsize"
android:textStyle="bold" />
</LinearLayout>

<LinearLayout
android:id="@+id/pOrder"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="0.33"
android:gravity="center"
android:visibility="gone"
android:orientation="vertical">

<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/ic_order"
tools:ignore="VectorDrawableCompat" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="POrder"
android:textColor="@color/white"
android:textSize="@dimen/txtsize"
android:textStyle="bold" />
</LinearLayout>

<LinearLayout
android:id="@+id/lyCatalog"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="0.33"
android:gravity="center"
android:orientation="vertical">

<ImageView
android:layout_width="wrap_content"
android:layout_height="64dp"
app:srcCompat="@drawable/ic_catelog" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Catalog"
android:textColor="@color/white"
android:textSize="@dimen/txtsize"
android:textStyle="bold" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</layout>

You might also like