diff options
author | Sergey Prigogin <sprigogin@google.com> | 2020-09-21 20:57:09 -0700 |
---|---|---|
committer | Sergey Prigogin <sprigogin@google.com> | 2020-09-23 22:54:02 +0000 |
commit | e408f8c883fce49f1f502cb8cd8b494e5a70790a (patch) | |
tree | 486d0df74f16b46f6ac2b0b864fcb41026cfc38b /artwork/resources | |
parent | 4fd75bfea303a4d106d74536a54956d2471da6e7 (diff) | |
download | idea-e408f8c883fce49f1f502cb8cd8b494e5a70790a.tar.gz |
Distinguish valid and incompatible snapshots plus UI tweaks
UI tweaks include:
- At least one snapshot is always selected
- Better sizing of snapshotImagePanel and snapshotInfoPanel
- Stricter action enablement
- Icon adjustments
Test: ManageSnapshotsDialogTest
Bug: N/A
Change-Id: Iee0aa2f638dea275d36fb393eb803cc033cd52a2
Diffstat (limited to 'artwork/resources')
6 files changed, 14 insertions, 6 deletions
diff --git a/artwork/resources/studio/icons/emulator/invalid-snapshot-decorator.svg b/artwork/resources/studio/icons/emulator/invalid-snapshot-decorator.svg new file mode 100644 index 00000000000..14c8830e417 --- /dev/null +++ b/artwork/resources/studio/icons/emulator/invalid-snapshot-decorator.svg @@ -0,0 +1,6 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"> + <g fill="none" fill-rule="evenodd"> + <path fill="#E05555" d="M16,12.5 C16,14.433 14.433,16 12.5,16 C10.567,16 9,14.433 9,12.5 C9,10.567 10.567,9 12.5,9 C14.433,9 16,10.567 16,12.5"/> + <path fill="#FFF" d="M13,14 L13,15 L12,15 L12,14 L13,14 Z M13,10 L13,13 L12,13 L12,10 L13,10 Z"/> + </g> +</svg> diff --git a/artwork/resources/studio/icons/emulator/invalid-snapshot-decorator_dark.svg b/artwork/resources/studio/icons/emulator/invalid-snapshot-decorator_dark.svg new file mode 100644 index 00000000000..5658050cb86 --- /dev/null +++ b/artwork/resources/studio/icons/emulator/invalid-snapshot-decorator_dark.svg @@ -0,0 +1,6 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"> + <g fill="none" fill-rule="evenodd"> + <path fill="#E05555" d="M16,12.5 C16,14.433 14.433,16 12.5,16 C10.567,16 9,14.433 9,12.5 C9,10.567 10.567,9 12.5,9 C14.433,9 16,10.567 16,12.5"/> + <path fill="#3C3F41" d="M13,14 L13,15 L12,15 L12,14 L13,14 Z M13,10 L13,13 L12,13 L12,10 L13,10 Z"/> + </g> +</svg> diff --git a/artwork/resources/studio/icons/emulator/load-snapshot.svg b/artwork/resources/studio/icons/emulator/load-snapshot.svg new file mode 100644 index 00000000000..537466342a4 --- /dev/null +++ b/artwork/resources/studio/icons/emulator/load-snapshot.svg @@ -0,0 +1 @@ +<svg width="13" height="13" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"><rect width="13" height="13" fill="none"/><path d="M3 1c.036 0 0 .045 0 0v10c0-.045.036 0 0 0l8-5c-.025.057 0 .055 0 0s-.034-.065 0 0L3 1z" fill="#6E6E6E" fill-rule="evenodd"/></svg>
\ No newline at end of file diff --git a/artwork/resources/studio/icons/emulator/load-snapshot_dark.svg b/artwork/resources/studio/icons/emulator/load-snapshot_dark.svg new file mode 100644 index 00000000000..97185ecdd25 --- /dev/null +++ b/artwork/resources/studio/icons/emulator/load-snapshot_dark.svg @@ -0,0 +1 @@ +<svg width="13" height="13" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"><rect width="13" height="13" fill="none"/><path d="M3 1c.036 0 0 .045 0 0v10c0-.045.036 0 0 0l8-5c-.025.057 0 .055 0 0s-.034-.065 0 0L3 1z" fill="#AFB1B3" fill-rule="evenodd"/></svg>
\ No newline at end of file diff --git a/artwork/resources/studio/icons/emulator/more.svg b/artwork/resources/studio/icons/emulator/more.svg deleted file mode 100644 index 8180e3d27c4..00000000000 --- a/artwork/resources/studio/icons/emulator/more.svg +++ /dev/null @@ -1,3 +0,0 @@ -<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> - <path fill-rule="evenodd" d="M6,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM18,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2z" fill="#6E6E6E"/> -</svg>
\ No newline at end of file diff --git a/artwork/resources/studio/icons/emulator/more_dark.svg b/artwork/resources/studio/icons/emulator/more_dark.svg deleted file mode 100644 index bebdf1b4d62..00000000000 --- a/artwork/resources/studio/icons/emulator/more_dark.svg +++ /dev/null @@ -1,3 +0,0 @@ -<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> - <path fill-rule="evenodd" d="M6,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM18,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2z" fill="#AFB1B3"/> -</svg>
\ No newline at end of file |