1
0
Fork 0

For #1072: Removes screenshot button

master
Sawyer Blatz 2019-03-21 08:39:40 -07:00 committed by Colin Lee
parent 05353ee2e1
commit f4648525f1
3 changed files with 1 additions and 23 deletions

View File

@ -210,7 +210,7 @@ class BrowserFragment : Fragment(), BackHandler {
)
val actionSheet = view.findViewById<QuickActionSheet>(R.id.quick_action_sheet)
//actionSheet.afterInflate()
// actionSheet.afterInflate()
val actionEmitter = ActionBusFactory.get(this).getManagedEmitter(SearchAction::class.java)
sessionId?.let { id ->

View File

@ -39,17 +39,6 @@
android:src="@drawable/quick_action_icon_share"
android:background="?attr/toolbarColor"/>
<androidx.appcompat.widget.AppCompatImageButton
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
android:layout_gravity="center_vertical"
android:contentDescription="@string/quick_action_screenshot"
android:src="@drawable/library_icon_screenshots_circle_background"
android:background="?attr/toolbarColor"/>
<androidx.appcompat.widget.AppCompatImageButton
android:layout_weight="1"
android:layout_width="0dp"
@ -100,15 +89,6 @@
android:textColor="?attr/toolbarTextColor"
android:text="@string/quick_action_share"/>
<androidx.appcompat.widget.AppCompatTextView
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_width="0dp"
android:textAlignment="center"
android:textSize="12sp"
android:textColor="?attr/toolbarTextColor"
android:text="@string/quick_action_screenshot"/>
<androidx.appcompat.widget.AppCompatTextView
android:layout_height="wrap_content"
android:layout_weight="1"

View File

@ -153,8 +153,6 @@
<!-- Quick Action Sheet -->
<!-- Option in Quick Action Sheet in the browser to share the current page -->
<string name="quick_action_share">Share</string>
<!-- Option in Quick Action Sheet in the browser to screenshot the current page -->
<string name="quick_action_screenshot">Screenshot</string>
<!-- Option in Quick Action Sheet in the browser to download the current page -->
<string name="quick_action_download">Download</string>
<!-- Option in Quick Action Sheet in the browser to favorite the current page -->