Dashboardxml
Dashboardxml
Dashboardxml
>
<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>