Loading mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt +2 −1 Original line number Diff line number Diff line Loading @@ -1343,7 +1343,8 @@ class HomeFragment : Fragment(), UserInteractionHandler { else -> ColorStateList.valueOf(color) } binding.wordmarkText.imageTintList = tintColor // tor-browser#42590 // binding.wordmarkText.imageTintList = tintColor binding.privateBrowsingButton.imageTintList = tintColor } Loading mobile/android/fenix/app/src/main/res/layout/fragment_home.xml +34 −6 Original line number Diff line number Diff line Loading @@ -48,10 +48,10 @@ app:layout_collapseParallaxMultiplier=".167"/> <!-- This value needs to be 1.67 * the wordmark parallax value as its 24dp vs 40 --> <LinearLayout <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/wordmark" android:layout_width="wrap_content" android:layout_height="40dp" android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginTop="18dp" android:layout_marginBottom="32dp" Loading @@ -65,16 +65,21 @@ <ImageView android:id="@+id/wordmarkLogo" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_marginEnd="10.dp" android:layout_width="50dp" android:layout_height="50dp" android:adjustViewBounds="true" android:contentDescription="@null" app:srcCompat="@mipmap/ic_launcher_foreground" tools:ignore="ImageContrastCheck" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintEnd_toStartOf="@id/app_name" android:scaleX="1.5" android:scaleY="1.5" /> <!-- tor-browser#42590 <ImageView android:id="@+id/wordmarkText" android:layout_width="wrap_content" Loading @@ -83,7 +88,30 @@ android:contentDescription="@null" android:layout_marginTop="@dimen/wordmark_text_margin_top" app:srcCompat="?fenixWordmarkText" /> </LinearLayout> --> <TextView android:id="@+id/app_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:clickable="false" android:focusable="false" android:fontFamily="Roboto-Medium" android:gravity="start" android:importantForAccessibility="no" android:maxLines="2" android:paddingStart="16dp" android:paddingEnd="16dp" android:text="@string/app_name" android:textColor="#DEFFFFFF" android:textSize="20sp" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/wordmarkLogo" app:layout_constraintTop_toTopOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout> </com.google.android.material.appbar.CollapsingToolbarLayout> Loading Loading
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt +2 −1 Original line number Diff line number Diff line Loading @@ -1343,7 +1343,8 @@ class HomeFragment : Fragment(), UserInteractionHandler { else -> ColorStateList.valueOf(color) } binding.wordmarkText.imageTintList = tintColor // tor-browser#42590 // binding.wordmarkText.imageTintList = tintColor binding.privateBrowsingButton.imageTintList = tintColor } Loading
mobile/android/fenix/app/src/main/res/layout/fragment_home.xml +34 −6 Original line number Diff line number Diff line Loading @@ -48,10 +48,10 @@ app:layout_collapseParallaxMultiplier=".167"/> <!-- This value needs to be 1.67 * the wordmark parallax value as its 24dp vs 40 --> <LinearLayout <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/wordmark" android:layout_width="wrap_content" android:layout_height="40dp" android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginTop="18dp" android:layout_marginBottom="32dp" Loading @@ -65,16 +65,21 @@ <ImageView android:id="@+id/wordmarkLogo" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_marginEnd="10.dp" android:layout_width="50dp" android:layout_height="50dp" android:adjustViewBounds="true" android:contentDescription="@null" app:srcCompat="@mipmap/ic_launcher_foreground" tools:ignore="ImageContrastCheck" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintEnd_toStartOf="@id/app_name" android:scaleX="1.5" android:scaleY="1.5" /> <!-- tor-browser#42590 <ImageView android:id="@+id/wordmarkText" android:layout_width="wrap_content" Loading @@ -83,7 +88,30 @@ android:contentDescription="@null" android:layout_marginTop="@dimen/wordmark_text_margin_top" app:srcCompat="?fenixWordmarkText" /> </LinearLayout> --> <TextView android:id="@+id/app_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:clickable="false" android:focusable="false" android:fontFamily="Roboto-Medium" android:gravity="start" android:importantForAccessibility="no" android:maxLines="2" android:paddingStart="16dp" android:paddingEnd="16dp" android:text="@string/app_name" android:textColor="#DEFFFFFF" android:textSize="20sp" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/wordmarkLogo" app:layout_constraintTop_toTopOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout> </com.google.android.material.appbar.CollapsingToolbarLayout> Loading