Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: mobile/android/app/src/photon/res/layout/private_tabs_panel.xml

Issue 29983558: Issue 7214 - Hide Learn more from private tabs (Closed)
Patch Set: Created Jan. 16, 2019, 1:31 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mobile/android/app/src/photon/res/layout/private_tabs_panel.xml
===================================================================
--- a/mobile/android/app/src/photon/res/layout/private_tabs_panel.xml
+++ b/mobile/android/app/src/photon/res/layout/private_tabs_panel.xml
@@ -49,24 +49,27 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="36dp"
android:gravity="center_horizontal"
android:lineSpacingMultiplier="1.3"
android:text="@string/private_tab_panel_description2"
android:textColor="@color/photon_text_secondary"/>
+ <!-- We always hide the learn more link
+ See https://issues.adblockplus.org/ticket/7214 -->
<TextView
style="@style/TextAppearance.PrivateTab.Description"
android:id="@+id/learn_more_link"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:clickable="true"
android:text="@string/private_tab_learn_more"
+ android:visibility="gone"
android:textColor="@color/link_blue"/>
</LinearLayout>
</ScrollView>
<!-- Note: for an unknown reason, scrolling in the TabsLayout
does not work unless it is laid out after the empty view. -->
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld