thkouk00

fixes in home

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:startColor="@color/cos_green3"
android:centerColor="@color/cos_cyan"
android:type="linear"/>
<!-- <corners-->
<!-- android:radius="9dp"/>-->
<!-- <stroke android:width="2dp"-->
<!-- android:color="@color/white_tr"/>-->
</shape>
\ No newline at end of file
......@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="@dimen/width_full"
android:layout_height="240dp"
android:layout_height="@dimen/height_carousel"
android:layout_marginLeft="10dp"
android:background="@drawable/bottom_border">
......
......@@ -4,8 +4,7 @@
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="@color/cos_cyan">
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
......@@ -18,7 +17,7 @@
android:layout_height="wrap_content"
android:background="@android:color/white"
android:paddingHorizontal="16dp"
android:paddingVertical="16dp">
android:paddingTop="16dp">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/user_img"
......@@ -94,142 +93,149 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<RelativeLayout
android:id="@+id/rl_home_campaigns"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/rl_header"
android:layout_marginTop="16dp">
android:layout_below="@+id/rl_header"
android:background="@drawable/home_bg">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_home_campaigns"
<RelativeLayout
android:id="@+id/rl_home_campaigns"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:clipToPadding="false"
android:orientation="horizontal"
android:paddingStart="10dp"
android:paddingEnd="10dp" />
</RelativeLayout>
android:layout_marginTop="50dp">
<LinearLayout
android:id="@+id/rl_home_coupons"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/rl_home_campaigns">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_home_campaigns"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:background="#80FFFFFF"
android:clipToPadding="false"
android:orientation="horizontal"
android:paddingVertical="15dp"
android:paddingStart="10dp"
android:paddingEnd="10dp" />
</RelativeLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_home_coupons"
<LinearLayout
android:id="@+id/rl_home_coupons"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:clipToPadding="false"
android:orientation="horizontal"
android:paddingStart="10dp"
android:paddingEnd="10dp" />
</LinearLayout>
<include
android:id="@+id/rl_home_info_widget"
layout="@layout/info_widget"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/rl_home_coupons"
android:layout_marginHorizontal="8dp" />
android:layout_below="@id/rl_home_campaigns">
<TextView
android:id="@+id/hsv_title"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_below="@+id/rl_home_info_widget"
android:layout_marginTop="20dp"
android:background="@android:color/white"
android:paddingHorizontal="25dp"
android:paddingTop="10dp"
android:text="Βρες γρήγορα"
android:textColor="#3C464F" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_home_coupons"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:orientation="horizontal"
android:paddingStart="10dp"
android:paddingEnd="10dp" />
</LinearLayout>
<HorizontalScrollView
android:id="@+id/ll_add"
android:layout_width="match_parent"
android:layout_height="110dp"
android:layout_below="@id/hsv_title"
android:background="@android:color/white"
android:paddingBottom="10dp"
android:scrollbars="none">
<include
android:id="@+id/rl_home_info_widget"
layout="@layout/info_widget"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/rl_home_coupons"
android:layout_marginHorizontal="8dp" />
<LinearLayout
<TextView
android:id="@+id/hsv_title"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="@drawable/divider"
android:showDividers="middle">
android:layout_height="40dp"
android:layout_below="@+id/rl_home_info_widget"
android:layout_marginTop="25dp"
android:background="@android:color/white"
android:paddingHorizontal="25dp"
android:paddingTop="10dp"
android:text="Βρες γρήγορα"
android:textColor="#3C464F" />
<HorizontalScrollView
android:id="@+id/ll_add"
android:layout_width="match_parent"
android:layout_height="110dp"
android:layout_below="@id/hsv_title"
android:background="@android:color/white"
android:paddingBottom="10dp"
android:scrollbars="none">
<LinearLayout
android:id="@+id/ll_bill_payment"
android:layout_width="150dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:paddingHorizontal="10dp">
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/doc" />
<TextView
android:layout_width="match_parent"
android:layout_height="40dp"
android:gravity="center"
android:scrollHorizontally="true"
android:text="Πληρωμή λογαριασμού"
android:textAlignment="center"
android:textColor="#3C464F" />
</LinearLayout>
android:divider="@drawable/divider"
android:showDividers="middle">
<LinearLayout
android:layout_width="150dp"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:paddingHorizontal="10dp">
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/message" />
<TextView
android:layout_width="match_parent"
android:layout_height="40dp"
<LinearLayout
android:id="@+id/ll_bill_payment"
android:layout_width="150dp"
android:layout_height="match_parent"
android:gravity="center"
android:scrollHorizontally="true"
android:text="Υποστήριξη"
android:textAlignment="center"
android:textColor="#3C464F" />
</LinearLayout>
<LinearLayout
android:layout_width="150dp"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:paddingHorizontal="10dp">
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/doc" />
<TextView
android:layout_width="match_parent"
android:layout_height="40dp"
android:orientation="vertical"
android:paddingHorizontal="10dp">
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/doc" />
<TextView
android:layout_width="match_parent"
android:layout_height="40dp"
android:gravity="center"
android:scrollHorizontally="true"
android:text="Πληρωμή λογαριασμού"
android:textAlignment="center"
android:textColor="#3C464F" />
</LinearLayout>
<LinearLayout
android:layout_width="150dp"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:paddingHorizontal="10dp">
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/message" />
<TextView
android:layout_width="match_parent"
android:layout_height="40dp"
android:gravity="center"
android:scrollHorizontally="true"
android:text="Υποστήριξη"
android:textAlignment="center"
android:textColor="#3C464F" />
</LinearLayout>
<LinearLayout
android:layout_width="150dp"
android:layout_height="match_parent"
android:gravity="center"
android:scrollHorizontally="true"
android:text="Πληρωμή λογαριασμού"
android:textAlignment="center"
android:textColor="#3C464F" />
android:orientation="vertical"
android:paddingHorizontal="10dp">
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/doc" />
<TextView
android:layout_width="match_parent"
android:layout_height="40dp"
android:gravity="center"
android:scrollHorizontally="true"
android:text="Πληρωμή λογαριασμού"
android:textAlignment="center"
android:textColor="#3C464F" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</HorizontalScrollView>
</HorizontalScrollView>
</RelativeLayout>
</RelativeLayout>
</ScrollView>
......
<resources>
<dimen name="width_full">360dp</dimen>
<dimen name="height_carousel">240dp</dimen>
</resources>
......
<resources>
<dimen name="width_full">320dp</dimen>
<dimen name="height_carousel">220dp</dimen>
</resources>
......
......@@ -13,6 +13,7 @@
<color name="cos_cyan">#A3F2DA</color>
<color name="grey_light">#f1f1f2</color>
<color name="cos_green2">#52DF5A</color>
<color name="cos_green3">#68BB7E</color>
<color name="green_dark">#1DA87A</color>
<color name="cos_blue2">#0478BE</color>
<color name="white_tr2">#77FFFFFF</color>
......