|
|
@@ -10,7 +10,6 @@ import android.support.design.widget.TabLayout;
|
|
|
import android.support.v4.view.ViewPager;
|
|
|
import android.support.v7.widget.LinearLayoutManager;
|
|
|
import android.support.v7.widget.RecyclerView;
|
|
|
-import android.util.TypedValue;
|
|
|
import android.view.LayoutInflater;
|
|
|
import android.view.View;
|
|
|
import android.view.ViewGroup;
|
|
|
@@ -123,9 +122,9 @@ public abstract class MyMainFragment extends FragmentBase<MyMainPresenter> imple
|
|
|
ImageView banner = findViewById(R.id.image_view_benefit);
|
|
|
findViewById(R.id.image_view_benefit).setOnClickListener(view -> {presenter.onEvent(new Event.Builder(Event.BANNER).build());});
|
|
|
|
|
|
- TypedValue outValue = new TypedValue();
|
|
|
- getContext().getTheme().resolveAttribute(android.R.attr.selectableItemBackground, outValue, true);
|
|
|
- banner.setForeground(ResourceUtil.getDrawable(getContext(), outValue.resourceId));
|
|
|
+// TypedValue outValue = new TypedValue();
|
|
|
+// getContext().getTheme().resolveAttribute(android.R.attr.selectableItemBackground, outValue, true);
|
|
|
+// banner.setForeground(ResourceUtil.getDrawable(getContext(), outValue.resourceId));
|
|
|
|
|
|
|
|
|
textCoin = findViewById(R.id.text_view_my_coin);
|