|
|
@@ -6,6 +6,7 @@ import android.support.v4.app.Fragment;
|
|
|
import android.support.v4.app.FragmentTransaction;
|
|
|
import android.text.TextUtils;
|
|
|
import android.util.Log;
|
|
|
+import android.view.Menu;
|
|
|
|
|
|
import com.sheep.gamegroup.absBase.BaseUMActivity;
|
|
|
import com.sheep.gamegroup.greendao.DDProviderHelper;
|
|
|
@@ -42,6 +43,17 @@ public class LoginAct extends BaseUMActivity implements LoginController {
|
|
|
return R.layout.activity_login;
|
|
|
}
|
|
|
|
|
|
+ public boolean onCreateOptionsMenu(Menu menu) {
|
|
|
+ try {
|
|
|
+ getSupportActionBar().getClass()
|
|
|
+ .getDeclaredMethod("setShowHideAnimationEnabled", boolean.class)
|
|
|
+ .invoke(getSupportActionBar(), false);
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+ return super.onCreateOptionsMenu(menu);
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public void initView() {
|
|
|
TitleBarUtils.getInstance().setTitleBack(this);
|