zengjiebin пре 7 година
родитељ
комит
1d5465b7f5

+ 0 - 8
app/src/main/java/com/sheep/gamegroup/view/activity/ActMain.java

@@ -137,8 +137,6 @@ public class ActMain extends BaseActYmPermissionCheck {
     RelativeLayout main_layout;
     @BindView(R.id.person_center_red_dot)
     View person_center_red_dot;
-    @BindView(R.id.home_new_spring_activitys_drl)
-    View home_new_spring_activitys_drl;
 
     @Override
     protected int getLayoutId() {
@@ -251,7 +249,6 @@ public class ActMain extends BaseActYmPermissionCheck {
     }
 
     private void changeVisible(int lastPosition, int position) {
-        ViewUtil.setVisibility(home_new_spring_activitys_drl, position != MainTab.FgtSmallSheep.ordinal());
     }
 
     /**
@@ -484,9 +481,4 @@ public class ActMain extends BaseActYmPermissionCheck {
         ViewUtil.setVisibility(person_center_red_dot, false);
     }
 
-    //跳转新春活动
-    @OnClick(R.id.home_new_spring_activitys_drl)
-    public void goNewSpringActivitys(View v) {
-        Jump2View.getInstance().goNewSpringActivitys();
-    }
 }

+ 0 - 18
app/src/main/res/layout/act_main.xml

@@ -119,22 +119,4 @@
         android:layout_above="@+id/tab_container"
         android:background="#AAe2e2e2" />
 
-    <com.kfzs.duanduan.view.DragRelativeLayout
-        android:id="@+id/home_new_spring_activitys_drl"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:layout_alignParentEnd="true"
-        android:layout_alignParentBottom="true"
-        android:layout_marginBottom="70dp"
-        android:gravity="end"
-        android:paddingTop="@dimen/content_padding_10"
-        android:paddingBottom="@dimen/content_padding_10">
-
-        <ImageView
-            android:layout_width="65dp"
-            android:layout_height="wrap_content"
-            android:adjustViewBounds="true"
-            android:scaleType="fitXY"
-            android:src="@mipmap/ic_act_new_year" />
-    </com.kfzs.duanduan.view.DragRelativeLayout>
 </RelativeLayout>