For #150 - Adds more style to the urlbar
This commit is contained in:
parent
3378ee4209
commit
da939bba50
|
@ -9,6 +9,7 @@ import androidx.fragment.app.Fragment
|
|||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.core.content.ContextCompat
|
||||
import kotlinx.android.synthetic.main.fragment_home.*
|
||||
|
||||
import org.mozilla.fenix.R
|
||||
|
@ -24,6 +25,12 @@ class HomeFragment : Fragment() {
|
|||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||
super.onViewCreated(view, savedInstanceState)
|
||||
toolbar_wrapper.clipToOutline = false
|
||||
toolbar.apply {
|
||||
textColor = ContextCompat.getColor(context, R.color.searchText)
|
||||
textSize = 14f
|
||||
hint = "Search the Web or enter address"
|
||||
hintColor = ContextCompat.getColor(context, R.color.searchText)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -5,4 +5,5 @@
|
|||
<color name="colorAccent">#D81B60</color>
|
||||
|
||||
<color name="searchStroke">#331b215e</color>
|
||||
<color name="searchText">#0C0C0D</color>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue