From 473db340bf71f2b9261c1de88ea3b8f8de319236 Mon Sep 17 00:00:00 2001 From: mcxiaoke Date: Fri, 11 Mar 2016 14:33:08 +0800 Subject: [PATCH] fix ui chaos when logout --- app/src/main/AndroidManifest.xml | 2 +- .../java/com/mcxiaoke/minicat/AppContext.java | 7 ++--- .../com/mcxiaoke/minicat/api/FanFouApi.java | 7 +++-- .../mcxiaoke/minicat/app/UIBaseSupport.java | 24 ++--------------- .../java/com/mcxiaoke/minicat/app/UIHome.java | 26 +++++++++++++++++-- .../com/mcxiaoke/minicat/app/UILogin.java | 3 ++- .../minicat/controller/UIController.java | 2 +- .../fragment/SwipeRefreshListFragment.java | 4 ++- 8 files changed, 38 insertions(+), 37 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 90cd5ec6..e2a9fb25 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -69,7 +69,7 @@ android:configChanges="keyboardHidden|orientation" android:label="@string/app_name" android:theme="@style/AppTheme.WhiteBg" - android:launchMode="singleTask" + android:launchMode="singleTop" android:screenOrientation="portrait">