diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /mobile/android/base/resources/layout/tracking_protection_prompt.xml | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'mobile/android/base/resources/layout/tracking_protection_prompt.xml')
-rw-r--r-- | mobile/android/base/resources/layout/tracking_protection_prompt.xml | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/mobile/android/base/resources/layout/tracking_protection_prompt.xml b/mobile/android/base/resources/layout/tracking_protection_prompt.xml new file mode 100644 index 000000000..5fc993b09 --- /dev/null +++ b/mobile/android/base/resources/layout/tracking_protection_prompt.xml @@ -0,0 +1,106 @@ +<?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/. --> + +<merge + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/tracking_protection_container" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:clipChildren="false" + android:clipToPadding="false"> + + <LinearLayout + android:id="@+id/tracking_protection_inner_container" + android:layout_width="@dimen/overlay_prompt_container_width" + android:layout_height="wrap_content" + android:layout_gravity="bottom|center" + android:background="@android:color/white" + android:orientation="vertical" + android:paddingBottom="40dp"> + + <ScrollView android:layout_width="match_parent" + android:layout_height="0dp" + android:layout_weight="1" + android:fillViewport="true" + android:fadeScrollbars="false"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <ImageView android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/tracking_protection_toolbar_illustration" + android:layout_gravity="center" + android:layout_marginTop="40dp" + android:layout_marginBottom="20dp"/> + + <TextView + android:id="@+id/title" + android:layout_width="@dimen/overlay_prompt_content_width" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:fontFamily="sans-serif-light" + android:gravity="center_horizontal" + android:text="@string/tracking_protection_prompt_title" + android:textColor="@color/text_and_tabs_tray_grey" + android:textSize="20sp" + + tools:text="Now with Tracking Protection"/> + + <TextView + android:id="@+id/text" + android:layout_width="@dimen/overlay_prompt_content_width" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:gravity="center" + android:lineSpacingMultiplier="1.25" + android:paddingTop="20dp" + android:text="@string/tracking_protection_prompt_text" + android:textColor="@color/placeholder_grey" + android:textSize="16sp" + + tools:text="Actively block tracking elements so you don't have to worry."/> + + <TextView + android:id="@+id/link_text" + android:layout_width="@dimen/overlay_prompt_content_width" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:gravity="center" + android:paddingBottom="30dp" + android:paddingTop="20dp" + android:text="@string/tracking_protection_prompt_tip_text" + android:textColor="@color/link_blue" + android:textSize="14sp" + + tools:text="Visit Privacy settings to learn more"/> + + </LinearLayout> + + </ScrollView> + + <Button + android:id="@+id/ok_button" + style="@style/Widget.BaseButton" + android:layout_width="match_parent" + + android:layout_height="52dp" + android:layout_gravity="center" + android:background="@drawable/button_background_action_orange_round" + android:text="@string/tracking_protection_prompt_action_button" + android:textColor="@android:color/white" + android:textSize="16sp" + + android:layout_marginLeft="32dp" + android:layout_marginRight="32dp" + tools:text="Got it"/> + + </LinearLayout> + +</merge> |