package ur;

import android.app.Activity;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.view.View;
import android.view.ViewGroup;

/* loaded from: classes5.dex */
public class a implements m {

    /* renamed from: a, reason: collision with root package name */
    private final Activity f37697a;

    public a(Activity activity) {
        this.f37697a = activity;
    }

    @Override // ur.m
    public View a(int i10) {
        return this.f37697a.findViewById(i10);
    }

    @Override // ur.m
    public Resources b() {
        return this.f37697a.getResources();
    }

    @Override // ur.m
    public TypedArray c(int i10, int[] iArr) {
        return this.f37697a.obtainStyledAttributes(i10, iArr);
    }

    @Override // ur.m
    public Resources.Theme d() {
        return this.f37697a.getTheme();
    }

    @Override // ur.m
    public ViewGroup e() {
        return (ViewGroup) this.f37697a.getWindow().getDecorView();
    }

    @Override // ur.m
    public Context getContext() {
        return this.f37697a;
    }
}
