DELTALABSITE https://www.deltalabsite.com/2019/02/guide-custom-background-color-for.html

[GUIDE] CUSTOM BACKGROUND COLOR for WHATSAPP STATUSES / STORIES


  1. Extract files to your project
  2. Open TextStatusComposerActivity.smali search .field p:I change to public
       
    #Before
    .field p:I
    
    #After
    .field public p:I
    
    
  3. Search .method final h()V add this code bellow .locals 3
       invoke-direct {p0}, Lcom/whatsapp/TextStatusComposerActivity;->customColor()V
    
  4. Add this code above .method final h()V
    .method private customColor()V
        .locals 3
    
        .line 27
        const-string v0, "mCustomColor"
    
        invoke-static {v0}, Lbegaldev/utils/Tools;->intId(Ljava/lang/String;)I
    
        move-result v0
    
        invoke-virtual {p0, v0}, Lcom/whatsapp/TextStatusComposerActivity;->findViewById(I)Landroid/view/View;
    
        move-result-object v0
    
        .line 28
        .local v0, "mCustom":Landroid/view/View;
        new-instance v1, Lid/delta/whatsapp/implement/OnCustomPicker;
    
        iget v2, p0, Lcom/whatsapp/TextStatusComposerActivity;->p:I
    
        invoke-direct {v1, p0, v2}, Lid/delta/whatsapp/implement/OnCustomPicker;-><init>(Lcom/whatsapp/TextStatusComposerActivity;I)V
    
        invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
    
        .line 44
        return-void
    .end method
    
  5. Open layout text_status_composer.xml add this code bellow android:id="@id/color_picker_btn"
    <com.whatsapp.WaImageButton android:id="@+id/mCustomColor" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/delta_ic_statusbar" android:scaleType="center" android:tint="@android:color/white" style="@style/ActionBarButtonStyle" />
    
  6. Final code :
    TextStatusComposerActivity.smali
    
    .class public Lcom/whatsapp/TextStatusComposerActivity;
    .super Lcom/whatsapp/awt;
    .source ""
    
    # interfaces
    .implements Lcom/whatsapp/FirstStatusConfirmationDialogFragment$a;
    
    
    # instance fields
    .field public A:Ljava/lang/String;
    
    .field public B:Ljava/lang/String;
    
    .field public final C:Landroid/os/Handler;
    
    .field public D:Ljava/lang/Runnable;
    
    .field private final E:Lcom/whatsapp/gif_search/k;
    
    .field public final F:Lcom/whatsapp/util/eg;
    
    .field public final G:Lcom/whatsapp/rs;
    
    .field private final H:Lcom/whatsapp/fieldstats/v;
    
    .field public final I:Lcom/whatsapp/emoji/c;
    
    .field private final J:Lcom/whatsapp/data/fb;
    
    .field private final K:Lcom/whatsapp/atr;
    
    .field private final L:Lcom/whatsapp/emoji/m;
    
    .field private final M:Lcom/whatsapp/stickers/f;
    
    .field public final N:Lcom/whatsapp/i/f;
    
    .field private final O:Lcom/whatsapp/data/bb;
    
    .field private final P:Lcom/whatsapp/data/dh;
    
    .field private final Q:Lcom/whatsapp/data/ep;
    
    .field private final R:[I
    
    .field private S:Z
    
    .field public n:Lcom/whatsapp/MentionableEntry;
    
    .field o:Landroid/widget/ImageButton;
    
    .field public p:I
    
    .field q:I
    
    .field final r:Lcom/whatsapp/EmojiPicker$b;
    
    .field public s:Landroid/widget/ImageButton;
    
    .field private t:Landroid/widget/TextView;
    
    .field private u:Lcom/whatsapp/gif_search/h;
    
    .field private v:Lcom/whatsapp/gif_search/f;
    
    .field private w:Landroid/view/View;
    
    .field private x:Landroid/view/ViewGroup;
    
    .field public y:Landroid/view/View;
    
    .field public z:Lcom/whatsapp/axq;
    
    
    # direct methods
    .method public constructor <init>()V
        .locals 2
    
        .line 236728
        invoke-direct {p0}, Lcom/whatsapp/awt;-><init>()V
    
        .line 236729
        invoke-static {}, Lcom/whatsapp/statusplayback/z;->a()I
    
        move-result v0
    
        iput v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->p:I
    
        const/4 v0, 0x0
    
        .line 236730
        iput v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->q:I
    
        .line 236731
        new-instance v1, Landroid/os/Handler;
    
        invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
    
        move-result-object v0
    
        invoke-direct {v1, v0}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
    
        iput-object v1, p0, Lcom/whatsapp/TextStatusComposerActivity;->C:Landroid/os/Handler;
    
        .line 236732
        invoke-static {}, Lcom/whatsapp/gif_search/k;->a()Lcom/whatsapp/gif_search/k;
    
        move-result-object v0
    
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->E:Lcom/whatsapp/gif_search/k;
    
        .line 236733
        invoke-static {}, Lcom/whatsapp/util/eg;->b()Lcom/whatsapp/util/eg;
    
        move-result-object v0
    
        .line 236734
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->F:Lcom/whatsapp/util/eg;
    
        .line 236735
        invoke-static {}, Lcom/whatsapp/rs;->a()Lcom/whatsapp/rs;
    
        move-result-object v0
    
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->G:Lcom/whatsapp/rs;
    
        .line 236736
        invoke-static {}, Lcom/whatsapp/fieldstats/v;->a()Lcom/whatsapp/fieldstats/v;
    
        move-result-object v0
    
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->H:Lcom/whatsapp/fieldstats/v;
    
        .line 236737
        invoke-static {}, Lcom/whatsapp/emoji/c;->a()Lcom/whatsapp/emoji/c;
    
        move-result-object v0
    
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->I:Lcom/whatsapp/emoji/c;
    
        .line 236738
        invoke-static {}, Lcom/whatsapp/data/fb;->a()Lcom/whatsapp/data/fb;
    
        move-result-object v0
    
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->J:Lcom/whatsapp/data/fb;
    
        .line 236739
        invoke-static {}, Lcom/whatsapp/atr;->a()Lcom/whatsapp/atr;
    
        move-result-object v0
    
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->K:Lcom/whatsapp/atr;
    
        .line 236740
        invoke-static {}, Lcom/whatsapp/emoji/m;->a()Lcom/whatsapp/emoji/m;
    
        move-result-object v0
    
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->L:Lcom/whatsapp/emoji/m;
    
        .line 236741
        invoke-static {}, Lcom/whatsapp/stickers/f;->a()Lcom/whatsapp/stickers/f;
    
        move-result-object v0
    
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->M:Lcom/whatsapp/stickers/f;
    
        .line 236742
        invoke-static {}, Lcom/whatsapp/i/f;->a()Lcom/whatsapp/i/f;
    
        move-result-object v0
    
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->N:Lcom/whatsapp/i/f;
    
        .line 236743
        invoke-static {}, Lcom/whatsapp/data/bb;->a()Lcom/whatsapp/data/bb;
    
        move-result-object v0
    
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->O:Lcom/whatsapp/data/bb;
    
        .line 236744
        sget-object v0, Lcom/whatsapp/data/dh;->a:Lcom/whatsapp/data/dh;
    
        .line 236745
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->P:Lcom/whatsapp/data/dh;
    
        .line 236746
        invoke-static {}, Lcom/whatsapp/data/ep;->a()Lcom/whatsapp/data/ep;
    
        move-result-object v0
    
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->Q:Lcom/whatsapp/data/ep;
    
        .line 236747
        new-instance v0, Lcom/whatsapp/TextStatusComposerActivity$1;
    
        invoke-direct {v0, p0}, Lcom/whatsapp/TextStatusComposerActivity$1;-><init>(Lcom/whatsapp/TextStatusComposerActivity;)V
    
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->r:Lcom/whatsapp/EmojiPicker$b;
    
        const/4 v0, 0x2
    
        .line 236748
        new-array v0, v0, [I
    
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->R:[I
    
        return-void
    .end method
    
    .method static synthetic a(Lcom/whatsapp/TextStatusComposerActivity;Ljava/io/File;)V
        .locals 5
    
        .line 236750
        invoke-virtual {p1}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
    
        move-result-object v2
    
        .line 236751
        new-instance v4, Landroid/content/Intent;
    
        const-class v0, Lcom/whatsapp/gallerypicker/MediaPreviewActivity;
    
        invoke-direct {v4, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
    
        const-string v1, "jid"
    
        const-string v0, "status@broadcast"
    
        .line 236752
        invoke-virtual {v4, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
    
        const-string v1, "max_items"
    
        const/4 v0, 0x0
    
        .line 236753
        invoke-virtual {v4, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
    
        .line 236754
        new-instance v0, Ljava/io/File;
    
        invoke-direct {v0, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V
    
        invoke-static {v0}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri;
    
        move-result-object v3
    
        .line 236755
        new-instance v1, Ljava/util/ArrayList;
    
        invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
    
        .line 236756
        invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
    
        const-string v0, "android.intent.extra.STREAM"
    
        .line 236757
        invoke-virtual {v4, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;
    
        .line 236758
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        invoke-virtual {v0}, Lcom/whatsapp/MentionableEntry;->getStringText()Ljava/lang/String;
    
        move-result-object v0
    
        invoke-static {v0}, Lcom/whatsapp/emoji/e;->b(Ljava/lang/String;)Ljava/lang/String;
    
        move-result-object v1
    
        .line 236759
        new-instance v2, Lcom/whatsapp/gallerypicker/ao;
    
        invoke-direct {v2}, Lcom/whatsapp/gallerypicker/ao;-><init>()V
    
        .line 236760
        iget-object v0, v2, Lcom/whatsapp/gallerypicker/ao;->c:Ljava/util/HashMap;
    
        invoke-virtual {v0, v3, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    
        .line 236761
        iget-object v1, v2, Lcom/whatsapp/gallerypicker/ao;->a:Ljava/util/HashMap;
    
        const/16 v0, 0xd
    
        invoke-static {v0}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;
    
        move-result-object v0
    
        invoke-virtual {v1, v3, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    
        .line 236762
        invoke-virtual {v2, v4}, Lcom/whatsapp/gallerypicker/ao;->a(Landroid/content/Intent;)V
    
        const-string v1, "origin"
    
        const/16 v0, 0x9
    
        .line 236763
        invoke-virtual {v4, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
    
        const-string v0, "send"
    
        const/4 v3, 0x1
    
        .line 236764
        invoke-virtual {v4, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
    
        const-string v2, "picker_open_time"
    
        .line 236765
        invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
    
        move-result-wide v0
    
        invoke-virtual {v4, v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;
    
        .line 236766
        invoke-virtual {p0, v4, v3}, Landroid/support/v4/app/i;->startActivityForResult(Landroid/content/Intent;I)V
    
        return-void
    .end method
    
    .method private k()V
        .locals 15
    
        .line 236843
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        invoke-virtual {v0}, Lcom/whatsapp/MentionableEntry;->getText()Landroid/text/Editable;
    
        move-result-object v0
    
        invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
    
        move-result-object v0
    
        invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;
    
        move-result-object v1
    
        .line 236844
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->N:Lcom/whatsapp/i/f;
    
        invoke-static {p0, v0, v1}, Lorg/whispersystems/curve25519/a/y;->b(Landroid/content/Context;Lcom/whatsapp/i/f;Ljava/lang/CharSequence;)Z
    
        move-result v0
    
        const/4 v4, 0x1
    
        if-nez v0, :cond_0
    
        .line 236845
        iget-object v1, p0, Lcom/whatsapp/DialogToastActivity;->aF:Lcom/whatsapp/tc;
    
        const v0, 0x7f100106
    
        invoke-virtual {v1, v0, v4}, Lcom/whatsapp/tc;->a(II)V
    
        return-void
    
        .line 236846
        :cond_0
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->J:Lcom/whatsapp/data/fb;
    
        invoke-virtual {v0}, Lcom/whatsapp/data/fb;->b()Z
    
        move-result v0
    
        if-nez v0, :cond_1
    
        .line 236847
        new-instance v0, Lcom/whatsapp/FirstStatusConfirmationDialogFragment;
    
        invoke-direct {v0}, Lcom/whatsapp/FirstStatusConfirmationDialogFragment;-><init>()V
    
        .line 236848
        invoke-virtual {p0, v0}, Lcom/whatsapp/DialogToastActivity;->a(Landroid/support/v4/app/DialogFragment;)V
    
        return-void
    
        .line 236849
        :cond_1
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->s:Landroid/widget/ImageButton;
    
        const/4 v2, 0x0
    
        invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setEnabled(Z)V
    
        .line 236850
        iget-object v5, p0, Lcom/whatsapp/TextStatusComposerActivity;->K:Lcom/whatsapp/atr;
    
        .line 236851
        invoke-static {v1}, Lcom/whatsapp/emoji/e;->b(Ljava/lang/String;)Ljava/lang/String;
    
        move-result-object v1
    
        iget v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->p:I
    
        iget v6, p0, Lcom/whatsapp/TextStatusComposerActivity;->q:I
    
        iget-object v12, p0, Lcom/whatsapp/TextStatusComposerActivity;->z:Lcom/whatsapp/axq;
    
        .line 236852
        iget-object v7, v5, Lcom/whatsapp/atr;->r:Lcom/whatsapp/protocol/p;
    
        const-string v8, "status@broadcast"
    
        invoke-static {v1}, Lcom/whatsapp/statusplayback/z;->a(Ljava/lang/String;)Ljava/lang/String;
    
        move-result-object v9
    
        iget-object v1, v5, Lcom/whatsapp/atr;->b:Lcom/whatsapp/i/i;
    
        .line 236853
        invoke-virtual {v1}, Lcom/whatsapp/i/i;->c()J
    
        move-result-wide v10
    
        const/4 v13, 0x0
    
        const/4 v14, 0x0
    
        .line 236854
        invoke-virtual/range {v7 .. v14}, Lcom/whatsapp/protocol/p;->a(Ljava/lang/String;Ljava/lang/String;JLcom/whatsapp/axq;Ljava/util/List;Lcom/whatsapp/protocol/o;)Lcom/whatsapp/protocol/b/y;
    
        move-result-object v3
    
        .line 236855
        invoke-virtual {v5, v3}, Lcom/whatsapp/atr;->b(Lcom/whatsapp/protocol/o;)V
    
        .line 236856
        new-instance v1, Lcom/whatsapp/TextData;
    
        invoke-direct {v1}, Lcom/whatsapp/TextData;-><init>()V
    
        .line 236857
        iput v0, v1, Lcom/whatsapp/TextData;->backgroundColor:I
    
        const/4 v0, -0x1
    
        .line 236858
        iput v0, v1, Lcom/whatsapp/TextData;->textColor:I
    
        .line 236859
        iput v6, v1, Lcom/whatsapp/TextData;->fontStyle:I
    
        .line 236860
        invoke-virtual {v3, v1}, Lcom/whatsapp/protocol/b/y;->a(Lcom/whatsapp/TextData;)V
    
        .line 236861
        iget-object v0, v5, Lcom/whatsapp/atr;->s:Lcom/whatsapp/data/bb;
    
        invoke-virtual {v0, v3}, Lcom/whatsapp/data/bb;->b(Lcom/whatsapp/protocol/o;)V
    
        .line 236862
        iget-object v0, v5, Lcom/whatsapp/atr;->D:Lcom/whatsapp/arn;
    
        invoke-virtual {v0, v3, v2, v4}, Lcom/whatsapp/arn;->a(Lcom/whatsapp/protocol/o;II)V
    
        .line 236863
        iget-object v1, p0, Lcom/whatsapp/DialogToastActivity;->aF:Lcom/whatsapp/tc;
    
        const v0, 0x7f100863
    
        invoke-virtual {v1, v0, v2}, Lcom/whatsapp/tc;->a(II)V
    
        .line 236864
        invoke-virtual {p0}, Lcom/whatsapp/TextStatusComposerActivity;->finish()V
    
        return-void
    .end method
    
    .method public static r$0(Lcom/whatsapp/TextStatusComposerActivity;)V
        .locals 11
    
        .line 236931
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->x:Landroid/view/ViewGroup;
    
        invoke-virtual {v0}, Landroid/view/ViewGroup;->getVisibility()I
    
        move-result v0
    
        if-nez v0, :cond_0
    
        .line 236932
        iget-object v1, p0, Lcom/whatsapp/TextStatusComposerActivity;->x:Landroid/view/ViewGroup;
    
        const/16 v0, 0x8
    
        invoke-virtual {v1, v0}, Landroid/view/ViewGroup;->setVisibility(I)V
    
        .line 236933
        new-instance v2, Landroid/view/animation/TranslateAnimation;
    
        const/4 v3, 0x1
    
        const/4 v4, 0x0
    
        const/4 v5, 0x1
    
        const/4 v6, 0x0
    
        const/4 v7, 0x1
    
        const/4 v8, 0x0
    
        const/4 v9, 0x1
    
        const/high16 v10, 0x40000000    # 2.0f
    
        invoke-direct/range {v2 .. v10}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V
    
        const-wide/16 v0, 0xa0
    
        .line 236934
        invoke-virtual {v2, v0, v1}, Landroid/view/animation/Animation;->setDuration(J)V
    
        .line 236935
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->x:Landroid/view/ViewGroup;
    
        invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->startAnimation(Landroid/view/animation/Animation;)V
    
        :cond_0
        return-void
    .end method
    
    
    # virtual methods
    .method public final a()V
        .locals 0
    
        .line 236749
        invoke-direct {p0}, Lcom/whatsapp/TextStatusComposerActivity;->k()V
    
        return-void
    .end method
    
    .method public final a(Lcom/whatsapp/axq;)V
        .locals 11
    
        const/4 v4, 0x0
    
        if-eqz p1, :cond_5
    
        .line 236767
        iget-object v1, p0, Lcom/whatsapp/TextStatusComposerActivity;->A:Ljava/lang/String;
    
        iget-object v0, p1, Lcom/whatsapp/axq;->a:Ljava/lang/String;
    
        invoke-static {v1, v0}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
    
        move-result v0
    
        if-eqz v0, :cond_6
    
        .line 236768
        invoke-virtual {p1}, Lcom/whatsapp/axq;->c()Z
    
        move-result v0
    
        if-eqz v0, :cond_4
    
        .line 236769
        iput-object p1, p0, Lcom/whatsapp/TextStatusComposerActivity;->z:Lcom/whatsapp/axq;
    
        const-string v0, "textstatus/showlinkpreview"
    
        .line 236770
        invoke-static {v0}, Lcom/whatsapp/util/Log;->i(Ljava/lang/String;)V
    
        .line 236771
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->y:Landroid/view/View;
    
        const/4 v2, 0x0
    
        if-nez v0, :cond_0
    
        .line 236772
        iget-object v3, p0, Lcom/whatsapp/DialogToastActivity;->aK:Lcom/whatsapp/i/a/q;
    
        invoke-virtual {p0}, Lcom/whatsapp/TextStatusComposerActivity;->getLayoutInflater()Landroid/view/LayoutInflater;
    
        move-result-object v1
    
        const v0, 0x7f0b0206
    
        invoke-static {v3, v1, v0, v4, v2}, Lcom/whatsapp/bf;->a(Lcom/whatsapp/i/a/q;Landroid/view/LayoutInflater;ILandroid/view/ViewGroup;Z)Landroid/view/View;
    
        move-result-object v0
    
        iput-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->y:Landroid/view/View;
    
        .line 236773
        iget-object v1, p0, Lcom/whatsapp/TextStatusComposerActivity;->x:Landroid/view/ViewGroup;
    
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->y:Landroid/view/View;
    
        invoke-virtual {v1, v0}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
    
        .line 236774
        iget-object v4, p0, Lcom/whatsapp/DialogToastActivity;->aK:Lcom/whatsapp/i/a/q;
    
        iget-object v1, p0, Lcom/whatsapp/TextStatusComposerActivity;->y:Landroid/view/View;
    
        const v0, 0x7f090710
    
        invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
    
        move-result-object v3
    
        .line 236775
        sget-object v0, Lcom/whatsapp/atg;->v:Lcom/whatsapp/atg;
    
        .line 236776
        iget v1, v0, Lcom/whatsapp/atg;->a:F
    
        const/high16 v0, 0x41c00000    # 24.0f
    
        mul-float/2addr v1, v0
    
        float-to-int v0, v1
    
        invoke-static {v4, v3, v2, v0}, Lcom/whatsapp/bf;->a(Lcom/whatsapp/i/a/q;Landroid/view/View;II)V
    
        .line 236777
        iget-object v1, p0, Lcom/whatsapp/TextStatusComposerActivity;->y:Landroid/view/View;
    
        const v0, 0x7f090548
    
        invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
    
        move-result-object v1
    
        const/16 v0, 0x8
    
        invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V
    
        .line 236778
        iget-object v1, p0, Lcom/whatsapp/TextStatusComposerActivity;->y:Landroid/view/View;
    
        const v0, 0x7f090114
    
        invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
    
        move-result-object v1
    
        .line 236779
        invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V
    
        .line 236780
        new-instance v0, Lcom/whatsapp/TextStatusComposerActivity$4;
    
        invoke-direct {v0, p0}, Lcom/whatsapp/TextStatusComposerActivity$4;-><init>(Lcom/whatsapp/TextStatusComposerActivity;)V
    
        invoke-virtual {v1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
    
        .line 236781
        iget-object v1, p0, Lcom/whatsapp/TextStatusComposerActivity;->y:Landroid/view/View;
    
        const v0, 0x7f090701
    
        invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
    
        move-result-object v1
    
        .line 236782
        new-instance v0, Lcom/whatsapp/TextStatusComposerActivity$5;
    
        invoke-direct {v0, p0, v1}, Lcom/whatsapp/TextStatusComposerActivity$5;-><init>(Lcom/whatsapp/TextStatusComposerActivity;Landroid/view/View;)V
    
        invoke-virtual {v1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
    
        .line 236783
        :cond_0
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->x:Landroid/view/ViewGroup;
    
        invoke-virtual {v0}, Landroid/view/ViewGroup;->getVisibility()I
    
        move-result v0
    
        if-eqz v0, :cond_1
    
        .line 236784
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->x:Landroid/view/ViewGroup;
    
        invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->setVisibility(I)V
    
        .line 236785
        new-instance v2, Landroid/view/animation/TranslateAnimation;
    
        const/4 v3, 0x1
    
        const/4 v4, 0x0
    
        const/4 v5, 0x1
    
        const/4 v6, 0x0
    
        const/4 v7, 0x1
    
        const/high16 v8, 0x40000000    # 2.0f
    
        const/4 v9, 0x1
    
        const/4 v10, 0x0
    
        invoke-direct/range {v2 .. v10}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V
    
        const-wide/16 v0, 0xa0
    
        .line 236786
        invoke-virtual {v2, v0, v1}, Landroid/view/animation/Animation;->setDuration(J)V
    
        .line 236787
        new-instance v0, Landroid/view/animation/DecelerateInterpolator;
    
        invoke-direct {v0}, Landroid/view/animation/DecelerateInterpolator;-><init>()V
    
        invoke-virtual {v2, v0}, Landroid/view/animation/Animation;->setInterpolator(Landroid/view/animation/Interpolator;)V
    
        .line 236788
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->x:Landroid/view/ViewGroup;
    
        invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->startAnimation(Landroid/view/animation/Animation;)V
    
        .line 236789
        :cond_1
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->z:Lcom/whatsapp/axq;
    
        iget-object v0, v0, Lcom/whatsapp/axq;->a:Ljava/lang/String;
    
        .line 236790
        invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
    
        move-result-object v0
    
        invoke-static {v0}, Lcom/whatsapp/AcceptInviteLinkActivity;->a(Landroid/net/Uri;)Ljava/lang/String;
    
        move-result-object v0
    
        .line 236791
        invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
    
        move-result v0
    
        xor-int/lit8 v6, v0, 0x1
    
        .line 236792
        iget-object v1, p0, Lcom/whatsapp/TextStatusComposerActivity;->y:Landroid/view/View;
    
        iget-object v2, p1, Lcom/whatsapp/axq;->b:Ljava/lang/String;
    
        iget-object v3, p1, Lcom/whatsapp/axq;->c:Ljava/lang/String;
    
        iget-object v0, p1, Lcom/whatsapp/axq;->d:Ljava/lang/String;
    
        .line 236793
        invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
    
        move-result v0
    
        if-eqz v0, :cond_3
    
        iget-object v4, p1, Lcom/whatsapp/axq;->a:Ljava/lang/String;
    
        :goto_0
        iget-object v5, p1, Lcom/whatsapp/axq;->i:[B
    
        const/4 v7, 0x0
    
        const/4 v8, 0x0
    
        iget-object v0, p1, Lcom/whatsapp/axq;->g:Lcom/whatsapp/axq$a;
    
        if-eqz v0, :cond_2
    
        iget-object v0, p1, Lcom/whatsapp/axq;->g:Lcom/whatsapp/axq$a;
    
        iget v9, v0, Lcom/whatsapp/axq$a;->b:I
    
        :goto_1
        iget-object v10, p0, Lcom/whatsapp/DialogToastActivity;->aK:Lcom/whatsapp/i/a/q;
    
        const/4 p0, 0x0
    
        .line 236794
        invoke-static/range {v1 .. v11}, Lcom/whatsapp/conversationrow/br;->a(Landroid/view/View;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BZZLjava/util/ArrayList;ILcom/whatsapp/i/a/q;Z)V
    
        return-void
    
        :cond_2
        const/4 v9, -0x1
    
        goto :goto_1
    
        :cond_3
        iget-object v4, p1, Lcom/whatsapp/axq;->d:Ljava/lang/String;
    
        goto :goto_0
    
        .line 236795
        :cond_4
        iput-object v4, p0, Lcom/whatsapp/TextStatusComposerActivity;->z:Lcom/whatsapp/axq;
    
        .line 236796
        invoke-static {p0}, Lcom/whatsapp/TextStatusComposerActivity;->r$0(Lcom/whatsapp/TextStatusComposerActivity;)V
    
        return-void
    
        .line 236797
        :cond_5
        iput-object v4, p0, Lcom/whatsapp/TextStatusComposerActivity;->z:Lcom/whatsapp/axq;
    
        .line 236798
        invoke-static {p0}, Lcom/whatsapp/TextStatusComposerActivity;->r$0(Lcom/whatsapp/TextStatusComposerActivity;)V
    
        :cond_6
        return-void
    .end method
    
    .method final synthetic a(Lcom/whatsapp/xb;Landroid/support/v13/view/inputmethod/InputContentInfoCompat;I)Z
        .locals 7
    
        .line 236799
        invoke-virtual {p1, p2, p3}, Lcom/whatsapp/xb;->a(Landroid/support/v13/view/inputmethod/InputContentInfoCompat;I)Lcom/whatsapp/xb$a;
    
        move-result-object v0
    
        const/4 v2, 0x0
    
        if-nez v0, :cond_0
    
        return v2
    
        .line 236800
        :cond_0
        iget-object v6, v0, Lcom/whatsapp/xb$a;->a:Landroid/net/Uri;
    
        iget-object v5, v0, Lcom/whatsapp/xb$a;->b:Ljava/lang/String;
    
        const/4 v3, 0x1
    
        if-eqz v6, :cond_4
    
        .line 236801
        new-instance v4, Landroid/content/Intent;
    
        const-class v0, Lcom/whatsapp/gallerypicker/MediaPreviewActivity;
    
        invoke-direct {v4, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
    
        const-string v1, "jid"
    
        const-string v0, "status@broadcast"
    
        .line 236802
        invoke-virtual {v4, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
    
        const-string v0, "max_items"
    
        .line 236803
        invoke-virtual {v4, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
    
        .line 236804
        new-instance v1, Ljava/util/ArrayList;
    
        invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
    
        .line 236805
        invoke-virtual {v1, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
    
        const-string v0, "android.intent.extra.STREAM"
    
        .line 236806
        invoke-virtual {v4, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;
    
        .line 236807
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        invoke-virtual {v0}, Lcom/whatsapp/MentionableEntry;->getStringText()Ljava/lang/String;
    
        move-result-object v0
    
        invoke-static {v0}, Lcom/whatsapp/emoji/e;->b(Ljava/lang/String;)Ljava/lang/String;
    
        move-result-object v1
    
        .line 236808
        new-instance v2, Lcom/whatsapp/gallerypicker/ao;
    
        invoke-direct {v2}, Lcom/whatsapp/gallerypicker/ao;-><init>()V
    
        .line 236809
        iget-object v0, v2, Lcom/whatsapp/gallerypicker/ao;->c:Ljava/util/HashMap;
    
        invoke-virtual {v0, v6, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    
        const-string v0, "video/x.looping_mp4"
    
        .line 236810
        invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
    
        move-result v0
    
        if-eqz v0, :cond_1
    
        .line 236811
        iget-object v1, v2, Lcom/whatsapp/gallerypicker/ao;->a:Ljava/util/HashMap;
    
        const/16 v0, 0xd
    
        invoke-static {v0}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;
    
        move-result-object v0
    
        invoke-virtual {v1, v6, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    
        .line 236812
        :cond_1
        invoke-virtual {v2, v4}, Lcom/whatsapp/gallerypicker/ao;->a(Landroid/content/Intent;)V
    
        const-string v0, "image/gif"
    
        .line 236813
        invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
    
        move-result v0
    
        if-nez v0, :cond_2
    
        const-string v0, "video/x.looping_mp4"
    
        invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
    
        move-result v0
    
        if-eqz v0, :cond_3
    
        :cond_2
        const/16 v1, 0x17
    
        :goto_0
        const-string v0, "origin"
    
        .line 236814
        invoke-virtual {v4, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;
    
        const-string v0, "send"
    
        .line 236815
        invoke-virtual {v4, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
    
        const-string v2, "picker_open_time"
    
        .line 236816
        invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
    
        move-result-wide v0
    
        invoke-virtual {v4, v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;
    
        .line 236817
        invoke-virtual {p0, v4, v3}, Landroid/support/v4/app/i;->startActivityForResult(Landroid/content/Intent;I)V
    
        :goto_1
        return v3
    
        :cond_3
        const/4 v1, 0x5
    
        goto :goto_0
    
        :cond_4
        const-string v0, "textstatus/setuppreview/share-failed"
    
        .line 236818
        invoke-static {v0}, Lcom/whatsapp/util/Log;->e(Ljava/lang/String;)V
    
        .line 236819
        iget-object v1, p0, Lcom/whatsapp/DialogToastActivity;->aF:Lcom/whatsapp/tc;
    
        const v0, 0x7f10090b
    
        invoke-virtual {v1, v0, v2}, Lcom/whatsapp/tc;->a(II)V
    
        goto :goto_1
    .end method
    
    .method final c(Ljava/lang/String;)V
        .locals 1
    
        .line 236820
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->N:Lcom/whatsapp/i/f;
    
        invoke-static {p0, v0, p1}, Lcom/whatsapp/util/a;->a(Landroid/app/Activity;Lcom/whatsapp/i/f;Ljava/lang/CharSequence;)V
    
        return-void
    .end method
    
    .method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
        .locals 4
    
        .line 236821
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->u:Lcom/whatsapp/gif_search/h;
    
        invoke-virtual {v0}, Lcom/whatsapp/emoji/search/o;->a()Z
    
        move-result v0
    
        if-eqz v0, :cond_0
    
        .line 236822
        iget-object v1, p0, Lcom/whatsapp/TextStatusComposerActivity;->w:Landroid/view/View;
    
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->R:[I
    
        invoke-virtual {v1, v0}, Landroid/view/View;->getLocationOnScreen([I)V
    
        .line 236823
        invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawY()F
    
        move-result v1
    
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->R:[I
    
        const/4 v3, 0x1
    
        aget v0, v0, v3
    
        int-to-float v0, v0
    
        cmpl-float v0, v1, v0
    
        if-ltz v0, :cond_0
    
        invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawY()F
    
        move-result v2
    
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->R:[I
    
        aget v1, v0, v3
    
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->w:Landroid/view/View;
    
        invoke-virtual {v0}, Landroid/view/View;->getHeight()I
    
        move-result v0
    
        add-int/2addr v1, v0
    
        int-to-float v0, v1
    
        cmpg-float v0, v2, v0
    
        if-gez v0, :cond_0
    
        .line 236824
        invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
    
        move-result v0
    
        if-nez v0, :cond_1
    
        .line 236825
        iput-boolean v3, p0, Lcom/whatsapp/TextStatusComposerActivity;->S:Z
    
        .line 236826
        :cond_0
        invoke-super {p0, p1}, Lcom/whatsapp/awt;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    
        move-result v0
    
        return v0
    
        .line 236827
        :cond_1
        invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
    
        move-result v0
    
        if-ne v0, v3, :cond_0
    
        .line 236828
        iget-boolean v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->S:Z
    
        if-eqz v0, :cond_0
    
        .line 236829
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->u:Lcom/whatsapp/gif_search/h;
    
        invoke-virtual {v0, v3}, Lcom/whatsapp/emoji/search/o;->a(Z)V
    
        const/4 v0, 0x0
    
        .line 236830
        iput-boolean v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->S:Z
    
        return v0
    .end method
    
    .method final synthetic e(I)Z
        .locals 1
    
        const/4 v0, 0x4
    
        if-ne p1, v0, :cond_0
    
        .line 236831
        invoke-direct {p0}, Lcom/whatsapp/TextStatusComposerActivity;->k()V
    
        const/4 v0, 0x1
    
        return v0
    
        :cond_0
        const/4 v0, 0x0
    
        return v0
    .end method
    
    .method private customColor()V
        .locals 3
    
        .line 27
        const-string v0, "mCustomColor"
    
        invoke-static {v0}, Lid/delta/whatsapp/utils/Tools;->intId(Ljava/lang/String;)I
    
        move-result v0
    
        invoke-virtual {p0, v0}, Lcom/whatsapp/TextStatusComposerActivity;->findViewById(I)Landroid/view/View;
    
        move-result-object v0
    
        .line 28
        .local v0, "mCustom":Landroid/view/View;
        new-instance v1, Lid/delta/whatsapp/implement/OnCustomPicker;
    
        iget v2, p0, Lcom/whatsapp/TextStatusComposerActivity;->p:I
    
        invoke-direct {v1, p0, v2}, Lid/delta/whatsapp/implement/OnCustomPicker;-><init>(Lcom/whatsapp/TextStatusComposerActivity;I)V
    
        invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
    
        .line 44
        return-void
    .end method
    
    .method final h()V
        .locals 3
    
        invoke-direct {p0}, Lcom/whatsapp/TextStatusComposerActivity;->customColor()V
    
        .line 236832
        iget v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->p:I
    
        .line 236833
        sget-object v2, Lcom/whatsapp/statusplayback/z;->b:[I
    
        .line 236834
        invoke-static {v2, v0}, Lcom/whatsapp/statusplayback/z;->a([II)I
    
        move-result v0
    
        add-int/lit8 v1, v0, 0x1
    
        .line 236835
        array-length v0, v2
    
        rem-int/2addr v1, v0
    
        .line 236836
        aget v0, v2, v1
    
        .line 236837
        iput v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->p:I
    
        .line 236838
        invoke-virtual {p0}, Lcom/whatsapp/TextStatusComposerActivity;->getWindow()Landroid/view/Window;
    
        move-result-object v2
    
        new-instance v1, Landroid/graphics/drawable/ColorDrawable;
    
        iget v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->p:I
    
        invoke-direct {v1, v0}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V
    
        invoke-virtual {v2, v1}, Landroid/view/Window;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
    
        return-void
    .end method
    
    .method final i()V
        .locals 2
    
        .line 236839
        iget v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->q:I
    
        invoke-static {p0, v0}, Lcom/whatsapp/statusplayback/z;->a(Landroid/content/Context;I)Landroid/graphics/Typeface;
    
        move-result-object v1
    
        .line 236840
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->t:Landroid/widget/TextView;
    
        invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V
    
        .line 236841
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        invoke-virtual {v0, v1}, Lcom/whatsapp/MentionableEntry;->setTypeface(Landroid/graphics/Typeface;)V
    
        return-void
    .end method
    
    .method final synthetic j()V
        .locals 0
    
        .line 236842
        invoke-direct {p0}, Lcom/whatsapp/TextStatusComposerActivity;->k()V
    
        return-void
    .end method
    
    .method protected onActivityResult(IILandroid/content/Intent;)V
        .locals 1
    
        .line 236865
        invoke-super {p0, p1, p2, p3}, Landroid/support/v4/app/i;->onActivityResult(IILandroid/content/Intent;)V
    
        const/4 v0, 0x1
    
        if-eq p1, v0, :cond_1
    
        :cond_0
        :goto_0
        return-void
    
        :cond_1
        const/4 v0, -0x1
    
        if-ne p2, v0, :cond_0
    
        .line 236866
        invoke-virtual {p0}, Lcom/whatsapp/TextStatusComposerActivity;->finish()V
    
        goto :goto_0
    .end method
    
    .method public onBackPressed()V
        .locals 1
    
        .line 236867
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->u:Lcom/whatsapp/gif_search/h;
    
        invoke-virtual {v0}, Lcom/whatsapp/emoji/search/o;->b()Z
    
        move-result v0
    
        if-eqz v0, :cond_0
    
        return-void
    
        .line 236868
        :cond_0
        invoke-super {p0}, Lcom/whatsapp/DialogToastActivity;->onBackPressed()V
    
        return-void
    .end method
    
    .method public onCreate(Landroid/os/Bundle;)V
        .locals 36
    
        .line 236869
        sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
    
        const/16 v0, 0x13
    
        move-object/from16 v17, p0
    
        if-lt v1, v0, :cond_0
    
        .line 236870
        invoke-virtual/range {v17 .. v17}, Lcom/whatsapp/TextStatusComposerActivity;->getWindow()Landroid/view/Window;
    
        move-result-object v1
    
        const/high16 v0, 0x4000000
    
        invoke-virtual {v1, v0, v0}, Landroid/view/Window;->setFlags(II)V
    
        .line 236871
        :cond_0
        move-object/from16 v2, p1
    
        move-object/from16 v0, v17
    
        invoke-super {v0, v2}, Lcom/whatsapp/awt;->onCreate(Landroid/os/Bundle;)V
    
        .line 236872
        const v1, 0x7f0b01eb
    
        move-object/from16 v0, v17
    
        invoke-virtual {v0, v1}, Landroid/support/v7/app/c;->setContentView(I)V
    
        if-nez v2, :cond_4
    
        .line 236873
        invoke-virtual/range {v17 .. v17}, Lcom/whatsapp/TextStatusComposerActivity;->h()V
    
        .line 236874
        :goto_0
        const v1, 0x7f090618
    
        move-object/from16 v0, v17
    
        invoke-virtual {v0, v1}, Landroid/support/v7/app/c;->findViewById(I)Landroid/view/View;
    
        move-result-object v0
    
        invoke-static {v0}, Lcom/whatsapp/util/da;->a(Landroid/view/View;)Landroid/view/View;
    
        move-result-object v3
    
        check-cast v3, Landroid/widget/ImageButton;
    
    	 .line 236875
        move-object/from16 v0, v17
    
        iput-object v3, v0, Lcom/whatsapp/TextStatusComposerActivity;->s:Landroid/widget/ImageButton;
    
        new-instance v2, Lcom/whatsapp/alc;
    
        const v1, 0x7f0802e6
    
        move-object/from16 v0, v17
    
        invoke-static {v0, v1}, Landroid/support/v4/content/b;->a(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
    
        move-result-object v0
    
        invoke-direct {v2, v0}, Lcom/whatsapp/alc;-><init>(Landroid/graphics/drawable/Drawable;)V
    
        invoke-virtual {v3, v2}, Landroid/widget/ImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
    
        .line 236876
        move-object/from16 v0, v17
    
        iget-object v2, v0, Lcom/whatsapp/TextStatusComposerActivity;->s:Landroid/widget/ImageButton;
    
        new-instance v1, Lcom/whatsapp/ask;
    
        move-object/from16 v0, v17
    
        invoke-direct {v1, v0}, Lcom/whatsapp/ask;-><init>(Lcom/whatsapp/TextStatusComposerActivity;)V
    
        invoke-virtual {v2, v1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V
    
        .line 236877
        invoke-virtual/range {v17 .. v17}, Landroid/support/v7/app/c;->getResources()Landroid/content/res/Resources;
    
        move-result-object v1
    
        const v0, 0x7f03001c
    
        invoke-virtual {v1, v0}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;
    
        move-result-object v4
    
        .line 236878
        invoke-virtual/range {v17 .. v17}, Landroid/support/v7/app/c;->getResources()Landroid/content/res/Resources;
    
        move-result-object v1
    
        const v0, 0x7f03001d
    
        invoke-virtual {v1, v0}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;
    
        move-result-object v3
    
        .line 236879
        const v1, 0x7f090179
    
        move-object/from16 v0, v17
    
        invoke-virtual {v0, v1}, Landroid/support/v7/app/c;->findViewById(I)Landroid/view/View;
    
        move-result-object v2
    
        .line 236880
        new-instance v1, Lcom/whatsapp/asl;
    
        move-object/from16 v0, v17
    
        invoke-direct {v1, v0, v4}, Lcom/whatsapp/asl;-><init>(Lcom/whatsapp/TextStatusComposerActivity;[Ljava/lang/String;)V
    
        invoke-virtual {v2, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
    
        .line 236881
        new-instance v1, Lcom/whatsapp/asm;
    
        move-object/from16 v0, v17
    
        invoke-direct {v1, v0, v4}, Lcom/whatsapp/asm;-><init>(Lcom/whatsapp/TextStatusComposerActivity;[Ljava/lang/String;)V
    
        invoke-virtual {v2, v1}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
    
        .line 236882
        const v1, 0x7f0902c2
    
        move-object/from16 v0, v17
    
        invoke-virtual {v0, v1}, Landroid/support/v7/app/c;->findViewById(I)Landroid/view/View;
    
        move-result-object v2
    
        check-cast v2, Landroid/widget/TextView;
    
        .line 236883
        move-object/from16 v0, v17
    
        iput-object v2, v0, Lcom/whatsapp/TextStatusComposerActivity;->t:Landroid/widget/TextView;
    
        new-instance v1, Lcom/whatsapp/asn;
    
        move-object/from16 v0, v17
    
        invoke-direct {v1, v0, v3}, Lcom/whatsapp/asn;-><init>(Lcom/whatsapp/TextStatusComposerActivity;[Ljava/lang/String;)V
    
        invoke-virtual {v2, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
    
        .line 236884
        move-object/from16 v0, v17
    
        iget-object v2, v0, Lcom/whatsapp/TextStatusComposerActivity;->t:Landroid/widget/TextView;
    
        new-instance v1, Lcom/whatsapp/aso;
    
        move-object/from16 v0, v17
    
        invoke-direct {v1, v0, v3}, Lcom/whatsapp/aso;-><init>(Lcom/whatsapp/TextStatusComposerActivity;[Ljava/lang/String;)V
    
        invoke-virtual {v2, v1}, Landroid/widget/TextView;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V
    
        .line 236885
        const v1, 0x7f0907b7
    
        move-object/from16 v0, v17
    
        invoke-virtual {v0, v1}, Landroid/support/v7/app/c;->findViewById(I)Landroid/view/View;
    
        move-result-object v1
    
        check-cast v1, Landroid/view/ViewGroup;
    
        move-object/from16 v0, v17
    
        iput-object v1, v0, Lcom/whatsapp/TextStatusComposerActivity;->x:Landroid/view/ViewGroup;
    
        .line 236886
        const v1, 0x7f09026d
    
        move-object/from16 v0, v17
    
        invoke-virtual {v0, v1}, Landroid/support/v7/app/c;->findViewById(I)Landroid/view/View;
    
        move-result-object v0
    
        invoke-static {v0}, Lcom/whatsapp/util/da;->a(Landroid/view/View;)Landroid/view/View;
    
        move-result-object v1
    
        check-cast v1, Lcom/whatsapp/MentionableEntry;
    
        move-object/from16 v0, v17
    
        iput-object v1, v0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        .line 236887
        new-instance v1, Lcom/whatsapp/TextStatusComposerActivity$2;
    
        move-object/from16 v0, v17
    
        invoke-direct {v1, v0}, Lcom/whatsapp/TextStatusComposerActivity$2;-><init>(Lcom/whatsapp/TextStatusComposerActivity;)V
    
        .line 236888
        move-object/from16 v0, v17
    
        iget-object v0, v0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        invoke-virtual {v0, v1}, Lcom/whatsapp/MentionableEntry;->addTextChangedListener(Landroid/text/TextWatcher;)V
    
        .line 236889
        move-object/from16 v0, v17
    
        iget-object v4, v0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        const/4 v0, 0x1
    
        new-array v3, v0, [Landroid/text/InputFilter;
    
        new-instance v1, Lcom/whatsapp/TextStatusComposerActivity$3;
    
        move-object/from16 v0, v17
    
        invoke-direct {v1, v0}, Lcom/whatsapp/TextStatusComposerActivity$3;-><init>(Lcom/whatsapp/TextStatusComposerActivity;)V
    
        const/4 v2, 0x0
    
        aput-object v1, v3, v2
    
        invoke-virtual {v4, v3}, Lcom/whatsapp/MentionableEntry;->setFilters([Landroid/text/InputFilter;)V
    
        .line 236890
        invoke-virtual/range {v17 .. v17}, Lcom/whatsapp/TextStatusComposerActivity;->getIntent()Landroid/content/Intent;
    
        move-result-object v1
    
        const-string v0, "android.intent.extra.TEXT"
    
        invoke-virtual {v1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
    
        move-result-object v3
    
        if-eqz v3, :cond_1
    
        .line 236891
        invoke-static {v3}, Landroid/text/TextUtils;->getTrimmedLength(Ljava/lang/CharSequence;)I
    
        move-result v0
    
        if-nez v0, :cond_2
    
        .line 236892
        :cond_1
        move-object/from16 v0, v17
    
        iget-object v0, v0, Lcom/whatsapp/TextStatusComposerActivity;->s:Landroid/widget/ImageButton;
    
        invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setEnabled(Z)V
    
        .line 236893
        :goto_1
        move-object/from16 v0, v17
    
        iget-object v0, v0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        invoke-virtual {v0}, Lcom/whatsapp/MentionableEntry;->requestFocus()Z
    
        .line 236894
        new-instance v1, Lcom/whatsapp/asp;
    
        move-object/from16 v0, v17
    
        invoke-direct {v1, v0}, Lcom/whatsapp/asp;-><init>(Lcom/whatsapp/TextStatusComposerActivity;)V
    
        .line 236895
        move-object/from16 v0, v17
    
        iget-object v0, v0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        invoke-virtual {v0, v1}, Lcom/whatsapp/MentionableEntry;->setOnEditorActionListener(Landroid/widget/TextView$OnEditorActionListener;)V
    
        .line 236896
        new-instance v3, Lcom/whatsapp/xb;
    
        invoke-direct {v3}, Lcom/whatsapp/xb;-><init>()V
    
        .line 236897
        move-object/from16 v0, v17
    
        iget-object v2, v0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        new-instance v1, Lcom/whatsapp/asq;
    
        move-object/from16 v0, v17
    
        invoke-direct {v1, v0, v3}, Lcom/whatsapp/asq;-><init>(Lcom/whatsapp/TextStatusComposerActivity;Lcom/whatsapp/xb;)V
    
        invoke-virtual {v2, v1}, Lcom/whatsapp/MentionableEntry;->setOnCommitContentListener(Lcom/whatsapp/MentionableEntry$c;)V
    
        .line 236898
        const v1, 0x7f0901a8
    
        move-object/from16 v0, v17
    
        invoke-virtual {v0, v1}, Landroid/support/v7/app/c;->findViewById(I)Landroid/view/View;
    
        move-result-object v1
    
        move-object/from16 v0, v17
    
        iput-object v1, v0, Lcom/whatsapp/TextStatusComposerActivity;->w:Landroid/view/View;
    
        .line 236899
        const v1, 0x7f09024d
    
        move-object/from16 v0, v17
    
        invoke-virtual {v0, v1}, Landroid/support/v7/app/c;->findViewById(I)Landroid/view/View;
    
        move-result-object v0
    
        invoke-static {v0}, Lcom/whatsapp/util/da;->a(Landroid/view/View;)Landroid/view/View;
    
        move-result-object v1
    
        check-cast v1, Landroid/widget/ImageButton;
    
        move-object/from16 v0, v17
    
        iput-object v1, v0, Lcom/whatsapp/TextStatusComposerActivity;->o:Landroid/widget/ImageButton;
    
        .line 236900
        new-instance v16, Lcom/whatsapp/gif_search/f;
    
        move-object/from16 v0, v17
    
        iget-object v0, v0, Lcom/whatsapp/TextStatusComposerActivity;->E:Lcom/whatsapp/gif_search/k;
    
        move-object/from16 v18, v0
    
        move-object/from16 v0, v17
    
        iget-object v0, v0, Lcom/whatsapp/awt;->aQ:Lcom/whatsapp/util/bh;
    
        move-object/from16 v19, v0
    
        move-object/from16 v0, v17
    
        iget-object v15, v0, Lcom/whatsapp/TextStatusComposerActivity;->F:Lcom/whatsapp/util/eg;
    
        move-object/from16 v0, v17
    
        iget-object v14, v0, Lcom/whatsapp/TextStatusComposerActivity;->H:Lcom/whatsapp/fieldstats/v;
    
        move-object/from16 v0, v17
    
        iget-object v13, v0, Lcom/whatsapp/TextStatusComposerActivity;->I:Lcom/whatsapp/emoji/c;
    
        move-object/from16 v0, v17
    
        iget-object v11, v0, Lcom/whatsapp/DialogToastActivity;->aI:Lcom/whatsapp/l/g;
    
        move-object/from16 v0, v17
    
        iget-object v10, v0, Lcom/whatsapp/TextStatusComposerActivity;->L:Lcom/whatsapp/emoji/m;
    
        move-object/from16 v0, v17
    
        iget-object v9, v0, Lcom/whatsapp/TextStatusComposerActivity;->M:Lcom/whatsapp/stickers/f;
    
        move-object/from16 v0, v17
    
        iget-object v8, v0, Lcom/whatsapp/TextStatusComposerActivity;->N:Lcom/whatsapp/i/f;
    
        move-object/from16 v0, v17
    
        iget-object v7, v0, Lcom/whatsapp/DialogToastActivity;->aK:Lcom/whatsapp/i/a/q;
    
        move-object/from16 v0, v17
    
        iget-object v6, v0, Lcom/whatsapp/TextStatusComposerActivity;->O:Lcom/whatsapp/data/bb;
    
        move-object/from16 v0, v17
    
        iget-object v5, v0, Lcom/whatsapp/TextStatusComposerActivity;->P:Lcom/whatsapp/data/dh;
    
        move-object/from16 v0, v17
    
        iget-object v4, v0, Lcom/whatsapp/TextStatusComposerActivity;->Q:Lcom/whatsapp/data/ep;
    
        const v1, 0x7f0903b1
    
        .line 236901
        move-object/from16 v0, v17
    
        invoke-virtual {v0, v1}, Landroid/support/v7/app/c;->findViewById(I)Landroid/view/View;
    
        move-result-object v3
    
        check-cast v3, Lcom/whatsapp/EmojiPopupLayout;
    
        move-object/from16 v0, v17
    
        iget-object v2, v0, Lcom/whatsapp/TextStatusComposerActivity;->o:Landroid/widget/ImageButton;
    
        move-object/from16 v0, v17
    
        iget-object v1, v0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        const/16 v34, 0x0
    
        move-object/from16 v0, v17
    
        iget-object v0, v0, Lcom/whatsapp/DialogToastActivity;->aM:Lcom/whatsapp/i/m;
    
        const/16 p0, 0x0
    
        const/16 p1, 0x0
    
        move-object/from16 v17, v17
    
        move-object/from16 v12, v16
    
        move-object/from16 v30, v4
    
        move-object/from16 v31, v3
    
        move-object/from16 v32, v2
    
        move-object/from16 v33, v1
    
        move-object/from16 v35, v0
    
        move-object/from16 v25, v9
    
        move-object/from16 v26, v8
    
        move-object/from16 v27, v7
    
        move-object/from16 v28, v6
    
        move-object/from16 v29, v5
    
        move-object/from16 v20, v15
    
        move-object/from16 v21, v14
    
        move-object/from16 v22, v13
    
        move-object/from16 v23, v11
    
        move-object/from16 v24, v10
    
        move-object/from16 v18, v18
    
        move-object/from16 v19, v19
    
        invoke-direct/range {v16 .. v37}, Lcom/whatsapp/gif_search/f;-><init>(Landroid/app/Activity;Lcom/whatsapp/gif_search/k;Lcom/whatsapp/util/bh;Lcom/whatsapp/util/eg;Lcom/whatsapp/fieldstats/v;Lcom/whatsapp/emoji/c;Lcom/whatsapp/l/g;Lcom/whatsapp/emoji/m;Lcom/whatsapp/stickers/f;Lcom/whatsapp/i/f;Lcom/whatsapp/i/a/q;Lcom/whatsapp/data/bb;Lcom/whatsapp/data/dh;Lcom/whatsapp/data/ep;Lcom/whatsapp/EmojiPopupLayout;Landroid/widget/ImageButton;Lcom/whatsapp/WaEditText;Lcom/whatsapp/stickers/ae;Lcom/whatsapp/i/m;Lcom/whatsapp/stickers/as;Lcom/whatsapp/stickers/w;)V
    
        .line 236902
        move-object/from16 v0, v17
    
        iput-object v12, v0, Lcom/whatsapp/TextStatusComposerActivity;->v:Lcom/whatsapp/gif_search/f;
    
        move-object/from16 v0, v17
    
        iget-object v0, v0, Lcom/whatsapp/TextStatusComposerActivity;->r:Lcom/whatsapp/EmojiPicker$b;
    
        invoke-virtual {v12, v0}, Lcom/whatsapp/rh;->a(Lcom/whatsapp/EmojiPicker$b;)V
    
        .line 236903
        move-object/from16 v0, v17
    
        iget-object v2, v0, Lcom/whatsapp/TextStatusComposerActivity;->v:Lcom/whatsapp/gif_search/f;
    
        new-instance v1, Lcom/whatsapp/asr;
    
        move-object/from16 v0, v17
    
        invoke-direct {v1, v0}, Lcom/whatsapp/asr;-><init>(Lcom/whatsapp/TextStatusComposerActivity;)V
    
        invoke-virtual {v2, v1}, Lcom/whatsapp/gif_search/f;->setOnDismissListener(Landroid/widget/PopupWindow$OnDismissListener;)V
    
        .line 236904
        new-instance v2, Lcom/whatsapp/gif_search/h;
    
        const v1, 0x7f090306
    
        .line 236905
        move-object/from16 v0, v17
    
        invoke-virtual {v0, v1}, Landroid/support/v7/app/c;->findViewById(I)Landroid/view/View;
    
        move-result-object v3
    
        check-cast v3, Lcom/whatsapp/gif_search/GifSearchContainer;
    
        const v1, 0x7f090252
    
        .line 236906
        move-object/from16 v0, v17
    
        invoke-virtual {v0, v1}, Landroid/support/v7/app/c;->findViewById(I)Landroid/view/View;
    
        move-result-object v4
    
        check-cast v4, Lcom/whatsapp/emoji/search/EmojiSearchContainer;
    
        move-object/from16 v0, v17
    
        iget-object v5, v0, Lcom/whatsapp/TextStatusComposerActivity;->v:Lcom/whatsapp/gif_search/f;
    
        move-object/from16 v0, v17
    
        iget-object v0, v0, Lcom/whatsapp/TextStatusComposerActivity;->I:Lcom/whatsapp/emoji/c;
    
        move-object/from16 v6, v17
    
        move-object v7, v0
    
        invoke-direct/range {v2 .. v7}, Lcom/whatsapp/gif_search/h;-><init>(Lcom/whatsapp/gif_search/GifSearchContainer;Lcom/whatsapp/emoji/search/EmojiSearchContainer;Lcom/whatsapp/gif_search/f;Landroid/app/Activity;Lcom/whatsapp/emoji/c;)V
    
        move-object/from16 v0, v17
    
        iput-object v2, v0, Lcom/whatsapp/TextStatusComposerActivity;->u:Lcom/whatsapp/gif_search/h;
    
        .line 236907
        move-object/from16 v0, v17
    
        iget-object v2, v0, Lcom/whatsapp/TextStatusComposerActivity;->u:Lcom/whatsapp/gif_search/h;
    
        new-instance v1, Lcom/whatsapp/ass;
    
        move-object/from16 v0, v17
    
        invoke-direct {v1, v0}, Lcom/whatsapp/ass;-><init>(Lcom/whatsapp/TextStatusComposerActivity;)V
    
        .line 236908
        iput-object v1, v2, Lcom/whatsapp/emoji/search/o;->c:Lcom/whatsapp/emoji/search/o$a;
    
        .line 236909
        move-object/from16 v0, v17
    
        iget-object v2, v0, Lcom/whatsapp/TextStatusComposerActivity;->u:Lcom/whatsapp/gif_search/h;
    
        new-instance v1, Lcom/whatsapp/ast;
    
        move-object/from16 v0, v17
    
        invoke-direct {v1, v0}, Lcom/whatsapp/ast;-><init>(Lcom/whatsapp/TextStatusComposerActivity;)V
    
        .line 236910
        iput-object v1, v2, Lcom/whatsapp/gif_search/h;->k:Lcom/whatsapp/gif_search/h$a;
    
        return-void
    
        .line 236911
        :cond_2
        invoke-static {v3}, Lcom/whatsapp/util/bn;->c(Ljava/lang/String;)Ljava/lang/String;
    
        move-result-object v1
    
        .line 236912
        move-object/from16 v0, v17
    
        iget-object v2, v0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
    
        move-result v0
    
        if-eqz v0, :cond_3
    
        :goto_2
        invoke-virtual {v2, v3}, Lcom/whatsapp/MentionableEntry;->setText(Ljava/lang/String;)V
    
        goto/16 :goto_1
    
        :cond_3
        new-instance v1, Ljava/lang/StringBuilder;
    
        invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
    
        invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
    
        const-string v0, " "
    
        invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
    
        invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
    
        move-result-object v3
    
        goto :goto_2
    
        :cond_4
        const-string v0, "background_color"
    
        .line 236913
        invoke-virtual {v2, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I
    
        move-result v1
    
        move-object/from16 v0, v17
    
        iput v1, v0, Lcom/whatsapp/TextStatusComposerActivity;->p:I
    
        .line 236914
        invoke-virtual/range {v17 .. v17}, Lcom/whatsapp/TextStatusComposerActivity;->getWindow()Landroid/view/Window;
    
        move-result-object v2
    
        new-instance v1, Landroid/graphics/drawable/ColorDrawable;
    
        move-object/from16 v0, v17
    
        iget v0, v0, Lcom/whatsapp/TextStatusComposerActivity;->p:I
    
        invoke-direct {v1, v0}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V
    
        invoke-virtual {v2, v1}, Landroid/view/Window;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
    
        goto/16 :goto_0
    .end method
    
    .method public onKeyDown(ILandroid/view/KeyEvent;)Z
        .locals 1
    
        .line 236915
        invoke-virtual {p2}, Landroid/view/KeyEvent;->isPrintingKey()Z
    
        move-result v0
    
        if-eqz v0, :cond_0
    
        .line 236916
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        invoke-virtual {v0}, Lcom/whatsapp/MentionableEntry;->isShown()Z
    
        move-result v0
    
        if-eqz v0, :cond_0
    
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        invoke-virtual {v0}, Lcom/whatsapp/MentionableEntry;->hasFocus()Z
    
        move-result v0
    
        if-nez v0, :cond_0
    
        .line 236917
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        invoke-virtual {v0}, Lcom/whatsapp/MentionableEntry;->requestFocus()Z
    
        .line 236918
        invoke-virtual {p0, p2}, Landroid/support/v7/app/c;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z
    
        const/4 v0, 0x1
    
        return v0
    
        .line 236919
        :cond_0
        invoke-super {p0, p1, p2}, Lcom/whatsapp/awt;->onKeyDown(ILandroid/view/KeyEvent;)Z
    
        move-result v0
    
        return v0
    .end method
    
    .method public onKeyUp(ILandroid/view/KeyEvent;)Z
        .locals 1
    
        const/16 v0, 0x52
    
        if-eq p1, v0, :cond_0
    
        const/4 v0, 0x4
    
        if-ne p1, v0, :cond_1
    
        .line 236920
        :cond_0
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->v:Lcom/whatsapp/gif_search/f;
    
        invoke-virtual {v0}, Lcom/whatsapp/gif_search/f;->isShowing()Z
    
        move-result v0
    
        if-eqz v0, :cond_1
    
        .line 236921
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->v:Lcom/whatsapp/gif_search/f;
    
        invoke-virtual {v0}, Lcom/whatsapp/rh;->dismiss()V
    
        const/4 v0, 0x0
    
        return v0
    
        .line 236922
        :cond_1
        invoke-super {p0, p1, p2}, Lcom/whatsapp/awt;->onKeyUp(ILandroid/view/KeyEvent;)Z
    
        move-result v0
    
        return v0
    .end method
    
    .method protected onSaveInstanceState(Landroid/os/Bundle;)V
        .locals 2
    
        .line 236923
        invoke-super {p0, p1}, Landroid/support/v7/app/c;->onSaveInstanceState(Landroid/os/Bundle;)V
    
        const-string v1, "background_color"
    
        .line 236924
        iget v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->p:I
    
        invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
    
        return-void
    .end method
    
    .method protected onStart()V
        .locals 3
    
        .line 236925
        invoke-super {p0}, Lcom/whatsapp/awt;->onStart()V
    
        .line 236926
        invoke-virtual {p0}, Lcom/whatsapp/TextStatusComposerActivity;->getWindow()Landroid/view/Window;
    
        move-result-object v2
    
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->v:Lcom/whatsapp/gif_search/f;
    
        .line 236927
        invoke-virtual {v0}, Lcom/whatsapp/gif_search/f;->isShowing()Z
    
        move-result v0
    
        if-eqz v0, :cond_1
    
        const/4 v0, 0x2
    
        :goto_0
        const/4 v1, 0x1
    
        or-int/2addr v0, v1
    
        .line 236928
        invoke-virtual {v2, v0}, Landroid/view/Window;->setSoftInputMode(I)V
    
        .line 236929
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->v:Lcom/whatsapp/gif_search/f;
    
        invoke-virtual {v0}, Lcom/whatsapp/gif_search/f;->isShowing()Z
    
        move-result v0
    
        if-nez v0, :cond_0
    
        .line 236930
        iget-object v0, p0, Lcom/whatsapp/TextStatusComposerActivity;->n:Lcom/whatsapp/MentionableEntry;
    
        invoke-virtual {v0, v1}, Lcom/whatsapp/WaEditText;->b(Z)V
    
        :cond_0
        return-void
    
        :cond_1
        const/4 v0, 0x4
    
        goto :goto_0
    .end method
    
    text_status_composer.xml
    
    <?xml version="1.0" encoding="utf-8"?>
    <FrameLayout android:fitsSystemWindows="true" android:layout_width="fill_parent" android:layout_height="fill_parent"
      xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
        <com.whatsapp.EmojiPopupLayout android:id="@id/main" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <com.whatsapp.statusplayback.content.StatusEditText android:scrollbarAlwaysDrawVerticalTrack="true" android:scrollbarStyle="outsideOverlay" android:textSize="48.0dip" android:textColor="#ffffffff" android:textColorHighlight="#33000000" android:textColorHint="#33ffffff" android:gravity="center" android:id="@id/entry" android:background="@null" android:paddingLeft="@dimen/status_text_h_padding" android:paddingTop="32.0dip" android:paddingRight="@dimen/status_text_h_padding" android:paddingBottom="8.0dip" android:scrollbars="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:hint="@string/type_a_status" android:capitalize="sentences" android:autoText="true" android:layout_above="@id/status_input" android:imeOptions="actionSend" android:scrollbarFadeDuration="300" android:scrollbarDefaultDelayBeforeFade="200" app:theme="@style/Theme.App.TextStatusComposer" />
            <LinearLayout android:gravity="bottom" android:orientation="vertical" android:id="@id/status_input" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true">
                <FrameLayout android:id="@id/web_page_preview_container" android:background="@drawable/balloon_centered_normal" android:paddingLeft="8.0dip" android:paddingTop="8.0dip" android:paddingRight="8.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="8.0dip" android:layout_marginBottom="4.0dip" />
                <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
                    <LinearLayout android:layout_gravity="bottom|center|left" android:orientation="horizontal" android:id="@id/controls" android:padding="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content">
                        <com.whatsapp.WaImageButton android:id="@id/emoji_picker_btn" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ib_emoji" android:scaleType="center" android:tint="@android:color/white" android:contentDescription="@string/emoji_button_description" style="@style/ActionBarButtonStyle" />
                        <com.whatsapp.WaButton android:textSize="24.0dip" android:textStyle="bold" android:textColor="@android:color/white" android:id="@id/font_picker_btn" android:layout_width="48.0dip" android:layout_height="48.0dip" android:text="@string/font_style_selector" android:contentDescription="@string/font_style_description" style="@style/ActionBarButtonStyle" />
                        <com.whatsapp.WaImageButton android:id="@id/color_picker_btn" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_color" android:scaleType="center" android:tint="@android:color/white" android:contentDescription="@string/background_color_description" style="@style/ActionBarButtonStyle" />
    					<com.whatsapp.WaImageButton android:src="@drawable/delta_ic_statusbar" android:id="@+id/mCustomColor" android:layout_width="48.0dip" android:layout_height="48.0dip" android:scaleType="center" android:tint="@android:color/white" style="@style/ActionBarButtonStyle"/>
    				</LinearLayout>
                    <com.whatsapp.WaImageButton android:layout_gravity="bottom|center|right" android:id="@id/send" android:background="@drawable/input_circle" android:layout_width="56.0dip" android:layout_height="56.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="16.0dip" android:src="@drawable/input_send" android:scaleType="center" android:contentDescription="@string/send_button" />
                </FrameLayout>
                <com.whatsapp.emoji.search.EmojiSearchContainer android:id="@id/emoji_search_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
                <com.whatsapp.gif_search.GifSearchContainer android:id="@id/gif_search_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="@dimen/gif_search_size" />
            </LinearLayout>
        </com.whatsapp.EmojiPopupLayout>
    </FrameLayout>
    
    

Share this post:

DELTALABS
Posted by: DELTALABS
Label:
Reaksi:
  1. Mudah mudahan banyak yang ada fitur ini wa mod
    Delta Gb kapan update fitur fitur kekinian min?😅
    Fans banget sama delta gb bagusnya luar biasa

    ReplyDelete

Subscribe to our newsletter

Notification