Skip to content

Commit

Permalink
Pull request #425: Mtokar MCA-3697 remove autosize text feature for i…
Browse files Browse the repository at this point in the history
…ncoming call screen

Merge in MML/infobip-mobile-messaging-android from mtokar-MCA-3697-remove_autosize_feature to master

Squashed commit of the following:

commit acf2e9371e093db2b481403eeb48c37672a97ac8
Author: Matuš Tokar <[email protected]>
Date:   Thu Feb 22 15:59:16 2024 +0100

    revert demo style changes

commit d4307be72f4b47f2e102ec252d25add0ec9032e8
Author: Matuš Tokar <[email protected]>
Date:   Thu Feb 22 15:54:26 2024 +0100

    remove autosize feature
  • Loading branch information
Matuš Tokar authored and Matuš Tokar committed Feb 23, 2024
1 parent e6d1514 commit 5d11766
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<!-- uncomment to override webrtc-ui style -->
<!-- <style name="InfobipRtcUi">
<item name="rtc_ui_color_foreground">#666666</item>
<item name="rtc_ui_color_notification">#009900</item>
<item name="rtc_ui_color_actions_background">#15666666</item>
<item name="rtc_ui_color_actions_background_checked">#222222</item>
<item name="rtc_ui_color_actions_icon">#222222</item>
Expand All @@ -26,8 +25,6 @@
//bottom sheet
<item name="rtc_ui_color_actions_row_background">@color/black</item>
<item name="rtc_ui_color_actions_row_icon">@color/red</item>
<item name="rtc_ui_color_actions_pill_color">@color/red</item>
<item name="rtc_ui_color_actions_divider_color">@color/red</item>
<item name="rtc_ui_color_actions_row_label">@color/green</item>
<item name="rtc_ui_color_sheet_background">@color/blue</item>
</style>-->
Expand Down
8 changes: 0 additions & 8 deletions infobip-rtc-ui/src/main/res/layout/fragment_incoming_call.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@
app:layout_constraintTop_toBottomOf="@id/name"
android:gravity="center"
android:visibility="gone"
app:autoSizeMaxTextSize="100sp"
app:autoSizeMinTextSize="36sp"
app:autoSizeStepGranularity="2sp"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toTopOf="@id/customMessage"
tools:text="Incoming call custom integrator headline"
tools:visibility="visible"/>
Expand All @@ -59,10 +55,6 @@
android:layout_marginVertical="16dp"
android:gravity="center"
android:visibility="gone"
app:autoSizeMaxTextSize="100sp"
app:autoSizeMinTextSize="12sp"
app:autoSizeStepGranularity="2sp"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toTopOf="@id/decline"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
Expand Down

0 comments on commit 5d11766

Please sign in to comment.