Preyea Regmi
5 years ago
10 changed files with 483 additions and 8 deletions
-
BIN.idea/caches/build_file_checksums.ser
-
6app/src/main/AndroidManifest.xml
-
8app/src/main/java/com/gmeremit/online/gmeremittance_native/domesticremit/receipt/gateway/DomesticRemitReceiptGateway.java
-
6app/src/main/java/com/gmeremit/online/gmeremittance_native/domesticremit/receipt/presenter/DomesticRemitReceiptGatewayInterface.java
-
12app/src/main/java/com/gmeremit/online/gmeremittance_native/domesticremit/receipt/presenter/DomesticRemitReceiptPresenterImpl.java
-
13app/src/main/java/com/gmeremit/online/gmeremittance_native/domesticremit/receipt/presenter/DomesticRemitReceiptPresenterInterface.java
-
44app/src/main/java/com/gmeremit/online/gmeremittance_native/domesticremit/receipt/view/DomesticRemitReceiptActivity.java
-
390app/src/main/res/layout/activity_domestic_remit_receipt.xml
-
6app/src/main/res/layout/activity_reward_order_detail.xml
-
6app/src/main/res/layout/activity_send_money_v2_transaction_complete.xml
@ -0,0 +1,8 @@ |
|||
package com.gmeremit.online.gmeremittance_native.domesticremit.receipt.gateway; |
|||
|
|||
import com.gmeremit.online.gmeremittance_native.base.PrivilegedGateway; |
|||
import com.gmeremit.online.gmeremittance_native.domesticremit.receipt.presenter.DomesticRemitReceiptGatewayInterface; |
|||
|
|||
public class DomesticRemitReceiptGateway extends PrivilegedGateway implements DomesticRemitReceiptGatewayInterface { |
|||
|
|||
} |
@ -0,0 +1,6 @@ |
|||
package com.gmeremit.online.gmeremittance_native.domesticremit.receipt.presenter; |
|||
|
|||
import com.gmeremit.online.gmeremittance_native.base.PrivilegedGatewayInterface; |
|||
|
|||
public interface DomesticRemitReceiptGatewayInterface extends PrivilegedGatewayInterface { |
|||
} |
@ -0,0 +1,12 @@ |
|||
package com.gmeremit.online.gmeremittance_native.domesticremit.receipt.presenter; |
|||
|
|||
public class DomesticRemitReceiptPresenterImpl { |
|||
|
|||
private final DomesticRemitReceiptPresenterInterface.DomesticRemitReceiptViewContract view; |
|||
private final DomesticRemitReceiptGatewayInterface gateway; |
|||
|
|||
public DomesticRemitReceiptPresenterImpl(DomesticRemitReceiptPresenterInterface.DomesticRemitReceiptViewContract view, DomesticRemitReceiptGatewayInterface gateway) { |
|||
this.view=view; |
|||
this.gateway=gateway; |
|||
} |
|||
} |
@ -0,0 +1,13 @@ |
|||
package com.gmeremit.online.gmeremittance_native.domesticremit.receipt.presenter; |
|||
|
|||
import com.gmeremit.online.gmeremittance_native.base.BaseContractInterface; |
|||
import com.zoyi.channel.plugin.android.contract.BasePresenter; |
|||
|
|||
public interface DomesticRemitReceiptPresenterInterface extends BasePresenter { |
|||
|
|||
|
|||
public interface DomesticRemitReceiptViewContract extends BaseContractInterface |
|||
{ |
|||
|
|||
} |
|||
} |
@ -0,0 +1,44 @@ |
|||
package com.gmeremit.online.gmeremittance_native.domesticremit.receipt.view; |
|||
|
|||
import android.support.v7.app.AppCompatActivity; |
|||
import android.os.Bundle; |
|||
import android.view.View; |
|||
import android.widget.TextView; |
|||
|
|||
import com.gmeremit.online.gmeremittance_native.R; |
|||
|
|||
import butterknife.BindView; |
|||
import butterknife.ButterKnife; |
|||
|
|||
public class DomesticRemitReceiptActivity extends AppCompatActivity { |
|||
|
|||
|
|||
@BindView(R.id.toolbar_title) |
|||
TextView toolbar_title; |
|||
|
|||
@BindView(R.id.iv_back) |
|||
View iv_back; |
|||
|
|||
@BindView(R.id.iv_cancel) |
|||
View iv_cancel; |
|||
|
|||
@Override |
|||
protected void onCreate(Bundle savedInstanceState) { |
|||
super.onCreate(savedInstanceState); |
|||
setContentView(R.layout.activity_domestic_remit_receipt); |
|||
ButterKnife.bind(this); |
|||
performDefaultAction(savedInstanceState); |
|||
} |
|||
|
|||
private void performDefaultAction(Bundle savedInstanceState) { |
|||
if(savedInstanceState==null) |
|||
{ |
|||
iv_cancel.setVisibility(View.INVISIBLE); |
|||
toolbar_title.setText(getString(R.string.detail_order_title_text)); |
|||
} |
|||
else |
|||
{ |
|||
|
|||
} |
|||
} |
|||
} |
@ -0,0 +1,390 @@ |
|||
<?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="@color/background_gray" |
|||
android:orientation="vertical" |
|||
> |
|||
<include layout="@layout/layout_sendmoney_toolbar" /> |
|||
|
|||
<ScrollView |
|||
android:layout_width="match_parent" |
|||
android:layout_height="match_parent"> |
|||
|
|||
<LinearLayout |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:background="@color/background_gray" |
|||
android:orientation="vertical"> |
|||
|
|||
<android.support.constraint.ConstraintLayout |
|||
android:id="@+id/relativeLayout5" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_margin="10dp" |
|||
android:background="@drawable/ic_wallet_status_background"> |
|||
|
|||
<ImageView |
|||
android:id="@+id/logo" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginTop="14dp" |
|||
android:src="@drawable/ic_gme_logo_white" |
|||
app:layout_constraintLeft_toLeftOf="parent" |
|||
app:layout_constraintRight_toRightOf="parent" |
|||
app:layout_constraintTop_toTopOf="parent" |
|||
tools:layout_conversion_wrapHeight="140" |
|||
tools:layout_conversion_wrapWidth="140" /> |
|||
|
|||
|
|||
|
|||
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
|||
android:id="@+id/transfer_label" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginTop="15dp" |
|||
android:padding="6dp" |
|||
android:textColor="@color/white" |
|||
android:textSize="19sp" |
|||
tools:text="You have successfull transferred t" |
|||
app:layout_constraintLeft_toLeftOf="parent" |
|||
app:layout_constraintRight_toRightOf="parent" |
|||
app:layout_constraintTop_toBottomOf="@id/logo" |
|||
app:txtfontName="@string/semibold" |
|||
tools:layout_conversion_wrapHeight="134" |
|||
tools:layout_conversion_wrapWidth="42" /> |
|||
</android.support.constraint.ConstraintLayout> |
|||
|
|||
<RelativeLayout |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_margin="10dp" |
|||
android:background="@drawable/ic_rectangle_white_extra_corners"> |
|||
<LinearLayout |
|||
android:id="@+id/nameContainer" |
|||
android:layout_width="match_parent" |
|||
android:weightSum="1" |
|||
android:layout_height="wrap_content" |
|||
android:orientation="horizontal"> |
|||
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:padding="10dp" |
|||
android:text="Transaction Date" |
|||
android:textColor="@color/darkgray" |
|||
android:textSize="14sp" /> |
|||
|
|||
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
|||
android:id="@+id/tv_transaction_date" |
|||
android:layout_width="0dp" |
|||
android:layout_weight="1" |
|||
android:gravity="end" |
|||
android:layout_height="wrap_content" |
|||
android:padding="10dp" |
|||
android:textColor="@color/darkgray" |
|||
android:textSize="14sp" |
|||
app:txtfontName="@string/semibold" /> |
|||
</LinearLayout> |
|||
|
|||
<View |
|||
android:layout_width="match_parent" |
|||
android:layout_height="1dp" |
|||
android:layout_below="@id/nameContainer" |
|||
android:background="@color/gray" /> |
|||
|
|||
|
|||
|
|||
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
|||
android:id="@+id/receiver_label" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_below="@id/nameContainer" |
|||
android:padding="10dp" |
|||
android:text="Receiver" |
|||
android:textColor="@color/darkgray" |
|||
android:textSize="14sp" /> |
|||
|
|||
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
|||
android:id="@+id/tv_receiver_name" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_alignParentEnd="true" |
|||
android:layout_below="@id/nameContainer" |
|||
android:maxLength="25" |
|||
android:padding="10dp" |
|||
android:singleLine="true" |
|||
android:textColor="@color/darkgray" |
|||
android:textSize="14sp" |
|||
app:txtfontName="@string/semibold" /> |
|||
|
|||
<View |
|||
android:layout_width="match_parent" |
|||
android:layout_height="1dp" |
|||
android:layout_below="@id/receiver_label" |
|||
android:background="@color/gray" /> |
|||
|
|||
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
|||
android:id="@+id/mobile_label" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_below="@id/receiver_label" |
|||
android:padding="10dp" |
|||
android:text="@string/mobile_text" |
|||
android:textColor="@color/darkgray" |
|||
android:textSize="14sp" /> |
|||
|
|||
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
|||
android:id="@+id/tv_mobile_no" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_alignParentRight="true" |
|||
android:layout_below="@id/tv_mobile_no" |
|||
android:padding="10dp" |
|||
android:textColor="@color/darkgray" |
|||
android:textSize="14sp" |
|||
app:txtfontName="@string/semibold" /> |
|||
|
|||
<View |
|||
android:layout_width="match_parent" |
|||
android:layout_height="1dp" |
|||
android:layout_below="@id/mobile_label" |
|||
android:background="@color/gray" /> |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
<LinearLayout |
|||
android:id="@+id/notForHome" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_below="@id/mobile_label" |
|||
android:orientation="vertical"> |
|||
|
|||
<View |
|||
android:layout_width="match_parent" |
|||
android:layout_height="1dp" |
|||
|
|||
android:background="@color/gray" /> |
|||
|
|||
|
|||
<LinearLayout |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content"> |
|||
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:padding="10dp" |
|||
android:gravity="left" |
|||
android:text="Total Sent Amount" |
|||
android:textColor="@color/darkgray" |
|||
android:textSize="14sp" /> |
|||
|
|||
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
|||
android:id="@+id/tv_total_sent_amount" |
|||
android:layout_width="0dp" |
|||
android:layout_weight="1" |
|||
android:gravity="right" |
|||
android:layout_height="wrap_content" |
|||
android:ellipsize="end" |
|||
android:maxLines="2" |
|||
android:padding="10dp" |
|||
android:singleLine="false" |
|||
android:text="" |
|||
android:textColor="@color/darkgray" |
|||
android:textSize="14sp" |
|||
app:txtfontName="@string/semibold" |
|||
/> |
|||
</LinearLayout> |
|||
|
|||
|
|||
|
|||
|
|||
</LinearLayout> |
|||
|
|||
|
|||
<View |
|||
android:id="@+id/total_sent_amount_divider" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="1dp" |
|||
android:layout_below="@id/notForHome" |
|||
android:background="@color/gray" /> |
|||
|
|||
<RelativeLayout |
|||
android:id="@+id/total_sent_amount_layout" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_below="@id/total_sent_amount_divider"> |
|||
|
|||
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:padding="10dp" |
|||
android:text="Service Fee" |
|||
android:textColor="@color/darkgray" |
|||
android:textSize="14sp" /> |
|||
|
|||
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
|||
android:id="@+id/tv_service_fee" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_alignParentRight="true" |
|||
android:padding="10dp" |
|||
android:text="" |
|||
android:textColor="@color/darkgray" |
|||
android:textSize="14sp" |
|||
app:txtfontName="@string/semibold" /> |
|||
</RelativeLayout> |
|||
|
|||
<!----> |
|||
<!--<View--> |
|||
<!--android:id="@+id/service_fee_divider"--> |
|||
<!--android:layout_width="match_parent"--> |
|||
<!--android:layout_height="1dp"--> |
|||
<!--android:layout_below="@id/total_sent_amount_layout"--> |
|||
<!--android:background="@color/gray" />--> |
|||
|
|||
<!--<RelativeLayout--> |
|||
<!--android:id="@+id/service_fee_layout"--> |
|||
<!--android:layout_width="match_parent"--> |
|||
<!--android:layout_height="wrap_content"--> |
|||
<!--android:layout_below="@id/service_fee_divider">--> |
|||
|
|||
<!--<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView--> |
|||
<!--android:id="@+id/tv_order_date_label"--> |
|||
<!--android:layout_width="wrap_content"--> |
|||
<!--android:layout_height="wrap_content"--> |
|||
<!--android:padding="10dp"--> |
|||
<!--android:text="@string/order_date_text"--> |
|||
<!--android:textColor="@color/darkgray"--> |
|||
<!--android:textSize="14sp" />--> |
|||
|
|||
<!--<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView--> |
|||
<!--android:id="@+id/tv_order_date"--> |
|||
<!--android:layout_width="wrap_content"--> |
|||
<!--android:layout_height="wrap_content"--> |
|||
<!--android:layout_alignParentRight="true"--> |
|||
<!--android:padding="10dp"--> |
|||
<!--android:textColor="@color/darkgray"--> |
|||
<!--android:textSize="14sp"--> |
|||
<!--app:txtfontName="@string/semibold" />--> |
|||
<!--</RelativeLayout>--> |
|||
|
|||
<!--<!––>--> |
|||
<!--<View--> |
|||
<!--android:id="@+id/exrate_divider"--> |
|||
<!--android:layout_width="match_parent"--> |
|||
<!--android:layout_height="1dp"--> |
|||
<!--android:layout_below="@id/service_fee_layout"--> |
|||
<!--android:background="@color/gray" />--> |
|||
<!--<RelativeLayout--> |
|||
<!--android:id="@+id/exrate_layout"--> |
|||
<!--android:layout_width="match_parent"--> |
|||
<!--android:layout_height="wrap_content"--> |
|||
<!--android:layout_below="@id/exrate_divider">--> |
|||
|
|||
<!--<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView--> |
|||
<!--android:layout_width="wrap_content"--> |
|||
<!--android:layout_height="wrap_content"--> |
|||
<!--android:padding="10dp"--> |
|||
<!--android:id="@+id/order_receive_lbl"--> |
|||
<!--android:text="@string/order_receive_date_text"--> |
|||
<!--android:textColor="@color/darkgray"--> |
|||
<!--android:textSize="14sp" />--> |
|||
|
|||
<!--<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView--> |
|||
<!--android:id="@+id/tv_order_receive_date_text"--> |
|||
<!--android:layout_width="wrap_content"--> |
|||
<!--android:layout_height="wrap_content"--> |
|||
<!--android:layout_alignParentRight="true"--> |
|||
<!--android:padding="10dp"--> |
|||
<!--android:textColor="@color/darkgray"--> |
|||
<!--android:textSize="14sp"--> |
|||
<!--app:txtfontName="@string/semibold" />--> |
|||
<!--</RelativeLayout>--> |
|||
|
|||
<!--<View--> |
|||
<!--android:id="@+id/total_amount_divider"--> |
|||
<!--android:layout_width="match_parent"--> |
|||
<!--android:layout_height="1dp"--> |
|||
<!--android:layout_below="@id/exrate_layout"--> |
|||
<!--android:background="@color/gray" />--> |
|||
|
|||
<!--<RelativeLayout--> |
|||
<!--android:id="@+id/order_no_text"--> |
|||
<!--android:layout_width="match_parent"--> |
|||
<!--android:layout_height="wrap_content"--> |
|||
<!--android:layout_below="@id/total_amount_divider">--> |
|||
|
|||
<!--<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView--> |
|||
<!--android:layout_width="wrap_content"--> |
|||
<!--android:layout_height="wrap_content"--> |
|||
<!--android:padding="10dp"--> |
|||
<!--android:text="@string/order_no_text"--> |
|||
<!--android:textColor="@color/darkgray"--> |
|||
<!--android:textSize="14sp" />--> |
|||
|
|||
<!--<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView--> |
|||
<!--android:id="@+id/tv_order_no"--> |
|||
<!--android:layout_width="wrap_content"--> |
|||
<!--android:layout_height="wrap_content"--> |
|||
<!--android:layout_alignParentRight="true"--> |
|||
<!--android:padding="10dp"--> |
|||
<!--android:textColor="@color/darkgray"--> |
|||
<!--android:textSize="14sp"--> |
|||
<!--app:txtfontName="@string/semibold" />--> |
|||
<!--</RelativeLayout>--> |
|||
|
|||
<!--<View--> |
|||
<!--android:id="@+id/order_no_text_divider"--> |
|||
<!--android:layout_width="match_parent"--> |
|||
<!--android:layout_height="1dp"--> |
|||
<!--android:layout_below="@id/order_no_text"--> |
|||
<!--android:background="@color/gray" />--> |
|||
<!--<RelativeLayout--> |
|||
<!--android:layout_width="match_parent"--> |
|||
<!--android:layout_height="wrap_content"--> |
|||
<!--android:layout_below="@id/order_no_text_divider">--> |
|||
|
|||
<!--<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView--> |
|||
<!--android:layout_width="wrap_content"--> |
|||
<!--android:layout_height="wrap_content"--> |
|||
<!--android:padding="10dp"--> |
|||
<!--android:text="@string/order_type_text"--> |
|||
<!--android:textColor="@color/darkgray"--> |
|||
<!--android:textSize="14sp" />--> |
|||
|
|||
<!--<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView--> |
|||
<!--android:id="@+id/tv_order_type"--> |
|||
<!--android:layout_width="wrap_content"--> |
|||
<!--android:layout_height="wrap_content"--> |
|||
<!--android:layout_alignParentRight="true"--> |
|||
<!--android:padding="10dp"--> |
|||
<!--android:textColor="@color/darkgray"--> |
|||
<!--android:textSize="14sp"--> |
|||
<!--app:txtfontName="@string/semibold" />--> |
|||
<!--</RelativeLayout>--> |
|||
</RelativeLayout> |
|||
|
|||
|
|||
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeButton |
|||
android:visibility="invisible" |
|||
android:id="@+id/btn_submit" |
|||
android:layout_width="200dp" |
|||
android:layout_height="45dp" |
|||
android:layout_centerInParent="true" |
|||
android:layout_gravity="center" |
|||
android:layout_marginBottom="30dp" |
|||
android:layout_marginTop="20dp" |
|||
android:background="@drawable/ic_rounded_background_red_coloured" |
|||
android:text="@string/done_text" |
|||
android:textAllCaps="false" |
|||
android:textColor="@color/white" |
|||
android:textSize="16sp" /> |
|||
|
|||
|
|||
</LinearLayout> |
|||
</ScrollView> |
|||
</LinearLayout> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue