mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/1430 - Handle more text in a more graceful way
This commit is contained in:
parent
c8965e6037
commit
61c001c820
@ -158,12 +158,6 @@ class HomeFragment : Fragment(), CoroutineScope {
|
|||||||
|
|
||||||
// We need the shadow to be above the components.
|
// We need the shadow to be above the components.
|
||||||
homeDividerShadow.bringToFront()
|
homeDividerShadow.bringToFront()
|
||||||
|
|
||||||
wordmark.setOnClickListener {
|
|
||||||
FenixSnackbar.make(it, FenixSnackbar.LENGTH_LONG)
|
|
||||||
.setText("Testing")
|
|
||||||
.show()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onDestroyView() {
|
override fun onDestroyView() {
|
||||||
|
@ -25,13 +25,12 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:maxLines="1"
|
android:maxLines="2"
|
||||||
android:textColor="@color/photonWhite"
|
android:textColor="@color/photonWhite"
|
||||||
android:textSize="18sp"
|
android:textSize="18sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:typeface="sans"
|
android:typeface="sans"
|
||||||
android:letterSpacing="0.05"
|
android:letterSpacing="0.05"
|
||||||
android:gravity="center"
|
|
||||||
tools:text="This is a custom Snackbar text"
|
tools:text="This is a custom Snackbar text"
|
||||||
android:textAlignment="textStart"
|
android:textAlignment="textStart"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
Loading…
Reference in New Issue
Block a user