Commit aa76c2c
[Enhancement][UI] Enhanced Full-functional Image Viewer for Images Attached in Comments (InfinityLoop1308#31)
Replace `PictureDialog` with `ImageViewerActivity`, ~borrowed from my other projects~.
Thanks to [com.github.chrisbanes:PhotoView](https://github.com/Baseflow/PhotoView), now this image detail dialog (activity) can:
- Full screen
- Zoom
- Swipe to switch
- Download / Copy URI / Open in browser
Reviewed-on: https://codeberg.org/NullPointerException/PipePipeClient/pulls/31
Co-authored-by: chr56 <chr0056@gmail.com>
Co-committed-by: chr56 <chr0056@gmail.com>1 parent 6f98759 commit aa76c2c
8 files changed
Lines changed: 416 additions & 224 deletions
File tree
- app
- src/main
- java/org/schabi/newpipe
- info_list
- dialog
- holder
- util
- res/layout
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
290 | 293 | | |
291 | 294 | | |
292 | 295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
125 | 129 | | |
126 | 130 | | |
127 | 131 | | |
| |||
Lines changed: 0 additions & 102 deletions
This file was deleted.
Lines changed: 2 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
16 | | - | |
17 | 14 | | |
| 15 | + | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 77 | + | |
88 | 78 | | |
89 | 79 | | |
90 | 80 | | |
| |||
0 commit comments