-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'libs/editor/' changes from 31b66df..fa030e4
fa030e4 Merge pull request #386 from wordpress-mobile/issue/382-visual-more-tag 53cd44c Fix visual delete of the more/nextpage tags 2d8a0ee Add support for <--nextpage--> tag 6b9ed32 use Calypso _more_ graphic a833c81 fix #382: show a dashed horizontal line in place of the more tag fb8864a Merge pull request #384 from wordpress-mobile/issue/373-tap-image-scroll b1d076d When giving focus to a selected image, set the cursor after the image element 4200032 When an image is tapped and the edit overlay is about to be displayed, give focus to the image 8e571a6 Merge pull request #381 from wordpress-mobile/issue/380-isAdded-checks 0fb2a51 Merge pull request #379 from wordpress-mobile/issue/368-multiple-tap-on-links fe42eea Merge pull request #378 from wordpress-mobile/issue/376-image-settings-quotes 97b2ad0 Add isAdded() checks where getActivity is called f45779b fix #368: remove a workaround that introduced the issue 5b1a0c7 fix #376: escape quotes in imageMeta var 08e4067 Merge pull request #375 from wordpress-mobile/issue/370-dashicons-to-gridicons 707e3ab Center the format bar icons vertically on 600dp+ screens af2165d Fixed vertical stretch of format bar icons on 600dp+ screens c9da68b Changed format bar icon color to #87A6BC grey 2372219 In the 380dp format bar, wrapped each icon in a LinearLayout to fix horizontal stretch issue e80ed09 Upgrade to support libraries v23.4.0 fd9a388 Updated gridicons with built-in padding 3a57253 Merge pull request #372 from wordpress-mobile/issue/301-media-tap-to-remove b250069 When the image settings dialog is dismissed, clear the currentEditingImage in the ZSSEditor 69f5574 Clear currentEditingImage when launching the image settings dialog 0ef392d Updated format bar VectorDrawables to ones with built-in padding 81cad67 Fixed missing 10% dark background for large retry buttons e82d850 Duplicated changes to image retry button for videos 8de3ede Updated image upload retry button for large images to use a gridicon 26c701f Adjusted 'Tap to try again!' text weight to Medium a296969 Adjusted spacing between retry icon and text 8f90299 Update retry icon from dashicon to gridicon f296272 When selecting an image, add the image node to the MutationObserver to track manual deletion 3592f3b Adjusted font-weight for 'Edit' text to match Roboto Medium ee0117f Use the new (gridicon) edit icon for small images too 64f0d47 Moved edit-icon css under edit-overlay bde3d08 Replaced more button PNGs with VectorDrawables e0dfa8a Use VectorDrawables instead of PNGs for format bar cb9d3b0 Updated edit image icon (normal size) 0506e72 Updated delete image button 7b6c732 Fixed alignment mistake in delete image button cc33016 Moved wpposter.svg to /svg/ folder 3e27b48 Replaced inline svgs in the CSS with files in the /svg/ directory 6408695 Rely on node.parent.removeChild(node) rather than node.remove() since the latter is unsupported on API<19 e4e159d When deleting an image, run emptyFieldIfNoContents to clear any empty divs remaining, so the placeholder will re-appear 6ddb355 Clear currentEditingImage when an image is deleted 101551e Don't add delete overlay for very small images e9a318b Adjusted media delete button handling to avoid deleting anything beyond the media's containing paragraph 74a9273 Remove image from document when delete button is tapped 785d0b5 Color image delete button red e2b5fcd Added delete button to top right of images when they're selected (and the edit overlay is visible) d3e97b0 Fixed issue where image settings screen wouldn't load in the example app git-subtree-dir: libs/editor git-subtree-split: fa030e4a8f03313a4311a18e950a0cb539c5dcdc
- Loading branch information
Showing
162 changed files
with
933 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file removed
BIN
-1.01 KB
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_bold_disabled.png
Binary file not shown.
Binary file removed
BIN
-959 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_bold_highlighted.png
Binary file not shown.
Binary file removed
BIN
-892 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_html.png
Binary file not shown.
Binary file removed
BIN
-877 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_html_disabled.png
Binary file not shown.
Binary file removed
BIN
-829 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_html_highlighted.png
Binary file not shown.
Binary file removed
BIN
-859 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_italic.png
Binary file not shown.
Binary file removed
BIN
-824 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_italic_disabled.png
Binary file not shown.
Binary file removed
BIN
-813 Bytes
...PressEditor/src/main/res/drawable-hdpi/format_bar_button_italic_highlighted.png
Binary file not shown.
Binary file removed
BIN
-1.49 KB
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_link.png
Binary file not shown.
Binary file removed
BIN
-1.45 KB
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_link_disabled.png
Binary file not shown.
Binary file removed
BIN
-1.4 KB
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_link_highlighted.png
Binary file not shown.
Binary file removed
BIN
-1.05 KB
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_media.png
Binary file not shown.
Binary file removed
BIN
-1.04 KB
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_media_disabled.png
Binary file not shown.
Binary file removed
BIN
-1 KB
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_media_highlighted.png
Binary file not shown.
Binary file removed
BIN
-431 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_more.png
Binary file not shown.
Binary file removed
BIN
-417 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_more_disabled.png
Binary file not shown.
Binary file removed
BIN
-407 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_more_highlighted.png
Binary file not shown.
Binary file removed
BIN
-977 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_ol.png
Binary file not shown.
Binary file removed
BIN
-952 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_ol_disabled.png
Binary file not shown.
Binary file removed
BIN
-919 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_ol_highlighted.png
Binary file not shown.
Binary file removed
BIN
-1.59 KB
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_quote.png
Binary file not shown.
Binary file removed
BIN
-1.53 KB
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_quote_disabled.png
Binary file not shown.
Binary file removed
BIN
-1.46 KB
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_quote_highlighted.png
Binary file not shown.
Binary file removed
BIN
-1.23 KB
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_strikethrough.png
Binary file not shown.
Binary file removed
BIN
-1.22 KB
...sEditor/src/main/res/drawable-hdpi/format_bar_button_strikethrough_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.14 KB
...itor/src/main/res/drawable-hdpi/format_bar_button_strikethrough_highlighted.png
Diff not rendered.
Binary file removed
BIN
-815 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_ul.png
Diff not rendered.
Binary file removed
BIN
-762 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_ul_disabled.png
Diff not rendered.
Binary file removed
BIN
-763 Bytes
WordPressEditor/src/main/res/drawable-hdpi/format_bar_button_ul_highlighted.png
Diff not rendered.
Binary file removed
BIN
-1.31 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_bold.png
Diff not rendered.
Binary file removed
BIN
-1.28 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_bold_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.23 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_bold_highlighted.png
Diff not rendered.
Binary file removed
BIN
-893 Bytes
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_html.png
Diff not rendered.
Binary file removed
BIN
-884 Bytes
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_html_disabled.png
Diff not rendered.
Binary file removed
BIN
-833 Bytes
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_html_highlighted.png
Diff not rendered.
Binary file removed
BIN
-1.04 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_italic.png
Diff not rendered.
Binary file removed
BIN
-1001 Bytes
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_italic_disabled.png
Diff not rendered.
Binary file removed
BIN
-975 Bytes
...ressEditor/src/main/res/drawable-xhdpi/format_bar_button_italic_highlighted.png
Diff not rendered.
Binary file removed
BIN
-1.9 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_link.png
Diff not rendered.
Binary file removed
BIN
-1.83 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_link_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.78 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_link_highlighted.png
Diff not rendered.
Binary file removed
BIN
-1.19 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_media.png
Diff not rendered.
Binary file removed
BIN
-1.16 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_media_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.14 KB
...PressEditor/src/main/res/drawable-xhdpi/format_bar_button_media_highlighted.png
Diff not rendered.
Binary file removed
BIN
-371 Bytes
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_more.png
Diff not rendered.
Binary file removed
BIN
-370 Bytes
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_more_disabled.png
Diff not rendered.
Binary file removed
BIN
-363 Bytes
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_more_highlighted.png
Diff not rendered.
Binary file removed
BIN
-1.19 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_ol.png
Diff not rendered.
Binary file removed
BIN
-1.15 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_ol_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.11 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_ol_highlighted.png
Diff not rendered.
Binary file removed
BIN
-2.16 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_quote.png
Diff not rendered.
Binary file removed
BIN
-2.12 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_quote_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.97 KB
...PressEditor/src/main/res/drawable-xhdpi/format_bar_button_quote_highlighted.png
Diff not rendered.
Binary file removed
BIN
-1.46 KB
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_strikethrough.png
Diff not rendered.
Binary file removed
BIN
-1.43 KB
...Editor/src/main/res/drawable-xhdpi/format_bar_button_strikethrough_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.34 KB
...tor/src/main/res/drawable-xhdpi/format_bar_button_strikethrough_highlighted.png
Diff not rendered.
Binary file removed
BIN
-906 Bytes
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_ul.png
Diff not rendered.
Binary file removed
BIN
-891 Bytes
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_ul_disabled.png
Diff not rendered.
Binary file removed
BIN
-871 Bytes
WordPressEditor/src/main/res/drawable-xhdpi/format_bar_button_ul_highlighted.png
Diff not rendered.
Binary file removed
BIN
-2.07 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_bold.png
Diff not rendered.
Binary file removed
BIN
-2.02 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_bold_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.93 KB
...PressEditor/src/main/res/drawable-xxhdpi/format_bar_button_bold_highlighted.png
Diff not rendered.
Binary file removed
BIN
-1.39 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_html.png
Diff not rendered.
Binary file removed
BIN
-1.34 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_html_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.31 KB
...PressEditor/src/main/res/drawable-xxhdpi/format_bar_button_html_highlighted.png
Diff not rendered.
Binary file removed
BIN
-1.51 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_italic.png
Diff not rendered.
Binary file removed
BIN
-1.47 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_italic_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.41 KB
...essEditor/src/main/res/drawable-xxhdpi/format_bar_button_italic_highlighted.png
Diff not rendered.
Binary file removed
BIN
-3.05 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_link.png
Diff not rendered.
Binary file removed
BIN
-3 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_link_disabled.png
Diff not rendered.
Binary file removed
BIN
-2.85 KB
...PressEditor/src/main/res/drawable-xxhdpi/format_bar_button_link_highlighted.png
Diff not rendered.
Binary file removed
BIN
-1.96 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_media.png
Diff not rendered.
Binary file removed
BIN
-1.89 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_media_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.83 KB
...ressEditor/src/main/res/drawable-xxhdpi/format_bar_button_media_highlighted.png
Diff not rendered.
Binary file removed
BIN
-690 Bytes
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_more.png
Diff not rendered.
Binary file removed
BIN
-682 Bytes
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_more_disabled.png
Diff not rendered.
Binary file removed
BIN
-664 Bytes
...PressEditor/src/main/res/drawable-xxhdpi/format_bar_button_more_highlighted.png
Diff not rendered.
Binary file removed
BIN
-1.95 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_ol.png
Diff not rendered.
Binary file removed
BIN
-1.92 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_ol_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.84 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_ol_highlighted.png
Diff not rendered.
Binary file removed
BIN
-3.3 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_quote.png
Diff not rendered.
Binary file removed
BIN
-3.18 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_quote_disabled.png
Diff not rendered.
Binary file removed
BIN
-3 KB
...ressEditor/src/main/res/drawable-xxhdpi/format_bar_button_quote_highlighted.png
Diff not rendered.
Binary file removed
BIN
-2.28 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_strikethrough.png
Diff not rendered.
Binary file removed
BIN
-2.25 KB
...ditor/src/main/res/drawable-xxhdpi/format_bar_button_strikethrough_disabled.png
Diff not rendered.
Binary file removed
BIN
-2.14 KB
...or/src/main/res/drawable-xxhdpi/format_bar_button_strikethrough_highlighted.png
Diff not rendered.
Binary file removed
BIN
-1.6 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_ul.png
Diff not rendered.
Binary file removed
BIN
-1.56 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_ul_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.5 KB
WordPressEditor/src/main/res/drawable-xxhdpi/format_bar_button_ul_highlighted.png
Diff not rendered.
18 changes: 18 additions & 0 deletions
18
WordPressEditor/src/main/res/drawable/format_bar_button_bold.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="44dp" | ||
android:height="44dp" | ||
android:viewportWidth="44" | ||
android:viewportHeight="44"> | ||
|
||
<path | ||
android:fillColor="#87A6BC" | ||
android:pathData="M17,15.009h4.547c2.126,0,3.671,0.303,4.632,0.907c0.962,0.605,1.442,1.567,1.442,2.887 | ||
c0,0.896-0.211,1.63-0.631,2.205c-0.421,0.574-0.98,0.919-1.678,1.036v0.103c0.951,0.212,1.637,0.608,2.057,1.189 | ||
C27.79,23.916,28,24.688,28,25.652c0,1.367-0.494,2.434-1.482,3.199C25.529,29.617,24.186,30,22.491,30H17V15.009z | ||
M20,20.946 | ||
h2.027c0.862,0,1.486-0.133,1.872-0.4c0.387-0.267,0.579-0.708,0.579-1.323c0-0.574-0.21-0.986-0.63-1.236 | ||
c-0.421-0.249-1.087-0.374-1.996-0.374H20V20.946z | ||
M20,23.469v3.906h2.253c0.876,0,1.521-0.167,1.939-0.502 | ||
s0.626-0.848,0.626-1.539c0-1.244-0.889-1.865-2.668-1.865H20z" /> | ||
</vector> |
18 changes: 18 additions & 0 deletions
18
WordPressEditor/src/main/res/drawable/format_bar_button_bold_disabled.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="44dp" | ||
android:height="44dp" | ||
android:viewportWidth="44" | ||
android:viewportHeight="44"> | ||
|
||
<path | ||
android:fillColor="#E8EEF2" | ||
android:pathData="M17,15.009h4.547c2.126,0,3.671,0.303,4.632,0.907c0.962,0.605,1.442,1.567,1.442,2.887 | ||
c0,0.896-0.211,1.63-0.631,2.205c-0.421,0.574-0.98,0.919-1.678,1.036v0.103c0.951,0.212,1.637,0.608,2.057,1.189 | ||
C27.79,23.916,28,24.688,28,25.652c0,1.367-0.494,2.434-1.482,3.199C25.529,29.617,24.186,30,22.491,30H17V15.009z | ||
M20,20.946 | ||
h2.027c0.862,0,1.486-0.133,1.872-0.4c0.387-0.267,0.579-0.708,0.579-1.323c0-0.574-0.21-0.986-0.63-1.236 | ||
c-0.421-0.249-1.087-0.374-1.996-0.374H20V20.946z | ||
M20,23.469v3.906h2.253c0.876,0,1.521-0.167,1.939-0.502 | ||
s0.626-0.848,0.626-1.539c0-1.244-0.889-1.865-2.668-1.865H20z" /> | ||
</vector> |
9 changes: 0 additions & 9 deletions
9
WordPressEditor/src/main/res/drawable/format_bar_button_bold_disabled_state.xml
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
WordPressEditor/src/main/res/drawable/format_bar_button_bold_highlighted.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="44dp" | ||
android:height="44dp" | ||
android:viewportWidth="44" | ||
android:viewportHeight="44"> | ||
|
||
<path | ||
android:fillColor="#0084BC" | ||
android:pathData="M17,15.009h4.547c2.126,0,3.671,0.303,4.632,0.907c0.962,0.605,1.442,1.567,1.442,2.887 | ||
c0,0.896-0.211,1.63-0.631,2.205c-0.421,0.574-0.98,0.919-1.678,1.036v0.103c0.951,0.212,1.637,0.608,2.057,1.189 | ||
C27.79,23.916,28,24.688,28,25.652c0,1.367-0.494,2.434-1.482,3.199C25.529,29.617,24.186,30,22.491,30H17V15.009z | ||
M20,20.946 | ||
h2.027c0.862,0,1.486-0.133,1.872-0.4c0.387-0.267,0.579-0.708,0.579-1.323c0-0.574-0.21-0.986-0.63-1.236 | ||
c-0.421-0.249-1.087-0.374-1.996-0.374H20V20.946z | ||
M20,23.469v3.906h2.253c0.876,0,1.521-0.167,1.939-0.502 | ||
s0.626-0.848,0.626-1.539c0-1.244-0.889-1.865-2.668-1.865H20z" /> | ||
</vector> |
9 changes: 0 additions & 9 deletions
9
WordPressEditor/src/main/res/drawable/format_bar_button_bold_selected_state.xml
This file was deleted.
Oops, something went wrong.
12 changes: 4 additions & 8 deletions
12
WordPressEditor/src/main/res/drawable/format_bar_button_bold_selector.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:state_checked="true" android:drawable="@drawable/format_bar_button_bold_selected_state"/> | ||
<item android:state_pressed="true" android:drawable="@drawable/format_bar_button_bold_selected_state"/> | ||
<item android:state_enabled="false" android:drawable="@drawable/format_bar_button_bold_disabled_state"/> | ||
<item> | ||
<bitmap | ||
android:src="@drawable/format_bar_button_bold" | ||
android:gravity="center"/> | ||
</item> | ||
<item android:state_checked="true" android:drawable="@drawable/format_bar_button_bold_highlighted"/> | ||
<item android:state_pressed="true" android:drawable="@drawable/format_bar_button_bold_highlighted"/> | ||
<item android:state_enabled="false" android:drawable="@drawable/format_bar_button_bold_disabled"/> | ||
<item android:drawable="@drawable/format_bar_button_bold"/> | ||
</selector> |
21 changes: 21 additions & 0 deletions
21
WordPressEditor/src/main/res/drawable/format_bar_button_html.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="44dp" | ||
android:height="44dp" | ||
android:viewportWidth="44" | ||
android:viewportHeight="44"> | ||
|
||
<path | ||
android:fillColor="#87A6BC" | ||
android:pathData="M16.294,25h-1.288v-2.738h-1.907V25h-1.292v-6.398h1.292v2.588h1.907v-2.588h1.288V25z" /> | ||
<path | ||
android:fillColor="#87A6BC" | ||
android:pathData="M21.348,19.678h-1.582V25h-1.297v-5.322h-1.555v-1.077h4.434V19.678z" /> | ||
<path | ||
android:fillColor="#87A6BC" | ||
android:pathData="M23.777,18.602l1.209,4.627l1.204-4.627h1.688V25h-1.296v-1.731l0.118-2.667L25.422,25h-0.879 | ||
l-1.279-4.399l0.119,2.667V25H22.09v-6.398H23.777z" /> | ||
<path | ||
android:fillColor="#87A6BC" | ||
android:pathData="M30.207,23.928h2.268V25h-3.561v-6.398h1.293V23.928z" /> | ||
</vector> |
15 changes: 15 additions & 0 deletions
15
WordPressEditor/src/main/res/drawable/format_bar_button_html_disabled.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="44dp" | ||
android:height="44dp" | ||
android:viewportWidth="44" | ||
android:viewportHeight="44"> | ||
|
||
<path | ||
android:fillColor="#E8EEF2" | ||
android:pathData="M15.006,21.19h-1.907v-2.588h-1.292V25h1.292v-2.738h1.907V25h1.288v-6.398h-1.288V21.19z | ||
M16.914,19.678h1.555V25h1.297v-5.322h1.582v-1.077h-4.434V19.678z | ||
M24.986,23.229l-1.209-4.627H22.09V25h1.293v-1.731 | ||
l-0.119-2.667L24.543,25h0.879l1.278-4.399l-0.118,2.667V25h1.296v-6.398H26.19L24.986,23.229z | ||
M30.207,23.928v-5.326h-1.293V25 h3.561v-1.072H30.207z" /> | ||
</vector> |
9 changes: 0 additions & 9 deletions
9
WordPressEditor/src/main/res/drawable/format_bar_button_html_disabled_state.xml
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
WordPressEditor/src/main/res/drawable/format_bar_button_html_highlighted.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="44dp" | ||
android:height="44dp" | ||
android:viewportWidth="44" | ||
android:viewportHeight="44"> | ||
|
||
<path | ||
android:fillColor="#0084BC" | ||
android:pathData="M15.006,21.19h-1.907v-2.588h-1.292V25h1.292v-2.738h1.907V25h1.288v-6.398h-1.288V21.19z | ||
M16.914,19.678h1.555V25h1.297v-5.322h1.582v-1.077h-4.434V19.678z | ||
M24.986,23.229l-1.209-4.627H22.09V25h1.293v-1.731 | ||
l-0.119-2.667L24.543,25h0.879l1.278-4.399l-0.118,2.667V25h1.296v-6.398H26.19L24.986,23.229z | ||
M30.207,23.928v-5.326h-1.293V25 h3.561v-1.072H30.207z" /> | ||
</vector> |
9 changes: 0 additions & 9 deletions
9
WordPressEditor/src/main/res/drawable/format_bar_button_html_selected_state.xml
This file was deleted.
Oops, something went wrong.
12 changes: 4 additions & 8 deletions
12
WordPressEditor/src/main/res/drawable/format_bar_button_html_selector.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:state_checked="true" android:drawable="@drawable/format_bar_button_html_selected_state"/> | ||
<item android:state_pressed="true" android:drawable="@drawable/format_bar_button_html_selected_state"/> | ||
<item android:state_enabled="false" android:drawable="@drawable/format_bar_button_html_disabled_state"/> | ||
<item> | ||
<bitmap | ||
android:src="@drawable/format_bar_button_html" | ||
android:gravity="center"/> | ||
</item> | ||
<item android:state_checked="true" android:drawable="@drawable/format_bar_button_html_highlighted"/> | ||
<item android:state_pressed="true" android:drawable="@drawable/format_bar_button_html_highlighted"/> | ||
<item android:state_enabled="false" android:drawable="@drawable/format_bar_button_html_disabled"/> | ||
<item android:drawable="@drawable/format_bar_button_html"/> | ||
</selector> |
11 changes: 11 additions & 0 deletions
11
WordPressEditor/src/main/res/drawable/format_bar_button_italic.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="44dp" | ||
android:height="44dp" | ||
android:viewportWidth="44" | ||
android:viewportHeight="44"> | ||
|
||
<path | ||
android:fillColor="#87A6BC" | ||
android:pathData="M 20.536 15 L 20.109 17 L 21.609 17 L 19.263 28 L 17.763 28 L 17.336 30 L 23.464 30 L 23.89 28 L 22.39 28 L 24.737 17 L 26.237 17 L 26.664 15 Z" /> | ||
</vector> |
11 changes: 11 additions & 0 deletions
11
WordPressEditor/src/main/res/drawable/format_bar_button_italic_disabled.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="44dp" | ||
android:height="44dp" | ||
android:viewportWidth="44" | ||
android:viewportHeight="44"> | ||
|
||
<path | ||
android:fillColor="#E8EEF2" | ||
android:pathData="M 20.536 15 L 20.109 17 L 21.609 17 L 19.263 28 L 17.763 28 L 17.336 30 L 23.464 30 L 23.89 28 L 22.39 28 L 24.737 17 L 26.237 17 L 26.664 15 Z" /> | ||
</vector> |
9 changes: 0 additions & 9 deletions
9
WordPressEditor/src/main/res/drawable/format_bar_button_italic_disabled_state.xml
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
WordPressEditor/src/main/res/drawable/format_bar_button_italic_highlighted.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="44dp" | ||
android:height="44dp" | ||
android:viewportWidth="44" | ||
android:viewportHeight="44"> | ||
|
||
<path | ||
android:fillColor="#0084BC" | ||
android:pathData="M 20.536 15 L 20.109 17 L 21.609 17 L 19.263 28 L 17.763 28 L 17.336 30 L 23.464 30 L 23.89 28 L 22.39 28 L 24.737 17 L 26.237 17 L 26.664 15 Z" /> | ||
</vector> |
9 changes: 0 additions & 9 deletions
9
WordPressEditor/src/main/res/drawable/format_bar_button_italic_selected_state.xml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.