导航菜单

页面标题

页面副标题

Clash Legends v0.0.1 - OfflinePaymentActivity.java 源代码

正在查看: Clash Legends v0.0.1 应用的 OfflinePaymentActivity.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.clash.legends.ui.activities;

import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.text.Html;
import android.text.method.LinkMovementMethod;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import com.clash.legends.utils.LocaleHelper;
import com.clash.legends.utils.URLImageParser;

public class OfflinePaymentActivity extends AppCompatActivity {
    ImageView back;
    Context context;
    TextView paymentDesc;
    TextView paymentdesctitle;
    Resources resources;

    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(2131558465);
        Context locale = LocaleHelper.setLocale(this);
        this.context = locale;
        this.resources = locale.getResources();
        TextView textView = (TextView) findViewById(2131362996);
        this.paymentdesctitle = textView;
        textView.setText(this.resources.getString(2131886690));
        ImageView imageView = (ImageView) findViewById(2131361982);
        this.back = imageView;
        imageView.setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                OfflinePaymentActivity.this.m140xaac0898c(view);
            }
        });
        Intent intent = getIntent();
        String payDesc = intent.getStringExtra("paymentdesc");
        this.paymentDesc = (TextView) findViewById(2131362995);
        Log.d("paydesc", payDesc);
        TextView textView2 = this.paymentDesc;
        textView2.setText(Html.fromHtml(payDesc, new URLImageParser(textView2, this), null));
        this.paymentDesc.setClickable(true);
        this.paymentDesc.setMovementMethod(LinkMovementMethod.getInstance());
        Intent intent1 = new Intent();
        intent1.setAction("reload");
        sendBroadcast(intent1);
    }

    void m140xaac0898c(View view) {
        Intent intent = new Intent(getApplicationContext(), (Class<?>) AddMoneyActivity.class);
        startActivity(intent);
    }
}