从APK中提取Gif

时间:2013-10-16 10:11:27

标签: android apk loader

我需要从Facebook的APK中提取loader.gif吗?

enter image description here

我喜欢这个动画=(

2 个答案:

答案 0 :(得分:0)

尝试使用WinRar或7zip等zip工具打开Facebook apk。然后,您可以浏览文件夹。

如果你没有找到gif,有许多网站,如http://www.ajaxload.info/,你可以在那里生成这样的GIF。

也许你应该看看这个问题。 Reverse engineering from an APK file to a project

答案 1 :(得分:-1)

facebookImage 添加到您的drawable文件夹中 在splash.xml中编写以下代码

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center"
>
<ImageView
    android:id = "@+id/facebookImage"
    android:layout_width = "fill_parent"
    android:layout_height = "fill_parent"
    android:scaleType = "fitXY"     
    android:contentDescription="@string/decriptionImage"
    />    
<ProgressBar
    android:layout_centerInParent="true"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">
   </ProgressBar></RelativeLayout>
您想要的活动中的

setContentView(R.layout.splash)