Skip to content

Commit

Permalink
fix orientation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zfdang committed Jul 15, 2016
1 parent e364532 commit 7696f64
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,36 +33,51 @@
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/AppTheme.NoActionBar.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>

<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>

<activity
android:name=".LoginActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/title_activity_login"/>

<activity
android:name=".BoardTopicActivity"
android:label="@string/title_topic_list"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/AppTheme.NoActionBar">
</activity>

<activity
android:name=".MailContentActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/title_activity_mail_content"
android:theme="@style/AppTheme.NoActionBar">
</activity>

<!--// OpenGLRenderer: Shape too large to be rendered into a texture (1428x42739, max=8192x8192)-->
<!--so we disable hardwareAccelerated for postListActivity & FSImageViewer-->
<activity
android:name=".PostListActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/title_topic_detail"
android:theme="@style/AppTheme.NoActionBar">
</activity>
<activity
android:name=".ComposePostActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/title_activity_compose_post"
android:theme="@style/AppTheme.NoActionBar">
</activity>
<activity
android:name=".QueryUserActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/title_activity_query_user"
android:theme="@style/AppTheme.NoActionBar">
</activity>
Expand Down Expand Up @@ -125,11 +140,6 @@
android:name="UMENG_CHANNEL"
android:value="ZFDANG"/>

<activity
android:name=".MailContentActivity"
android:label="@string/title_activity_mail_content"
android:theme="@style/AppTheme.NoActionBar">
</activity>
</application>

</manifest>

0 comments on commit 7696f64

Please sign in to comment.