Monday, 14 June 2021

Backup before change in Groccer Customer app in xml home fragment

 Backup xml  home fragment before change


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:background="#EBEAEA"
android:orientation="vertical">


<RelativeLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:gravity="top"
android:elevation="5dp"
android:background="@drawable/appbarbackground"
android:visibility="visible">

<LinearLayout
android:id="@+id/search_layout"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
android:background="@drawable/back_border"
android:gravity="center"
android:elevation="@dimen/space_10"
android:orientation="horizontal">

<ImageView
android:id="@+id/lens"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginStart="10dp"
android:src="@drawable/lens"
tools:ignore="ContentDescription" />

<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="8dp"
android:gravity="center_vertical"
android:text="@string/search_for_products_brands_and_more"
android:textColor="@color/dark_gray" />
</LinearLayout>


</RelativeLayout>

<androidx.core.widget.NestedScrollView
android:id="@+id/scroll_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fillViewport="true"
android:scrollbars="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior">


<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#F3F1F1"
android:elevation="@dimen/space_2"
android:orientation="vertical">


<LinearLayout
android:layout_width="match_parent"
android:layout_height="70dp"
android:background="@color/white"
android:gravity="center_vertical"
android:orientation="horizontal"
android:visibility="gone">


<androidx.recyclerview.widget.RecyclerView
android:id="@+id/collapsing_recycler"
android:layout_width="wrap_content"
android:layout_height="wrap_content"

android:layout_gravity="center_horizontal"
android:layout_marginStart="10dp">

</androidx.recyclerview.widget.RecyclerView>
</LinearLayout>


<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<!-- android:background="@drawable/appbarbackground">-->

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/space_10"
android:layout_marginTop="@dimen/space_10"
android:layout_marginEnd="@dimen/space_10"
android:layout_marginBottom="@dimen/space_10"
android:backgroundTint="@color/transparent"
app:cardCornerRadius="@dimen/space_8"
app:cardElevation="@dimen/space_5">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="180dp">
<!--android:layout_height="@dimen/slider_one_height"-->

<com.daimajia.slider.library.SliderLayout
android:id="@+id/home_img_slider"
android:layout_width="match_parent"

android:layout_height="match_parent" />


<!--<com.daimajia.slider.library.Indicators.PagerIndicator-->
<!--android:id="@+id/custom_indicator"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:gravity="center" />-->
</RelativeLayout>

</androidx.cardview.widget.CardView>
</LinearLayout>


<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/space_15"
android:orientation="vertical"
android:visibility="gone">

<!--<fragment-->
<!--android:id="@+id/map"-->
<!--class="com.google.android.gms.maps.SupportMapFragment"-->
<!--android:layout_width="match_parent"-->

<!--android:layout_height="120dp" />-->

<TextView
android:id="@+id/latitude_tv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="latitude" />

<TextView
android:id="@+id/langitude_tv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="langitude" />

<TextView
android:id="@+id/full_address_tv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Your Delivery address" />

<Button
android:id="@+id/getdirectionButton"
style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="@dimen/space_2"
android:text="Get Direction" />
</LinearLayout>

<!-- trying to move up shop by category holder -->
<LinearLayout
android:id="@+id/shop_by_Category_title"
android:layout_width="match_parent"
android:layout_height="45dp"
android:layout_gravity="center"
android:background="@drawable/low"
android:gravity="center">
<!--android:background="@drawable/bg94"-->
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="#F3FFFFFF"
android:gravity="center"
android:orientation="horizontal">

<ImageView
android:layout_width="38dp"
android:layout_height="38dp"
android:layout_marginStart="40dp"
android:layout_marginEnd="30dp"
android:src="@drawable/sbc4"
android:visibility="gone" />

<Fonts.LatoBLack
android:id="@+id/firebase"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginStart="@dimen/space_20"
android:layout_marginEnd="@dimen/space_20"
android:background="#fff"
android:gravity="center"
android:text="@string/shop_by_category"
android:textAllCaps="true"
android:textColor="#388E3C"
android:textSize="@dimen/space_18"
android:textStyle="bold" />

</LinearLayout>


</LinearLayout>

<LinearLayout
android:id="@+id/shop_by_category_recycler_layout2"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:elevation="@dimen/space_5"

android:orientation="vertical">
<!--android:background="#E6E6E6"-->

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/space_6"
android:layout_marginEnd="@dimen/space_6"
android:orientation="vertical">
<!--android:background="#43A047"-->

<com.cooltechworks.views.shimmer.ShimmerRecyclerView
android:id="@+id/rv_home"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/space_2"
android:layout_marginBottom="@dimen/space_10"
android:scrollbars="none"

app:shimmer_demo_angle="20"
app:shimmer_demo_child_count="9"
app:shimmer_demo_grid_child_count="3"
app:shimmer_demo_layout="@layout/row_home_loading"
app:shimmer_demo_layout_manager_type="grid" />
<!--<androidx.recyclerview.widget.RecyclerView-->
<!--android:id="@+id/rv_home"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_marginBottom="@dimen/space_5"-->
<!--android:scrollbars="none"-->
<!--app:layout_behavior="@string/appbar_scrolling_view_behavior" />-->


</LinearLayout>
</LinearLayout>


<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="visible">


<ImageView
android:id="@+id/top_selling_imageview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/yelo2" />

<FrameLayout
android:id="@+id/frame1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="@dimen/space_10"

>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginTop="@dimen/space_8"
android:orientation="horizontal">

<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:gravity="center_vertical"
android:paddingStart="@dimen/space_12"
android:text="@string/selling_product"
android:textColor="#fff"
android:textSize="@dimen/text_size_normal" />

<Button
android:id="@+id/view_all_topselling"
style="@style/Widget.AppCompat.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="12dp"
android:text="@string/view_all"
android:textAllCaps="false" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
android:layout_marginStart="12dp"
android:layout_weight="1"
android:gravity="center_vertical"
android:orientation="horizontal"
android:visibility="gone">


</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="end|center"
android:layout_weight="1"
android:gravity="center|end"
android:visibility="gone">


</LinearLayout>


</LinearLayout>


<androidx.recyclerview.widget.RecyclerView
android:id="@+id/top_selling_recycler"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_marginStart="8dp"
android:layout_marginTop="40dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="@dimen/space_10"
android:scrollbars="none"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />


</FrameLayout>

</FrameLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/space_10"
android:background="#007CB342"
android:elevation="@dimen/space_5"
android:orientation="horizontal"
android:visibility="gone">

<LinearLayout
android:id="@+id/top_selling_layoutView"
android:layout_width="match_parent"
android:layout_height="80dp"
android:layout_marginStart="@dimen/space_10"
android:layout_marginTop="@dimen/space_10"
android:layout_marginEnd="@dimen/space_10"
android:layout_marginBottom="@dimen/space_10"
android:background="@drawable/top_selling_bg"
android:elevation="@dimen/space_5"
android:gravity="center"
android:orientation="horizontal"
android:visibility="gone">

<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_weight="1"
android:src="@drawable/top_selling" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/space_15"
android:layout_weight="1"
android:orientation="vertical">

<Fonts.LatoBLack
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/top_selling_product"
android:textAllCaps="true"
android:textColor="@color/white"
android:textSize="@dimen/space_18"
android:textStyle="bold" />

<Fonts.LatoBLack
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Great Saving Everyday"
android:textColor="@color/white"
android:textSize="@dimen/space_15" />

</LinearLayout>


<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/space_20"
android:src="@drawable/right_arrow" />

</LinearLayout>
</LinearLayout>


<LinearLayout
android:id="@+id/feature_brand_sliderr"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="@dimen/space_5"
android:visibility="visible">


<LinearLayout
android:layout_width="match_parent"
android:layout_height="200dp"
android:background="#fff"
android:orientation="vertical">

<Fonts.LatoBLack
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/space_12"
android:layout_marginTop="@dimen/space_8"
android:text="@string/feature"
android:textColor="#000"
android:textSize="@dimen/text_size_small" />

<Fonts.LatoBLack
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/space_15"
android:layout_marginTop="@dimen/space_4"
android:text="@string/sponsered"
android:textColor="#000"
android:textSize="@dimen/text_size_small"
android:visibility="gone" />


<RelativeLayout
android:layout_width="match_parent"
android:layout_height="@dimen/slider_three_height"
android:elevation="5dp">

<com.daimajia.slider.library.SliderLayout
android:id="@+id/featured_img_slider"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/space_10" />
</RelativeLayout>


</LinearLayout>


</LinearLayout>


<LinearLayout
android:id="@+id/deal_linear_layout"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_gravity="center"
android:background="#f2f0f4"
android:gravity="center"
android:visibility="gone">

<Fonts.LatoBLack
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/deals"
android:textColor="#837e7e"
android:textSize="@dimen/text_size_normal" />


</LinearLayout>


<FrameLayout
android:id="@+id/deal_frame_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"

android:orientation="vertical"
android:visibility="visible">


<ImageView
android:id="@+id/deal_of_day_imageview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/del_1" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginTop="@dimen/space_8"
android:layout_marginBottom="@dimen/space_3"
android:orientation="horizontal"
android:paddingStart="@dimen/space_14">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/deals"
android:textColor="#fff"
android:textSize="@dimen/text_size_normal" />

<Button
android:id="@+id/view_all_deals"
style="@style/Widget.AppCompat.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="12dp"
android:paddingEnd="@dimen/space_3"
android:text="@string/view_all"
android:textAllCaps="false" />


<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginStart="12dp"
android:layout_weight="1"
android:orientation="vertical"
android:visibility="gone">


</LinearLayout>

<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="end|center"
android:layout_weight="1"
android:gravity="center|end"

android:visibility="gone">


</LinearLayout>


</LinearLayout>

<LinearLayout
android:id="@+id/deal_frame_layout1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="vertical">

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_deal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="40dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="@dimen/space_8"
android:scrollbars="none"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />


</LinearLayout>

</FrameLayout>

<!--
<LinearLayout
android:id="@+id/shop_by_Category_title"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_gravity="center"
android:layout_marginTop="@dimen/space_4"
android:background="#f2f0f4"
android:gravity="center">

<Fonts.LatoBLack
android:id="@+id/firebase"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/shop_by_category"
android:textColor="#837e7e"
android:textSize="@dimen/text_size_normal" />


</LinearLayout>

<LinearLayout
android:id="@+id/shop_by_category_recycler_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="#ffffff"
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ffffff"
android:orientation="vertical">

<android.support.v7.widget.RecyclerView
android:id="@+id/rv_home"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:scrollbars="none"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />


</LinearLayout>

</LinearLayout>

-->


<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginTop="12dp"
android:background="@color/colorAccent"
android:baselineAligned="false"
android:visibility="gone"
android:weightSum="2">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight=".5"
android:gravity="center"
android:orientation="vertical">

<ImageView
android:id="@+id/iv_call"
android:layout_width="25dp"
android:layout_height="25dp"
android:src="@drawable/call_answer" />

<TextView
android:id="@+id/textView3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/call_us" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight=".5"
android:gravity="center"
android:orientation="vertical">

<ImageView
android:id="@+id/iv_whatsapp"
android:layout_width="32dp"
android:layout_height="32dp"
android:src="@drawable/mywhatsapp" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/chat_us" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight=".5"
android:gravity="center"
android:orientation="vertical">

<ImageView
android:id="@+id/reviews"
android:layout_width="42dp"
android:layout_height="42dp"
android:src="@drawable/reviews" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/rate_us" />


</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight=".5"
android:gravity="center"
android:orientation="vertical">

<ImageView
android:id="@+id/share_via"
android:layout_width="32dp"
android:layout_height="32dp"
android:src="@drawable/share_via" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/share_us" />

</LinearLayout>

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/slider_two_height"
android:visibility="visible">

<com.daimajia.slider.library.SliderLayout
android:id="@+id/relative_banner"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="@dimen/space_5"
android:layout_marginTop="@dimen/space_5"
android:layout_marginEnd="@dimen/space_5"
android:layout_marginBottom="@dimen/space_5">

</com.daimajia.slider.library.SliderLayout>
</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="120dp"
android:background="#FFF2E1"
android:orientation="horizontal"
android:visibility="gone"
android:weightSum="2">

<!--<ImageView-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_marginTop="@dimen/space_15"-->
<!--android:src="@drawable/bottom_info" />-->

</LinearLayout>


</LinearLayout>
</androidx.core.widget.NestedScrollView>
</LinearLayout>

No comments:

Post a Comment