mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 22:13:38 +00:00
Merge remote-tracking branch 'upstream/dev'
This commit is contained in:
commit
9373d78f45
@ -6,6 +6,7 @@ import android.animation.ValueAnimator
|
|||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.res.ColorStateList
|
import android.content.res.ColorStateList
|
||||||
import android.graphics.PointF
|
import android.graphics.PointF
|
||||||
|
import android.graphics.Typeface
|
||||||
import android.os.Build
|
import android.os.Build
|
||||||
import android.util.AttributeSet
|
import android.util.AttributeSet
|
||||||
import android.util.TypedValue
|
import android.util.TypedValue
|
||||||
@ -75,7 +76,8 @@ class NewConversationButtonSetView : RelativeLayout {
|
|||||||
private val sessionButton by lazy { Button(context, false, R.drawable.ic_message) }
|
private val sessionButton by lazy { Button(context, false, R.drawable.ic_message) }
|
||||||
private val sessionTooltip by lazy {
|
private val sessionTooltip by lazy {
|
||||||
TextView(context).apply {
|
TextView(context).apply {
|
||||||
setTextSize(TypedValue.COMPLEX_UNIT_SP, 10f)
|
setTextSize(TypedValue.COMPLEX_UNIT_SP, 12f)
|
||||||
|
typeface = Typeface.DEFAULT_BOLD
|
||||||
setText(R.string.NewConversationButton_SessionTooltip)
|
setText(R.string.NewConversationButton_SessionTooltip)
|
||||||
isAllCaps = true
|
isAllCaps = true
|
||||||
}
|
}
|
||||||
@ -83,7 +85,8 @@ class NewConversationButtonSetView : RelativeLayout {
|
|||||||
private val closedGroupButton by lazy { Button(context, false, R.drawable.ic_group) }
|
private val closedGroupButton by lazy { Button(context, false, R.drawable.ic_group) }
|
||||||
private val closedGroupTooltip by lazy {
|
private val closedGroupTooltip by lazy {
|
||||||
TextView(context).apply {
|
TextView(context).apply {
|
||||||
setTextSize(TypedValue.COMPLEX_UNIT_SP, 10f)
|
setTextSize(TypedValue.COMPLEX_UNIT_SP, 12f)
|
||||||
|
typeface = Typeface.DEFAULT_BOLD
|
||||||
setText(R.string.NewConversationButton_ClosedGroupTooltip)
|
setText(R.string.NewConversationButton_ClosedGroupTooltip)
|
||||||
isAllCaps = true
|
isAllCaps = true
|
||||||
}
|
}
|
||||||
@ -91,7 +94,8 @@ class NewConversationButtonSetView : RelativeLayout {
|
|||||||
private val openGroupButton by lazy { Button(context, false, R.drawable.ic_globe) }
|
private val openGroupButton by lazy { Button(context, false, R.drawable.ic_globe) }
|
||||||
private val openGroupTooltip by lazy {
|
private val openGroupTooltip by lazy {
|
||||||
TextView(context).apply {
|
TextView(context).apply {
|
||||||
setTextSize(TypedValue.COMPLEX_UNIT_SP, 10f)
|
setTextSize(TypedValue.COMPLEX_UNIT_SP, 12f)
|
||||||
|
typeface = Typeface.DEFAULT_BOLD
|
||||||
setText(R.string.NewConversationButton_OpenGroupTooltip)
|
setText(R.string.NewConversationButton_OpenGroupTooltip)
|
||||||
isAllCaps = true
|
isAllCaps = true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user