Skip to content

Commit

Permalink
apply font type OpenSans for chat typing box
Browse files Browse the repository at this point in the history
  • Loading branch information
tien-awair committed Jun 22, 2022
1 parent 3c4406f commit fe948ba
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions uikit/src/main/res/font/open_sans_family.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<font-family xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">

<font
app:fontStyle="normal"
app:fontWeight="400"
app:font="@font/opensans_medium" />
</font-family>
Binary file added uikit/src/main/res/font/opensans_medium.ttf
Binary file not shown.
Binary file added uikit/src/main/res/font/opensans_regular.ttf
Binary file not shown.
1 change: 1 addition & 0 deletions uikit/src/main/res/layout/sb_view_message_input.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
android:layout_weight="1"
android:hint="@string/sb_text_channel_input_text_hint"
android:imeOptions="flagNoExtractUi"
android:fontFamily="@font/open_sans_family"
android:inputType="textCapSentences|textMultiLine"
android:maxLines="3"
android:paddingLeft="@dimen/sb_size_20"
Expand Down

0 comments on commit fe948ba

Please sign in to comment.