Skip to content
Snippets Groups Projects
Verified Commit bb798370 authored by clairehurst's avatar clairehurst Committed by Pier Angelo Vendrame
Browse files

fixup! [android] Add Tor integration and UI

parent 8f8dc965
Branches
Tags
1 merge request!1222Bug 43166: Rebased alpha onto 128.3.0esr
......@@ -1453,7 +1453,8 @@ class HomeFragment : Fragment() {
else -> ColorStateList.valueOf(color)
}
binding.wordmarkText.imageTintList = tintColor
// tor-browser#42590
// binding.wordmarkText.imageTintList = tintColor
binding.privateBrowsingButton.imageTintList = tintColor
}
......
......
......@@ -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"
......@@ -65,14 +65,19 @@
<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="?fenixWordmarkLogo"
tools:ignore="ImageContrastCheck" />
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" />
<!--
tor-browser#42590
<ImageView
android:id="@+id/wordmarkText"
android:layout_width="wrap_content"
......@@ -81,7 +86,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>
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment