Skip to content
Snippets Groups Projects
Commit 79e80724 authored by Alexandre Perraud's avatar Alexandre Perraud
Browse files

Update delete action mode icon

parent 02d9ce83
No related branches found
No related tags found
1 merge request!1770New topappbar icons
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
height="24px"
viewBox="0 0 24 24"
width="24px"
fill="#000000"
version="1.1"
id="svg6"
sodipodi:docname="ic_am_folder.svg"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs10" />
<sodipodi:namedview
id="namedview8"
pagecolor="#ffffff"
bordercolor="#111111"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
showgrid="false"
inkscape:zoom="31.041667"
inkscape:cx="11.983893"
inkscape:cy="11.983893"
inkscape:window-width="1920"
inkscape:window-height="1043"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg6" />
<path
d="M10.59 4.59C10.21 4.21 9.7 4 9.17 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-1.41-1.41z"
id="path4"
style="fill:#000000" />
</svg>
<!--
~ *************************************************************************
~ ic_download.xml
~ ic_am_download.xml
~ **************************************************************************
~ Copyright © 2021 VLC authors and VideoLAN
~ Author: Nicolas POMEPUY
......@@ -29,6 +29,5 @@
android:viewportHeight="48">
<path
android:pathData="m20,6c-1.1,0 -2,0.9 -2,2v10h-3.1797c-1.78,0 -2.6799,2.1599 -1.4199,3.4199l9.1797,9.1797c0.78,0.78 2.0403,0.78 2.8203,0l9.1797,-9.1797C35.8401,20.1599 34.9597,18 33.1797,18L30,18L30,8C30,6.9 29.1,6 28,6ZM22,10h4v12h2.3398L24,26.3398 19.6602,22L22,22ZM12,36c-1.1,0 -2,0.9 -2,2 0,1.1 0.9,2 2,2h24c1.1,0 2,-0.9 2,-2 0,-1.1 -0.9,-2 -2,-2z"
android:strokeWidth="2"
android:fillColor="@color/standard_selection_control_normal"/>
</vector>
<!--
~ *************************************************************************
~ ic_menu_folder.xml
~ **************************************************************************
~ Copyright © 2020 VLC authors and VideoLAN
~ Author: Nicolas POMEPUY
~ This program is free software; you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation; either version 2 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program; if not, write to the Free Software
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
~ ***************************************************************************
~
~
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="?attr/colorControlNormal"
android:pathData="M10,4H4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V8c0,-1.1 -0.9,-2 -2,-2h-8l-2,-2z"/>
android:pathData="M10.59,4.59C10.21,4.21 9.7,4 9.17,4H4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V8c0,-1.1 -0.9,-2 -2,-2h-8l-1.41,-1.41z"
android:fillColor="?attr/colorControlNormal"/>
</vector>
......@@ -67,12 +67,12 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:importantForAccessibility="no"
android:padding="4dp"
android:src="@{subtitleItem.state == State.Downloaded ? @drawable/ic_done : @drawable/ic_download }"
android:src="@{subtitleItem.state == State.Downloaded ? @drawable/ic_done : @drawable/ic_am_download }"
android:visibility="@{subtitleItem.state == State.Downloading ? View.GONE : View.VISIBLE}"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:srcCompat="@drawable/ic_download" />
tools:srcCompat="@drawable/ic_am_download" />
<ProgressBar
android:id="@+id/loading"
......
......@@ -41,7 +41,7 @@
<item
android:id="@+id/action_video_download_subtitles"
android:title="@string/download_subtitles"
android:icon="@drawable/ic_download"
android:icon="@drawable/ic_am_download"
app:showAsAction="ifRoom" />
<item
android:id="@+id/action_remove_from_group"
......
......@@ -159,7 +159,7 @@ class VideoTracksDialog : VLCBottomSheetDialogFragment() {
generateSeparator(binding.subtitleTracks.options)
generateOptionItem(binding.subtitleTracks.options, getString(R.string.spu_delay), R.drawable.ic_delay, VideoTrackOption.SUB_DELAY)
generateOptionItem(binding.subtitleTracks.options, getString(R.string.subtitle_select), R.drawable.ic_subtitles_file, VideoTrackOption.SUB_PICK)
generateOptionItem(binding.subtitleTracks.options, getString(R.string.download_subtitles), R.drawable.ic_download, VideoTrackOption.SUB_DOWNLOAD)
generateOptionItem(binding.subtitleTracks.options, getString(R.string.download_subtitles), R.drawable.ic_am_download, VideoTrackOption.SUB_DOWNLOAD)
generateSeparator(binding.subtitleTracks.options, true)
binding.subtitleTracks.options.setAnimationUpdateListener {
binding.subtitleTracks.trackMore.rotation = if (binding.subtitleTracks.options.isCollapsed) 180F - (180F * it) else 180F * it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment