Increase Font size on Calling screen (#1643)

And cleanup the layout
This commit is contained in:
Benoit Marty 2020-08-17 16:48:40 +02:00
parent 1b9b18851d
commit d74dc2053b
2 changed files with 25 additions and 14 deletions

View File

@ -9,6 +9,7 @@ Improvements 🙌:
- Give user the possibility to prevent accidental call (#1869)
- Display device information (name, id and key) in Cryptography setting screen (#1784)
- Ensure users do not accidentally ignore other users (#1890)
- Increase Font size on Calling screen (#1643)
Bugfix 🐛:
- Fix invisible toolbar (Status.im theme) (#1746)

View File

@ -28,31 +28,38 @@
<TextView
android:id="@+id/participantNameText"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/layout_horizontal_margin"
android:layout_marginEnd="@dimen/layout_horizontal_margin"
android:gravity="center"
android:textColor="?riotx_text_primary"
android:textSize="20sp"
android:textSize="24sp"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@id/callTypeText"
tools:text="Joe" />
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:text="@sample/matrix.json/data/displayName" />
<TextView
android:id="@+id/callTypeText"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/layout_horizontal_margin"
android:layout_marginEnd="@dimen/layout_horizontal_margin"
android:layout_marginBottom="8dp"
android:gravity="center"
android:textColor="?riotx_text_secondary"
android:textSize="12sp"
android:textSize="14sp"
app:layout_constraintBottom_toTopOf="@id/otherMemberAvatar"
tools:text="Video Call" />
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:text="@string/action_video_call" />
<ImageView
android:id="@+id/otherMemberAvatar"
android:layout_width="128dp"
android:layout_height="128dp"
android:layout_centerVertical="true"
android:contentDescription="@string/avatar"
android:scaleType="centerCrop"
app:layout_constraintBottom_toBottomOf="parent"
@ -64,21 +71,25 @@
<TextView
android:id="@+id/callStatusText"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/layout_horizontal_margin"
android:layout_marginTop="8dp"
android:layout_marginEnd="@dimen/layout_horizontal_margin"
android:layout_marginBottom="8dp"
android:gravity="center"
android:textColor="?riotx_text_secondary"
android:textSize="12sp"
android:textSize="14sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/otherMemberAvatar"
tools:text="Connecting..." />
tools:text="@string/call_connecting" />
<ProgressBar
android:id="@+id/callConnectingProgress"
style="?android:attr/progressBarStyle"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
@ -91,7 +102,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="visible"
app:constraint_referenced_ids="participantNameText, callTypeText, otherMemberAvatar, callStatusText" />
app:constraint_referenced_ids="participantNameText,callTypeText,otherMemberAvatar,callStatusText" />
<androidx.constraintlayout.widget.Group
android:id="@+id/callVideoGroup"
@ -101,7 +112,6 @@
app:constraint_referenced_ids="pip_video_view, fullscreen_video_view"
tools:visibility="invisible" />
<im.vector.app.features.call.CallControlsView
android:id="@+id/callControls"
android:layout_width="match_parent"