mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Fixed text alignment
This commit is contained in:
parent
d467699388
commit
7d0d1a22ee
8 changed files with 14 additions and 13 deletions
|
|
@ -209,8 +209,8 @@
|
||||||
android:contentDescription="@string/content_description_change_camera"
|
android:contentDescription="@string/content_description_change_camera"
|
||||||
android:background="@drawable/circle_transparent_dark_button_background"
|
android:background="@drawable/circle_transparent_dark_button_background"
|
||||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && viewModel.isSendingVideo && viewModel.showSwitchCamera ? View.VISIBLE : View.GONE}"
|
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && viewModel.isSendingVideo && viewModel.showSwitchCamera ? View.VISIBLE : View.GONE}"
|
||||||
app:layout_constraintDimensionRatio="1:1"
|
|
||||||
app:tint="@color/bc_white"
|
app:tint="@color/bc_white"
|
||||||
|
app:layout_constraintDimensionRatio="1:1"
|
||||||
app:layout_constraintTop_toTopOf="@id/back"
|
app:layout_constraintTop_toTopOf="@id/back"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/back"
|
app:layout_constraintBottom_toBottomOf="@id/back"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/paused" />
|
app:layout_constraintEnd_toStartOf="@+id/paused" />
|
||||||
|
|
@ -220,10 +220,14 @@
|
||||||
android:layout_width="@dimen/big_icon_size"
|
android:layout_width="@dimen/big_icon_size"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
|
android:layout_marginStart="5dp"
|
||||||
|
android:layout_marginEnd="5dp"
|
||||||
android:src="@drawable/pause"
|
android:src="@drawable/pause"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
android:contentDescription="@string/content_description_paused_call"
|
android:contentDescription="@string/content_description_paused_call"
|
||||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && (viewModel.isPaused || viewModel.isPausedByRemote) ? View.VISIBLE : View.GONE, default=gone}"
|
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && (viewModel.isPaused || viewModel.isPausedByRemote) ? View.VISIBLE : View.GONE, default=gone}"
|
||||||
app:tint="?attr/color_main1_500"
|
app:tint="?attr/color_main1_500"
|
||||||
|
app:layout_constraintDimensionRatio="1:1"
|
||||||
app:layout_constraintTop_toTopOf="@id/back"
|
app:layout_constraintTop_toTopOf="@id/back"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/back"
|
app:layout_constraintBottom_toBottomOf="@id/back"
|
||||||
app:layout_constraintEnd_toStartOf="@id/stats" />
|
app:layout_constraintEnd_toStartOf="@id/stats" />
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,10 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:text="@{viewModel.terminatedByUser ? @string/call_locally_ended : @string/call_remotely_ended, default=@string/call_locally_ended}"
|
android:text="@{viewModel.terminatedByUser ? @string/call_locally_ended : @string/call_remotely_ended, default=@string/call_locally_ended}"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"/>
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintBottom_toTopOf="@id/call_media_encryption_info" />
|
||||||
|
|
||||||
<include
|
<include
|
||||||
android:id="@+id/call_media_encryption_info"
|
android:id="@+id/call_media_encryption_info"
|
||||||
|
|
|
||||||
|
|
@ -102,8 +102,6 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:layout_marginBottom="10dp"
|
|
||||||
android:text="@{viewModel.incomingCallTitle, default=@string/call_video_incoming}"
|
android:text="@{viewModel.incomingCallTitle, default=@string/call_video_incoming}"
|
||||||
app:layout_constraintStart_toEndOf="@id/call_direction_icon"
|
app:layout_constraintStart_toEndOf="@id/call_direction_icon"
|
||||||
app:layout_constraintTop_toTopOf="parent"/>
|
app:layout_constraintTop_toTopOf="parent"/>
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,6 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:layout_marginBottom="10dp"
|
|
||||||
android:text="@string/call_outgoing"
|
android:text="@string/call_outgoing"
|
||||||
app:layout_constraintStart_toEndOf="@id/call_direction_icon"
|
app:layout_constraintStart_toEndOf="@id/call_direction_icon"
|
||||||
app:layout_constraintTop_toTopOf="parent"/>
|
app:layout_constraintTop_toTopOf="parent"/>
|
||||||
|
|
|
||||||
|
|
@ -217,10 +217,14 @@
|
||||||
android:layout_width="@dimen/big_icon_size"
|
android:layout_width="@dimen/big_icon_size"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
|
android:layout_marginStart="5dp"
|
||||||
|
android:layout_marginEnd="5dp"
|
||||||
android:src="@drawable/pause"
|
android:src="@drawable/pause"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
android:contentDescription="@string/content_description_paused_call"
|
android:contentDescription="@string/content_description_paused_call"
|
||||||
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && (viewModel.isPaused || viewModel.isPausedByRemote) ? View.VISIBLE : View.GONE, default=gone}"
|
android:visibility="@{!viewModel.fullScreenMode && !viewModel.pipMode && (viewModel.isPaused || viewModel.isPausedByRemote) ? View.VISIBLE : View.GONE, default=gone}"
|
||||||
app:tint="?attr/color_main1_500"
|
app:tint="?attr/color_main1_500"
|
||||||
|
app:layout_constraintDimensionRatio="1:1"
|
||||||
app:layout_constraintTop_toTopOf="@id/back"
|
app:layout_constraintTop_toTopOf="@id/back"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/back"
|
app:layout_constraintBottom_toBottomOf="@id/back"
|
||||||
app:layout_constraintEnd_toStartOf="@id/stats" />
|
app:layout_constraintEnd_toStartOf="@id/stats" />
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,10 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:text="@{viewModel.terminatedByUser ? @string/call_locally_ended : @string/call_remotely_ended, default=@string/call_locally_ended}"
|
android:text="@{viewModel.terminatedByUser ? @string/call_locally_ended : @string/call_remotely_ended, default=@string/call_locally_ended}"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"/>
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintBottom_toTopOf="@id/call_media_encryption_info" />
|
||||||
|
|
||||||
<include
|
<include
|
||||||
android:id="@+id/call_media_encryption_info"
|
android:id="@+id/call_media_encryption_info"
|
||||||
|
|
|
||||||
|
|
@ -95,11 +95,9 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:layout_marginBottom="10dp"
|
|
||||||
android:text="@{viewModel.incomingCallTitle, default=@string/call_video_incoming}"
|
android:text="@{viewModel.incomingCallTitle, default=@string/call_video_incoming}"
|
||||||
app:layout_constraintStart_toEndOf="@id/call_direction_icon"
|
app:layout_constraintStart_toEndOf="@id/call_direction_icon"
|
||||||
app:layout_constraintTop_toTopOf="parent"/>
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
style="@style/default_text_style_300"
|
style="@style/default_text_style_300"
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,6 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:text="@string/call_outgoing"
|
android:text="@string/call_outgoing"
|
||||||
app:layout_constraintStart_toEndOf="@id/call_direction_icon"
|
app:layout_constraintStart_toEndOf="@id/call_direction_icon"
|
||||||
app:layout_constraintTop_toTopOf="parent"/>
|
app:layout_constraintTop_toTopOf="parent"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue