some Optimizations for tablets (#647)

* show ComposeActivity as Dialog on tablets

* limit timeline width on large devices

* limit width on large devices for thread view and search

* increase media preview size on large devices
This commit is contained in:
Konrad Pozniak 2018-05-16 19:14:53 +02:00 committed by GitHub
commit d4572a9d0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 122 additions and 34 deletions

View file

@ -15,7 +15,7 @@
android:label="@string/app_name"
android:name=".TuskyApplication"
android:supportsRtl="true"
android:theme="@style/AppTheme">
android:theme="@style/TuskyTheme">
<activity
android:name=".SplashActivity"
@ -49,6 +49,7 @@
</activity>
<activity
android:name=".ComposeActivity"
android:theme="@style/TuskyDialogActivityTheme"
android:windowSoftInputMode="stateVisible|adjustResize">
<intent-filter>
<action android:name="android.intent.action.SEND" />
@ -68,14 +69,14 @@
</activity>
<activity
android:name=".ViewVideoActivity"
android:theme="@style/AppThemeBase"
android:theme="@style/TuskyBaseTheme"
android:configChanges="orientation|keyboardHidden|screenSize" />
<activity
android:name=".ViewThreadActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ViewTagActivity" />
<activity android:name=".ViewMediaActivity"
android:theme="@style/AppThemeBase" />
android:theme="@style/TuskyBaseTheme" />
<activity android:name=".AccountActivity" />
<activity android:name=".EditProfileActivity" />
<activity android:name=".PreferencesActivity" />