Bubbles: fix paddings

This commit is contained in:
ganfra 2022-01-27 18:18:39 +01:00
parent 881b063d45
commit ed9adf8367
4 changed files with 10 additions and 13 deletions

View File

@ -6,6 +6,13 @@
<item name="android:layout_height">wrap_content</item>
</style>
<style name="TimelineContentStubContainerParams">
<item name="android:paddingStart">8dp</item>
<item name="android:paddingEnd">8dp</item>
<item name="android:paddingTop">4dp</item>
<item name="android:paddingBottom">4dp</item>
</style>
<style name="TimelineContentMediaPillStyle">
<item name="android:paddingStart">8dp</item>
<item name="android:paddingEnd">8dp</item>

View File

@ -26,6 +26,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
style="@style/TimelineContentStubContainerParams"
android:layout_toEndOf="@id/messageStartGuideline">
<ViewStub

View File

@ -31,6 +31,7 @@
<FrameLayout
android:id="@+id/viewStubContainer"
style="@style/TimelineContentStubContainerParams"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"

View File

@ -4,12 +4,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:addStatesFromChildren="true"
android:paddingStart="8dp"
android:paddingLeft="8dp"
android:paddingTop="4dp"
android:paddingEnd="8dp"
android:paddingRight="8dp"
android:paddingBottom="4dp">
style="@style/TimelineContentStubContainerParams">
<ViewStub
android:id="@+id/messageContentTextStub"
@ -18,13 +13,6 @@
android:layout="@layout/item_timeline_event_text_message_stub"
tools:visibility="visible" />
<ViewStub
android:id="@+id/messageContentCodeBlockStub"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout="@layout/item_timeline_event_code_block_stub"
tools:visibility="visible" />
<ViewStub
android:id="@+id/messageContentMediaStub"
style="@style/TimelineContentStubBaseParams"