|
|
@@ -9,6 +9,7 @@ import android.content.Intent;
|
|
|
import android.content.pm.PackageManager;
|
|
|
import android.net.Uri;
|
|
|
import android.os.Bundle;
|
|
|
+import android.os.Handler;
|
|
|
import android.provider.Settings;
|
|
|
import android.support.annotation.NonNull;
|
|
|
import android.support.annotation.Nullable;
|
|
|
@@ -110,7 +111,7 @@ public class MainDebugFragment extends FragmentBase<MainPresenter> implements IM
|
|
|
contentsRecyclerView = findViewById(R.id.recycler_view_main);
|
|
|
contentsRecyclerView.addOnScrollListener(scrollListener);
|
|
|
|
|
|
- TextView buttonAddSpecialCode = findViewById(R.id.button_add_special_code);
|
|
|
+ TextView buttonAddSpecialCode = findViewById(R.id.button_add_special_code);
|
|
|
|
|
|
buttonAddSpecialCode.setOnClickListener(v -> {
|
|
|
presenter.onEvent(new Event.Builder(Event.SPECIAL_CODE_CLICK).build());
|
|
|
@@ -347,6 +348,7 @@ public class MainDebugFragment extends FragmentBase<MainPresenter> implements IM
|
|
|
public void setNewbieLayoutVisible(boolean visible) {
|
|
|
if (visible) {
|
|
|
layoutNewbie.setVisibility(View.VISIBLE);
|
|
|
+
|
|
|
}
|
|
|
else {
|
|
|
layoutNewbie.animate().withLayer().setStartDelay(200).setDuration(400).translationY(layoutNewbie.getHeight()).start();
|