diff --git a/OsmAnd-telegram/res/layout/live_now_chat_card.xml b/OsmAnd-telegram/res/layout/live_now_chat_card.xml index 5ed191d2e7..4abb6b3c18 100644 --- a/OsmAnd-telegram/res/layout/live_now_chat_card.xml +++ b/OsmAnd-telegram/res/layout/live_now_chat_card.xml @@ -89,7 +89,8 @@ android:layout_marginRight="4dp" android:text="•" android:textColor="?attr/android:textColorSecondary" - android:textSize="@dimen/list_item_description_text_size"/> + android:textSize="@dimen/list_item_description_text_size" + android:visibility="invisible" /> diff --git a/OsmAnd-telegram/res/layout/user_list_item.xml b/OsmAnd-telegram/res/layout/user_list_item.xml index da4e6a1c41..a96bd241fa 100644 --- a/OsmAnd-telegram/res/layout/user_list_item.xml +++ b/OsmAnd-telegram/res/layout/user_list_item.xml @@ -87,7 +87,8 @@ android:layout_marginRight="4dp" android:text="•" android:textColor="?attr/android:textColorSecondary" - android:textSize="@dimen/list_item_description_text_size"/> + android:textSize="@dimen/list_item_description_text_size" + android:visibility="invisible" /> diff --git a/OsmAnd-telegram/src/net/osmand/telegram/ui/MyLocationTabFragment.kt b/OsmAnd-telegram/src/net/osmand/telegram/ui/MyLocationTabFragment.kt index cd89ad6953..f1ddd453cb 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/ui/MyLocationTabFragment.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/ui/MyLocationTabFragment.kt @@ -292,17 +292,17 @@ class MyLocationTabFragment : Fragment(), TelegramListener { cornerRadiusTo.toFloat() ) - val marginAnimator = ValueAnimator.ofInt(marginFrom, marginTo) - marginAnimator.addUpdateListener { - val value = it.animatedValue as Int - val params = searchBox.layoutParams as LinearLayout.LayoutParams - params.setMargins(value, params.topMargin, value, params.bottomMargin) - searchBox.layoutParams = params - } +// val marginAnimator = ValueAnimator.ofInt(marginFrom, marginTo) +// marginAnimator.addUpdateListener { +// val value = it.animatedValue as Int +// val params = searchBox.layoutParams as LinearLayout.LayoutParams +// params.setMargins(value, params.topMargin, value, params.bottomMargin) +// searchBox.layoutParams = params +// } AnimatorSet().apply { duration = 200 - playTogether(cornerAnimator, marginAnimator) + play(cornerAnimator) addListener(object : AnimatorListenerAdapter() { override fun onAnimationEnd(animation: Animator?) { updateTitleTextColor()