Source code
Revision control
Copy as Markdown
Other Tools
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
<mozilla.components.browser.tabstray.thumbnail.TabThumbnailView
android:id="@+id/previewThumbnail"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?layer2" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/fakeToolbarTwo"
android:layout_width="match_parent"
android:layout_height="@dimen/browser_toolbar_height"
android:layout_gravity="bottom"
android:elevation="5dp"
android:background="?bottomBarBackground"
android:visibility="gone">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/fake_back_button"
android:layout_width="48dp"
android:layout_height="48dp"
android:paddingVertical="12dp"
android:paddingHorizontal="4dp"
app:srcCompat="@drawable/mozac_ic_back_24"
app:tint="?attr/textPrimary"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@id/fake_forward_button"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:visibility="gone"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/fake_forward_button"
android:layout_width="48dp"
android:layout_height="48dp"
android:paddingVertical="12dp"
android:paddingHorizontal="4dp"
app:srcCompat="@drawable/mozac_ic_forward_24"
app:tint="?attr/textPrimary"
app:layout_constraintStart_toEndOf="@id/fake_back_button"
app:layout_constraintEnd_toStartOf="@id/fake_clear_data_button"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:visibility="gone"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/fake_clear_data_button"
android:layout_width="48dp"
android:layout_height="48dp"
android:paddingVertical="12dp"
android:paddingHorizontal="4dp"
app:srcCompat="@drawable/mozac_ic_data_clearance_24"
app:tint="?attr/textPrimary"
app:layout_constraintStart_toEndOf="@id/fake_forward_button"
app:layout_constraintEnd_toStartOf="@id/url_view_wrapper"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:visibility="gone"
/>
<View
android:id="@+id/url_view_wrapper"
android:layout_width="0dp"
android:layout_height="0dp"
android:background="@drawable/home_search_background"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="8dp"
app:layout_constraintStart_toEndOf="@id/fake_clear_data_button"
app:layout_constraintEnd_toStartOf="@id/fake_new_tab_button"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/fake_share_button"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginEnd="8dp"
app:layout_constraintEnd_toStartOf="@id/fake_reload_button"
app:layout_constraintTop_toTopOf="@id/url_view_wrapper"
app:layout_constraintBottom_toBottomOf="@id/url_view_wrapper"
app:srcCompat="@drawable/mozac_ic_share_android_24"
app:tint="?attr/textPrimary"
android:padding="8dp"
android:elevation="10dp"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/fake_reload_button"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginEnd="4dp"
android:layout_marginStart="8dp"
app:layout_constraintEnd_toEndOf="@id/url_view_wrapper"
app:layout_constraintTop_toTopOf="@id/url_view_wrapper"
app:layout_constraintBottom_toBottomOf="@id/url_view_wrapper"
app:srcCompat="@drawable/mozac_ic_arrow_clockwise_24"
app:tint="?attr/textPrimary"
android:padding="8dp"
android:elevation="10dp"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/fake_new_tab_button"
android:layout_width="48dp"
android:layout_height="48dp"
android:paddingVertical="12dp"
android:paddingHorizontal="4dp"
app:srcCompat="@drawable/mozac_ic_plus_24"
app:tint="?attr/textPrimary"
app:layout_constraintStart_toEndOf="@id/url_view_wrapper"
app:layout_constraintEnd_toStartOf="@id/fake_tab_counter"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:visibility="gone"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/fake_tab_counter"
android:layout_width="48dp"
android:layout_height="48dp"
android:paddingVertical="12dp"
android:paddingHorizontal="4dp"
app:srcCompat="@drawable/mozac_ui_tabcounter_box"
app:tint="?attr/textPrimary"
app:layout_constraintStart_toEndOf="@id/fake_new_tab_button"
app:layout_constraintEnd_toStartOf="@id/fake_menu_button"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:visibility="gone"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/fake_menu_button"
android:layout_width="36dp"
android:layout_height="48dp"
android:paddingVertical="12dp"
android:paddingHorizontal="4dp"
app:srcCompat="@drawable/mozac_ic_ellipsis_vertical_24"
app:tint="?attr/textPrimary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:visibility="gone"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<LinearLayout
android:id="@+id/fakeToolbar"
android:layout_width="match_parent"
android:layout_height="@dimen/browser_toolbar_height"
android:layout_gravity="bottom"
android:background="?bottomBarBackground"
android:elevation="5dp"
android:foregroundGravity="bottom"
android:orientation="horizontal"
android:visibility="visible"
>
<View
android:id="@+id/toolbar_wrapper"
android:layout_width="0dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_marginStart="8dp"
android:layout_marginEnd="0dp"
android:layout_weight="1"
android:background="@drawable/home_search_background" />
<mozilla.components.ui.tabcounter.TabCounter
android:id="@+id/tab_button"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="center" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/menuButton"
android:layout_width="36dp"
android:layout_height="48dp"
android:layout_gravity="center"
android:scaleType="center"
app:srcCompat="@drawable/ic_menu"
app:tint="?attr/textPrimary" />
</LinearLayout>
</merge>