赞
踩
1 <LinearLayout 2 android:layout_width="match_parent" 3 android:layout_height="match_parent" 4 android:orientation="vertical"> 5 6 <TextView 7 android:layout_width="wrap_content" 8 android:layout_height="wrap_content" 9 android:text="@string/str1" 10 android:textSize="40sp"/> 11 12 <ImageView 13 android:id="@+id/imageView" 14 android:layout_width="match_parent" 15 android:layout_height="wrap_content" 16 app:srcCompat="@drawable/back" /> 17 </LinearLayout>
apktool d app-debug.apk -o ./decode -f
final Intent intent=new Intent(fakelaunch.this,MainActivity.class);
Timer timer=new Timer();
TimerTask timerTask=new TimerTask() {
@Override
public void run() {
startActivity(intent);
}
};
timer.schedule(timerTask,3000);
}
<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/back"
tools:ignore="MissingConstraints" />
<activity android:name=".fakelaunch">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".MainActivity">
</activity>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。