Bläddra i källkod

删除无用资源6

zengjiebin 8 år sedan
förälder
incheckning
8b53eeac22

+ 1 - 52
app/src/main/java/com/kfzs/duanduan/fragment/FgtSmallSheep.java

@@ -3,7 +3,6 @@ package com.kfzs.duanduan.fragment;
 import android.app.Activity;
 import android.content.Context;
 import android.content.DialogInterface;
-import android.graphics.drawable.Drawable;
 import android.os.Bundle;
 import android.os.Handler;
 import android.os.Message;
@@ -32,13 +31,9 @@ import com.alibaba.fastjson.JSONObject;
 import com.bumptech.glide.Glide;
 import com.bumptech.glide.load.engine.DiskCacheStrategy;
 import com.bumptech.glide.request.RequestOptions;
-import com.kfzs.appstore.utils.adapter.recyclerview.ViewHolder;
 import com.kfzs.duanduan.BaseCompatFragment;
-import com.kfzs.duanduan.bean.KFIntentKeys;
 import com.kfzs.duanduan.event.BigEvent;
-import com.kfzs.duanduan.proto.IndexBannerOuterClass;
 import com.kfzs.duanduan.react.ReactUtil;
-import com.kfzs.duanduan.utils.dlg.SkipUtils;
 import com.kfzs.duanduan.view.ImageGlarry;
 import com.sheep.gamegroup.di.components.DaggerSmallSheepComponent;
 import com.sheep.gamegroup.di.modules.SmallSheepModule;
@@ -66,7 +61,6 @@ import com.sheep.gamegroup.presenter.TryMakeMoneyPresenter;
 import com.sheep.gamegroup.util.AppUtil;
 import com.sheep.gamegroup.util.CommonUtil;
 import com.sheep.gamegroup.util.ConnectAddress;
-import com.sheep.gamegroup.util.ImageGlarryDrawable;
 import com.sheep.gamegroup.util.Jump2View;
 import com.sheep.gamegroup.util.MyDbManager;
 import com.sheep.gamegroup.util.PreferenceUtils;
@@ -80,21 +74,17 @@ import com.sheep.jiuyan.samllsheep.R;
 import com.sheep.jiuyan.samllsheep.SheepApp;
 import com.sheep.jiuyan.samllsheep.utils.G;
 import com.sunfusheng.marqueeview.MarqueeView;
-import com.umeng.analytics.MobclickAgent;
 
 import org.greenrobot.eventbus.EventBus;
 import org.greenrobot.eventbus.Subscribe;
 import org.greenrobot.eventbus.ThreadMode;
-import org.w3c.dom.Text;
 import org.xutils.ex.DbException;
 
 import java.text.SimpleDateFormat;
 import java.util.ArrayList;
 import java.util.Date;
-import java.util.HashMap;
 import java.util.List;
 import java.util.Locale;
-import java.util.Map;
 
 import javax.inject.Inject;
 
@@ -133,8 +123,6 @@ public class FgtSmallSheep extends BaseCompatFragment implements SmallSheepContr
     TextView myPrice;
     @BindView(R.id.my_all_price)
     TextView myAllPrice;
-    @BindView(R.id.couple_red_packets_iv)
-    ImageView coupleRedPacketsIv;
     @BindView(R.id.try_play_layout)
     LinearLayout tryPlayLayout;
     @BindView(R.id.invitation_layout)
@@ -371,7 +359,7 @@ public class FgtSmallSheep extends BaseCompatFragment implements SmallSheepContr
                 });
     }
 
-    @OnClick({ R.id.user_layout, R.id.withdrawal, R.id.couple_red_packets_iv, R.id.try_play_layout,
+    @OnClick({ R.id.user_layout, R.id.withdrawal, R.id.try_play_layout,
             R.id.invitation_layout, R.id.lying_layout, R.id.newbie_task, R.id.card_layout, R.id.icon_layout})
     public void onViewClicked(View view) {
         switch (view.getId()) {
@@ -380,8 +368,6 @@ public class FgtSmallSheep extends BaseCompatFragment implements SmallSheepContr
             case R.id.withdrawal:
                 Jump2View.getInstance().goWithdrawal(activity, null);
                 break;
-            case R.id.couple_red_packets_iv:
-                break;
             case R.id.try_play_layout://试玩赚钱
                 Jump2View.getInstance().goTryplayView(activity, null);
                 break;
@@ -813,43 +799,6 @@ public class FgtSmallSheep extends BaseCompatFragment implements SmallSheepContr
         super.onStart();
     }
 
-    /**
-     * banner
-     */
-    private ImageGlarryDrawable mImageGlarry;
-
-    private void setBanner() {
-        ArrayList<Drawable> imgURL = new ArrayList<>();
-        imgURL.add(getResources().getDrawable(R.mipmap.couple_red_packets));
-        imgURL.add(getResources().getDrawable(R.mipmap.home_credit_img));
-//        imgURL.add(getResources().getDrawable(R.mipmap.home_sheep_img));
-        if (mImageGlarry != null) {
-            mImageGlarry.init(imgURL.toArray(new Drawable[]{}), ImageView.ScaleType.CENTER_CROP);
-            return;
-        }
-        mImageGlarry = new ImageGlarryDrawable((Activity) mContext, viewpager_banner, group_banner);
-        mImageGlarry.init(imgURL.toArray(new Drawable[]{}), ImageView.ScaleType.CENTER_CROP);
-        mImageGlarry.setOnItemClickListener(new AdapterView.OnItemClickListener() {
-            @Override
-            public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
-
-                switch (position) {
-                    case 0:
-                        Jump2View.getInstance()
-                                .goTryplayView(activity, null);
-                        break;
-                    case 1:
-                        Jump2View.getInstance()
-                                .goHomePageView(activity, 3);
-                        break;
-                    case 2:
-                        Jump2View.getInstance()
-                                .goWebview(activity, 3);
-                        break;
-                }
-            }
-        });
-    }
 
     private ImageGlarry mImageGlarryStr;
     private void bindBanner() {

+ 0 - 1
app/src/main/java/com/sheep/gamegroup/view/adapter/CreditCardTaskAdp.java

@@ -41,7 +41,6 @@ public class CreditCardTaskAdp extends BaseAdapter {
     public long getItemId(int position) {
         return 0;
     }
-    private final static int[] ids = {R.drawable.ic_gold_credit_card_2, R.drawable.ic_ms_card};
     @Override
     public View getView(final int position, View convertView, ViewGroup parent) {
         Object tag = convertView == null ? null : convertView.getTag();

BIN
app/src/main/res/drawable-xxhdpi/ic_gold_credit_card_2.png


BIN
app/src/main/res/drawable-xxhdpi/ic_ms_card.png


app/src/main/res/drawable-hdpi/understand_small_bg.jpg → app/src/main/res/drawable-xxxhdpi/understand_small_bg.jpg


+ 0 - 7
app/src/main/res/layout/homepage_act_layout.xml

@@ -74,11 +74,4 @@
         android:layout_alignParentEnd="true"
         android:text="切换服务器"
         android:visibility="visible"/>
-    <ImageView
-        android:id="@+id/couple_red_packets_iv"
-        android:layout_width="match_parent"
-        android:layout_height="wrap_content"
-        android:padding="@dimen/content_padding_10"
-        android:src="@mipmap/couple_red_packets"
-        android:visibility="gone"/>
 </RelativeLayout>

+ 0 - 5
app/src/main/res/layout/webview_act_layout.xml

@@ -6,11 +6,6 @@
     <include
         layout="@layout/title"/>
 
-    <ImageView
-        android:layout_width="match_parent"
-        android:layout_height="match_parent"
-        android:background="@mipmap/home_sheep_main_img"
-        android:visibility="gone"/>
     <com.kfzs.android.view.widget.SafeWebView
         android:id="@+id/activity_webview"
         android:layout_width="match_parent"

BIN
app/src/main/res/mipmap-hdpi/ic_launcher.png


BIN
app/src/main/res/mipmap-mdpi/ic_launcher.png


BIN
app/src/main/res/mipmap-xhdpi/couple_red_packets.png


BIN
app/src/main/res/mipmap-xhdpi/home_credit_img.png


BIN
app/src/main/res/mipmap-xhdpi/home_sheep_main_img.png


BIN
app/src/main/res/mipmap-xhdpi/ic_launcher.png


BIN
app/src/main/res/mipmap-xxhdpi/couple_red_packets.png


BIN
app/src/main/res/mipmap-xxhdpi/home_credit_img.png


BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher.png


BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png