Skip to content

Commit 0e73aba

Browse files
committed
fixed the issue - when client gets clicked from client list after switching off wifi causes savings account to recur 3 times
1 parent cb6a079 commit 0e73aba

File tree

2 files changed

+102
-0
lines changed

2 files changed

+102
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:layout_width="match_parent"
4+
android:layout_height="wrap_content"
5+
android:layout_marginTop="10dp">
6+
7+
<com.joanzapata.iconify.widget.IconTextView
8+
android:id="@+id/tv_toggle_accounts_icon"
9+
android:layout_width="wrap_content"
10+
android:layout_height="wrap_content"
11+
android:layout_alignBaseline="@+id/tv_toggle_accounts"
12+
android:layout_alignParentLeft="true"
13+
android:layout_margin="4dp"
14+
android:text="{md-add-circle-outline}"
15+
android:textColor="@color/secondary_text"
16+
android:textSize="20sp" />
17+
18+
19+
<TextView
20+
android:id="@+id/tv_toggle_accounts"
21+
android:layout_width="wrap_content"
22+
android:layout_height="wrap_content"
23+
android:layout_toRightOf="@id/tv_toggle_accounts_icon"
24+
android:text="@string/savingAccounts" />
25+
26+
<TextView
27+
android:id="@+id/tv_count_accounts"
28+
android:layout_width="wrap_content"
29+
android:layout_height="wrap_content"
30+
android:layout_alignBaseline="@id/tv_toggle_accounts"
31+
android:layout_alignParentRight="true"
32+
android:text="0"
33+
android:textStyle="bold" />
34+
35+
<View
36+
android:id="@+id/line2"
37+
android:layout_width="wrap_content"
38+
android:layout_height="1dp"
39+
android:layout_below="@id/tv_toggle_accounts"
40+
android:layout_marginTop="5dp"
41+
android:background="@color/primary" />
42+
43+
<ListView
44+
android:id="@+id/lv_accounts"
45+
android:layout_width="match_parent"
46+
android:layout_height="200dp"
47+
android:layout_below="@+id/line2"
48+
android:layout_marginBottom="8dp"
49+
android:visibility="gone" />
50+
51+
</RelativeLayout>
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:layout_width="match_parent"
4+
android:layout_height="wrap_content"
5+
android:layout_marginTop="10dp">
6+
7+
<com.joanzapata.iconify.widget.IconTextView
8+
android:id="@+id/tv_toggle_accounts_icon"
9+
android:layout_width="wrap_content"
10+
android:layout_height="wrap_content"
11+
android:layout_alignBaseline="@+id/tv_toggle_accounts"
12+
android:layout_alignParentLeft="true"
13+
android:layout_margin="4dp"
14+
android:text="{md-add-circle-outline}"
15+
android:textColor="@color/secondary_text"
16+
android:textSize="20sp" />
17+
18+
19+
<TextView
20+
android:id="@+id/tv_toggle_accounts"
21+
android:layout_width="wrap_content"
22+
android:layout_height="wrap_content"
23+
android:layout_toRightOf="@id/tv_toggle_accounts_icon"
24+
android:text="@string/savingAccounts" />
25+
26+
<TextView
27+
android:id="@+id/tv_count_accounts"
28+
android:layout_width="wrap_content"
29+
android:layout_height="wrap_content"
30+
android:layout_alignBaseline="@id/tv_toggle_accounts"
31+
android:layout_alignParentRight="true"
32+
android:text="0"
33+
android:textStyle="bold" />
34+
35+
<View
36+
android:id="@+id/line2"
37+
android:layout_width="wrap_content"
38+
android:layout_height="1dp"
39+
android:layout_below="@id/tv_toggle_accounts"
40+
android:layout_marginTop="5dp"
41+
android:background="@color/primary" />
42+
43+
<ListView
44+
android:id="@+id/lv_accounts"
45+
android:layout_width="match_parent"
46+
android:layout_height="200dp"
47+
android:layout_below="@+id/line2"
48+
android:layout_marginBottom="8dp"
49+
android:visibility="gone" />
50+
51+
</RelativeLayout>

0 commit comments

Comments
 (0)