fix weird resizing of ComposeActivity when emojis are loaded on tablets
This commit is contained in:
parent
10024221b6
commit
265fa3c984
|
@ -168,12 +168,12 @@
|
|||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/emojiView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?android:colorBackground"
|
||||
android:clipToPadding="false"
|
||||
android:elevation="12dp"
|
||||
android:orientation="horizontal"
|
||||
android:orientation="vertical"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingEnd="16dp"
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
<item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
|
||||
<item name="android:windowCloseOnTouchOutside">false</item>
|
||||
<item name="android:windowActionModeOverlay">true</item>
|
||||
<item name="android:windowMinWidthMajor">80%</item>
|
||||
<item name="android:windowMinWidthMinor">80%</item>
|
||||
</style>
|
||||
|
||||
<style name="TuskyDialogActivityBlackTheme" parent="@style/TuskyBlackTheme">
|
||||
|
@ -17,6 +19,8 @@
|
|||
<item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
|
||||
<item name="android:windowCloseOnTouchOutside">false</item>
|
||||
<item name="android:windowActionModeOverlay">true</item>
|
||||
<item name="android:windowMinWidthMajor">80%</item>
|
||||
<item name="android:windowMinWidthMinor">80%</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue