Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
hjubb committed Apr 19, 2022
2 parents 99073d8 + 7fc3599 commit 9373d78
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import android.animation.ValueAnimator
import android.content.Context
import android.content.res.ColorStateList
import android.graphics.PointF
import android.graphics.Typeface
import android.os.Build
import android.util.AttributeSet
import android.util.TypedValue
Expand Down Expand Up @@ -75,23 +76,26 @@ class NewConversationButtonSetView : RelativeLayout {
private val sessionButton by lazy { Button(context, false, R.drawable.ic_message) }
private val sessionTooltip by lazy {
TextView(context).apply {
setTextSize(TypedValue.COMPLEX_UNIT_SP, 10f)
setTextSize(TypedValue.COMPLEX_UNIT_SP, 12f)
typeface = Typeface.DEFAULT_BOLD
setText(R.string.NewConversationButton_SessionTooltip)
isAllCaps = true
}
}
private val closedGroupButton by lazy { Button(context, false, R.drawable.ic_group) }
private val closedGroupTooltip by lazy {
TextView(context).apply {
setTextSize(TypedValue.COMPLEX_UNIT_SP, 10f)
setTextSize(TypedValue.COMPLEX_UNIT_SP, 12f)
typeface = Typeface.DEFAULT_BOLD
setText(R.string.NewConversationButton_ClosedGroupTooltip)
isAllCaps = true
}
}
private val openGroupButton by lazy { Button(context, false, R.drawable.ic_globe) }
private val openGroupTooltip by lazy {
TextView(context).apply {
setTextSize(TypedValue.COMPLEX_UNIT_SP, 10f)
setTextSize(TypedValue.COMPLEX_UNIT_SP, 12f)
typeface = Typeface.DEFAULT_BOLD
setText(R.string.NewConversationButton_OpenGroupTooltip)
isAllCaps = true
}
Expand Down

0 comments on commit 9373d78

Please sign in to comment.