2
0
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:
Jeff Boek 2019-04-09 16:31:26 -07:00
parent c8965e6037
commit 61c001c820
2 changed files with 1 additions and 8 deletions

View File

@ -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() {

View File

@ -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"