use different top margin for vert and land for duration display

This commit is contained in:
Daniel Gultsch 2021-03-06 09:45:13 +01:00
parent cf68c544aa
commit b8c61b795e
3 changed files with 4 additions and 2 deletions

View File

@ -73,7 +73,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_margin="24dp"
android:layout_marginTop="@dimen/rtp_session_duration_top_margin"
android:textAppearance="@style/TextAppearance.Conversations.Title.Monospace"
tools:text="01:23" />
@ -112,8 +112,8 @@
android:layout_height="wrap_content"
android:layout_below="@+id/app_bar_layout"
android:layout_alignParentStart="true"
android:layout_marginTop="24dp"
android:layout_marginStart="16dp"
android:layout_marginTop="@dimen/rtp_session_duration_top_margin"
android:alpha="0.7"
android:src="@drawable/ic_verified_fingerprint" />

View File

@ -1,4 +1,5 @@
<resources>
<dimen name="local_video_preview_height">96dp</dimen>
<dimen name="local_video_preview_width">128dp</dimen>
<dimen name="rtp_session_duration_top_margin">16dp</dimen>
</resources>

View File

@ -43,4 +43,5 @@
<dimen name="local_video_preview_height">128dp</dimen>
<dimen name="local_video_preview_width">96dp</dimen>
<dimen name="rtp_session_duration_top_margin">24dp</dimen>
</resources>