Revision control

Copy as Markdown

<?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
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!-- We set focusDown targets in code to avoid the redundancy. -->
<ImageButton
android:id="@+id/navButtonBack"
style="@style/NavigationButton"
android:src="@drawable/mozac_ic_back"
android:nextFocusUp="@+id/bannerMoreInfoButton"
android:contentDescription="@string/content_description_back"/>
<ImageButton
android:id="@+id/navButtonForward"
style="@style/NavigationButton"
android:src="@drawable/mozac_ic_forward"
android:nextFocusUp="@+id/bannerMoreInfoButton"
android:contentDescription="@string/content_description_forward"/>
<ImageButton
android:id="@+id/navButtonReload"
style="@style/NavigationButton"
android:src="@drawable/mozac_ic_refresh"
android:nextFocusUp="@+id/bannerMoreInfoButton"
android:contentDescription="@string/content_description_reload"/>
<org.mozilla.tv.firefox.widget.CheckableImageButton
android:id="@+id/pinButton"
style="@style/NavigationButton"
android:src="@drawable/pin_selector"
android:nextFocusUp="@+id/bannerMoreInfoButton"
android:contentDescription="@string/pin_label"/>
<!-- src and content description set programmatically -->
<org.mozilla.tv.firefox.widget.CheckableImageButton
android:id="@+id/turboButton"
android:nextFocusUp="@+id/bannerMoreInfoButton"
style="@style/NavigationButton" />
<org.mozilla.tv.firefox.widget.CheckableImageButton
android:id="@+id/desktopModeButton"
style="@style/NavigationButton"
android:src="@drawable/mozac_ic_device_desktop"
android:nextFocusUp="@+id/bannerMoreInfoButton"
android:contentDescription="@string/request_desktop_site_a11y"/>
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
<!-- This button is set visible if the user is in the experiment. -->
<!-- Content description is set programmatically.-->
<ImageButton
tools:ignore="ContentDescription"
android:id="@+id/fxaButton"
style="@style/NavigationButton"
android:scaleType="fitXY"
android:src="@drawable/ic_fxa_login"
android:visibility="gone"
android:nextFocusUp="@+id/bannerMoreInfoButton"
android:tint="@null"/>
<!-- Content description is set programmatically.-->
<ImageButton
tools:ignore="ContentDescription"
android:id="@+id/exitButton"
style="@style/NavigationButton"
android:src="@drawable/ic_home"
android:nextFocusUp="@+id/bannerMoreInfoButton"
android:nextFocusRight="@id/exitButton"/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_firefox_and_wordmark"
android:contentDescription="@null" />
</merge>