For #1072: Removes screenshot button
parent
05353ee2e1
commit
f4648525f1
|
@ -210,7 +210,7 @@ class BrowserFragment : Fragment(), BackHandler {
|
||||||
)
|
)
|
||||||
|
|
||||||
val actionSheet = view.findViewById<QuickActionSheet>(R.id.quick_action_sheet)
|
val actionSheet = view.findViewById<QuickActionSheet>(R.id.quick_action_sheet)
|
||||||
//actionSheet.afterInflate()
|
// actionSheet.afterInflate()
|
||||||
|
|
||||||
val actionEmitter = ActionBusFactory.get(this).getManagedEmitter(SearchAction::class.java)
|
val actionEmitter = ActionBusFactory.get(this).getManagedEmitter(SearchAction::class.java)
|
||||||
sessionId?.let { id ->
|
sessionId?.let { id ->
|
||||||
|
|
|
@ -39,17 +39,6 @@
|
||||||
android:src="@drawable/quick_action_icon_share"
|
android:src="@drawable/quick_action_icon_share"
|
||||||
android:background="?attr/toolbarColor"/>
|
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
|
<androidx.appcompat.widget.AppCompatImageButton
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
|
@ -100,15 +89,6 @@
|
||||||
android:textColor="?attr/toolbarTextColor"
|
android:textColor="?attr/toolbarTextColor"
|
||||||
android:text="@string/quick_action_share"/>
|
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
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
|
|
@ -153,8 +153,6 @@
|
||||||
<!-- Quick Action Sheet -->
|
<!-- Quick Action Sheet -->
|
||||||
<!-- Option in Quick Action Sheet in the browser to share the current page -->
|
<!-- Option in Quick Action Sheet in the browser to share the current page -->
|
||||||
<string name="quick_action_share">Share</string>
|
<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 -->
|
<!-- Option in Quick Action Sheet in the browser to download the current page -->
|
||||||
<string name="quick_action_download">Download</string>
|
<string name="quick_action_download">Download</string>
|
||||||
<!-- Option in Quick Action Sheet in the browser to favorite the current page -->
|
<!-- Option in Quick Action Sheet in the browser to favorite the current page -->
|
||||||
|
|
Loading…
Reference in New Issue