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

@ -25,7 +25,7 @@
<android.support.v4.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="@dimen/compose_activity_scrollview_height"
android:layout_marginBottom="52dp"
android:layout_marginTop="?attr/actionBarSize">
@ -257,8 +257,8 @@
<ImageButton
android:id="@+id/composeEmojiButton"
style="?attr/image_button_style"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginEnd="4dp"
android:contentDescription="@string/action_emoji_keyboard"
android:padding="4dp"
@ -276,7 +276,7 @@
android:layout_height="wrap_content"
android:textColor="?android:textColorTertiary"
android:textSize="?attr/status_text_medium"
tools:text="500"/>
tools:text="500" />
<com.keylesspalace.tusky.view.TootButton
android:id="@+id/composeTootButton"