Showing
6 changed files
with
213 additions
and
0 deletions
This diff is collapsed. Click to expand it.
1 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
2 | + xmlns:app="http://schemas.android.com/apk/res-auto" | ||
3 | + android:layout_width="match_parent" | ||
4 | + android:layout_height="wrap_content"> | ||
5 | + | ||
6 | + <TextView | ||
7 | + android:id="@+id/tv_analysis_loyalty_title" | ||
8 | + android:layout_width="wrap_content" | ||
9 | + android:layout_height="wrap_content" | ||
10 | + android:layout_marginStart="10dp" | ||
11 | + android:text="Ανάλυση" | ||
12 | + android:textColor="@color/grey" | ||
13 | + android:textSize="18sp" | ||
14 | + android:textStyle="bold" /> | ||
15 | + | ||
16 | + <RelativeLayout | ||
17 | + android:layout_width="match_parent" | ||
18 | + android:layout_height="wrap_content" | ||
19 | + android:layout_below="@+id/tv_analysis_loyalty_title" | ||
20 | + android:layout_marginHorizontal="16dp" | ||
21 | + android:layout_marginTop="24dp" | ||
22 | + android:background="@drawable/shape_cos_white" | ||
23 | + android:paddingHorizontal="16dp" | ||
24 | + android:paddingVertical="24dp"> | ||
25 | + | ||
26 | + <Spinner | ||
27 | + android:id="@+id/sp_coupons" | ||
28 | + android:layout_width="match_parent" | ||
29 | + android:layout_height="60dp" | ||
30 | + android:layout_centerHorizontal="true" | ||
31 | + android:background="@drawable/shape_cos_grey" | ||
32 | + android:dropDownVerticalOffset="62dp" | ||
33 | + android:popupBackground="@drawable/shape_cos_grey" | ||
34 | + android:popupElevation="1dp" | ||
35 | + android:spinnerMode="dropdown" /> | ||
36 | + | ||
37 | + <include | ||
38 | + android:id="@+id/cl_tab_analysis" | ||
39 | + layout="@layout/tab_analysis" | ||
40 | + android:layout_width="match_parent" | ||
41 | + android:layout_height="wrap_content" | ||
42 | + android:layout_below="@+id/sp_coupons" | ||
43 | + android:layout_marginTop="32dp" /> | ||
44 | + | ||
45 | + <Spinner | ||
46 | + android:id="@+id/sp_redemption" | ||
47 | + android:layout_width="match_parent" | ||
48 | + android:layout_height="60dp" | ||
49 | + android:layout_below="@+id/cl_tab_analysis" | ||
50 | + android:layout_centerHorizontal="true" | ||
51 | + android:layout_marginTop="32dp" | ||
52 | + android:background="@drawable/shape_cos_sky_blue" | ||
53 | + android:dropDownVerticalOffset="62dp" | ||
54 | + android:popupBackground="@drawable/shape_cos_sky_blue" | ||
55 | + android:popupElevation="1dp" | ||
56 | + android:spinnerMode="dropdown" /> | ||
57 | + | ||
58 | + <androidx.constraintlayout.widget.ConstraintLayout | ||
59 | + android:layout_width="match_parent" | ||
60 | + android:layout_height="wrap_content" | ||
61 | + android:layout_below="@+id/sp_redemption" | ||
62 | + android:layout_marginTop="32dp"> | ||
63 | + | ||
64 | + <include | ||
65 | + android:id="@+id/cl_chart" | ||
66 | + layout="@layout/cos_piechart" | ||
67 | + android:layout_width="200dp" | ||
68 | + android:layout_height="200dp" | ||
69 | + app:layout_constraintEnd_toEndOf="parent" | ||
70 | + app:layout_constraintStart_toStartOf="parent" | ||
71 | + app:layout_constraintTop_toTopOf="parent" /> | ||
72 | + | ||
73 | + <include | ||
74 | + layout="@layout/cos_analysis" | ||
75 | + android:layout_width="match_parent" | ||
76 | + android:layout_height="wrap_content" | ||
77 | + android:layout_marginTop="32dp" | ||
78 | + app:layout_constraintEnd_toEndOf="@+id/cl_chart" | ||
79 | + app:layout_constraintStart_toStartOf="parent" | ||
80 | + app:layout_constraintTop_toBottomOf="@+id/cl_chart" /> | ||
81 | + </androidx.constraintlayout.widget.ConstraintLayout> | ||
82 | + </RelativeLayout> | ||
83 | +</RelativeLayout> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
2 | + android:layout_width="match_parent" | ||
3 | + android:layout_height="wrap_content"> | ||
4 | + | ||
5 | + <TextView | ||
6 | + android:id="@+id/tv_burnt_coupons_loyalty_title" | ||
7 | + android:layout_width="wrap_content" | ||
8 | + android:layout_height="wrap_content" | ||
9 | + android:layout_marginStart="10dp" | ||
10 | + android:text="Εξαργυρωμένα κουπόνια" | ||
11 | + android:textColor="@color/grey" | ||
12 | + android:textSize="18sp" | ||
13 | + android:textStyle="bold" /> | ||
14 | + | ||
15 | + <LinearLayout | ||
16 | + android:id="@+id/rl_home_burnt_coupons" | ||
17 | + android:layout_width="match_parent" | ||
18 | + android:layout_height="wrap_content" | ||
19 | + android:layout_below="@id/tv_burnt_coupons_loyalty_title"> | ||
20 | + | ||
21 | + <androidx.recyclerview.widget.RecyclerView | ||
22 | + android:id="@+id/rv_loyalty_burnt_coupons" | ||
23 | + android:layout_width="match_parent" | ||
24 | + android:layout_height="wrap_content" | ||
25 | + android:clipToPadding="false" | ||
26 | + android:orientation="horizontal" | ||
27 | + android:paddingEnd="10dp" /> | ||
28 | + </LinearLayout> | ||
29 | +</RelativeLayout> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
2 | + android:layout_width="match_parent" | ||
3 | + android:layout_height="wrap_content"> | ||
4 | + | ||
5 | + <TextView | ||
6 | + android:id="@+id/tv_coupons_loyalty_title" | ||
7 | + android:layout_width="wrap_content" | ||
8 | + android:layout_height="wrap_content" | ||
9 | + android:layout_marginStart="10dp" | ||
10 | + android:text="@string/cos_coupons_loyalty_title" | ||
11 | + android:textColor="@color/grey" | ||
12 | + android:textSize="18sp" | ||
13 | + android:textStyle="bold" /> | ||
14 | + | ||
15 | + <LinearLayout | ||
16 | + android:id="@+id/rl_home_coupons" | ||
17 | + android:layout_width="match_parent" | ||
18 | + android:layout_height="wrap_content" | ||
19 | + android:layout_below="@id/tv_coupons_loyalty_title"> | ||
20 | + | ||
21 | + <androidx.recyclerview.widget.RecyclerView | ||
22 | + android:id="@+id/rv_loyalty_coupons" | ||
23 | + android:layout_width="match_parent" | ||
24 | + android:layout_height="wrap_content" | ||
25 | + android:clipToPadding="false" | ||
26 | + android:orientation="horizontal" | ||
27 | + android:paddingEnd="10dp" /> | ||
28 | + </LinearLayout> | ||
29 | +</RelativeLayout> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
2 | + android:layout_width="match_parent" | ||
3 | + android:layout_height="wrap_content"> | ||
4 | + | ||
5 | + <TextView | ||
6 | + android:id="@+id/tv_gifts_loyalty_title" | ||
7 | + android:layout_width="wrap_content" | ||
8 | + android:layout_height="wrap_content" | ||
9 | + android:layout_marginStart="10dp" | ||
10 | + android:text="@string/cos_gifts_loyalty_title" | ||
11 | + android:textColor="@color/grey" | ||
12 | + android:textSize="18sp" | ||
13 | + android:textStyle="bold" /> | ||
14 | + | ||
15 | + <HorizontalScrollView | ||
16 | + android:id="@+id/ll_add" | ||
17 | + android:layout_width="match_parent" | ||
18 | + android:layout_height="wrap_content" | ||
19 | + android:layout_below="@id/tv_gifts_loyalty_title" | ||
20 | + android:layout_marginTop="32dp" | ||
21 | + android:scrollbars="none"> | ||
22 | + | ||
23 | + <LinearLayout | ||
24 | + android:layout_width="match_parent" | ||
25 | + android:layout_height="match_parent"> | ||
26 | + | ||
27 | + <include | ||
28 | + android:id="@+id/cl_loyalty_gift_item" | ||
29 | + layout="@layout/gift_layout" /> | ||
30 | + | ||
31 | + <include | ||
32 | + android:id="@+id/cl_loyalty_gift_item2" | ||
33 | + layout="@layout/gift_layout" /> | ||
34 | + </LinearLayout> | ||
35 | + </HorizontalScrollView> | ||
36 | +</RelativeLayout> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
2 | + android:layout_width="match_parent" | ||
3 | + android:layout_height="wrap_content"> | ||
4 | + | ||
5 | + <TextView | ||
6 | + android:id="@+id/tv_redeemed_gifts_loyalty_title" | ||
7 | + android:layout_width="wrap_content" | ||
8 | + android:layout_height="wrap_content" | ||
9 | + android:layout_marginStart="10dp" | ||
10 | + android:text="Εξαργυρωμένα δώρα" | ||
11 | + android:textColor="@color/grey" | ||
12 | + android:textSize="18sp" | ||
13 | + android:textStyle="bold" /> | ||
14 | + | ||
15 | + <HorizontalScrollView | ||
16 | + android:id="@+id/ll_redeemed" | ||
17 | + android:layout_width="match_parent" | ||
18 | + android:layout_height="wrap_content" | ||
19 | + android:layout_below="@id/tv_redeemed_gifts_loyalty_title" | ||
20 | + android:layout_marginTop="32dp" | ||
21 | + android:scrollbars="none"> | ||
22 | + | ||
23 | + <LinearLayout | ||
24 | + android:layout_width="match_parent" | ||
25 | + android:layout_height="match_parent"> | ||
26 | + | ||
27 | + <include | ||
28 | + android:id="@+id/cl_loyalty_gift_item" | ||
29 | + layout="@layout/redeemed_gift_layout" /> | ||
30 | + | ||
31 | + <include | ||
32 | + android:id="@+id/cl_loyalty_gift_item2" | ||
33 | + layout="@layout/redeemed_gift_layout" /> | ||
34 | + </LinearLayout> | ||
35 | + </HorizontalScrollView> | ||
36 | +</RelativeLayout> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment