Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

fix: Deleted unwanted message #110

Merged
merged 1 commit into from
Aug 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public void onCheckedChanged(RadioGroup group, int checkedId) {
insertDataBinding.spinner1.setVisibility(View.GONE);
insertDataBinding.moneyDonated.setVisibility(View.VISIBLE);
insertDataBinding.custompooja.setVisibility(View.GONE);
insertDataBinding.selectText.setVisibility(View.GONE);
insertDataBinding.amount.setVisibility(View.GONE);
id = getResources().getString(R.string.DON);
flag = 0;
Expand All @@ -92,6 +93,7 @@ public void onCheckedChanged(RadioGroup group, int checkedId) {
insertDataBinding.moneyDonated.setVisibility(View.GONE);
insertDataBinding.spinner1.setVisibility(View.VISIBLE);
insertDataBinding.amount.setVisibility(View.VISIBLE);
insertDataBinding.selectText.setVisibility(View.VISIBLE);
id = getString(R.string.REG);
flag = 1;
Toast.makeText(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ public void onCheckedChanged(RadioGroup group, int checkedId) {
binding.totalView.setVisibility(View.VISIBLE);
binding.spinner1.setVisibility(View.GONE);
binding.moneyDonated.setVisibility(View.VISIBLE);
binding.Select.setVisibility(View.GONE);
binding.custompooja.setVisibility(View.GONE);
id = getString(R.string.DON);
flag = 0;
Toast.makeText(getBaseContext(), getString(R.string.UPDATE), Toast.LENGTH_SHORT).show();
Expand All @@ -89,7 +91,8 @@ public void onCheckedChanged(RadioGroup group, int checkedId) {
binding.totalView.setVisibility(View.VISIBLE);
binding.moneyDonated.setVisibility(View.GONE);
binding.spinner1.setVisibility(View.VISIBLE);
binding.amount.setVisibility(View.VISIBLE);
binding.Select.setVisibility(View.VISIBLE);

id = getString(R.string.REG);
flag = 1;
Toast.makeText(getBaseContext(), getString(R.string.update_pooja), Toast.LENGTH_SHORT)
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/insert_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
android:hint="@string/name" />

<TextView
android:id="@+id/select_text"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="@dimen/margin_45"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/update_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@


<TextView
android:id="@+id/Select"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/margin_45"
Expand Down