Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app_bar_home.xml
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.design.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"
- tools:context="com.example.cortana.shopv3.HomeActivity">
- <android.support.design.widget.AppBarLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:theme="@style/AppTheme.AppBarOverlay">
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="?attr/colorPrimary"
- app:popupTheme="@style/AppTheme.PopupOverlay"
- android:weightSum="1">
- <ImageButton
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- app:srcCompat="@android:drawable/ic_menu_sort_by_size"
- android:layout_marginLeft="100sp"
- android:background="@null"
- android:adjustViewBounds="true"
- android:cropToPadding="true" />
- <ImageButton
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- app:srcCompat="@android:drawable/btn_plus"
- android:layout_marginLeft="15sp"
- android:background="@null"
- android:adjustViewBounds="true"
- android:cropToPadding="true" />
- <ImageButton
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@android:drawable/ic_menu_save"
- android:id="@+id/CartBtn"
- android:background="@drawable/refreshgreen"
- android:adjustViewBounds="true"
- android:layout_marginLeft="15sp"
- android:layout_alignParentTop="true"
- android:layout_marginBottom="15sp"
- android:layout_toRightOf="@+id/SearchBox"
- android:layout_toEndOf="@+id/SearchBox"
- android:cropToPadding="true" />
- </android.support.v7.widget.Toolbar>
- </android.support.design.widget.AppBarLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement