Questions tagged [preview]

User Interface action to display a preliminary or scaled down version of the actual item.

User Interface action to display a preliminary or scaled down version of the actual item.

For images, typically showing a thumbnail version of the full image.

For documents, typically showing the first few pages or draft copies of the final.

1681 questions
4
votes
3 answers

Android Camera2 preview is stretched

I'm trying to learn Camera2 API and I have built a simple camera app just for taking pictures but the problem that I'm facing is that the preview is stretched for some resolutions. I went through a number of different posts and all them suggested…
4
votes
2 answers

NativeScript + Angular - New project Error on Preview: Type AppRoutingModule does not have 'ngModuleDef' property

I installed everything need. The project is the generated one. I don't even have made changes but when I try to preview it and scan the qrcode, I got an Error "Type AppRoutingModule does not have 'ngModuleDef' property". npm 6.14.6 nodejs LTS…
Macawena
  • 39
  • 3
4
votes
3 answers

React Thumbnail Preview when posting/ sharing links of URL

I'm trying to get preview of the page from different links within my react project but it's only showing the index.html "home" preview. I understand React is a SPA, but is there a module or a method to display previews/ thumbnails when I'm sharing/…
Invisible-coder
  • 149
  • 1
  • 3
  • 12
4
votes
2 answers

Problems with Gallery.getChildAt(int position)

I'm trying to create a preview effect on a Gallery view and encountering issues with the Gallery.getChildAt(int position), which is returning null most of the time. It's supposed to return null only when the child is not displayed, which is not the…
parser_failed
  • 697
  • 9
  • 20
4
votes
1 answer

How can --enable-preview be enabled for all Gradle submodules so that it retains in IntelliJ IDEA too?

With the following Gradle setting sourceCompatibility = 1.12 targetCompatibility = 1.12 tasks.withType(JavaCompile) { options.incremental = true options.compilerArgs the project will be compiled, the tests executed and the artifacts built…
Andras Hatvani
  • 4,346
  • 4
  • 29
  • 45
4
votes
1 answer

Setting Android Studio preview background color

I'm creating a custom view that is supposed to go on top of my other views inside a normal layout/view. I want it to be a half-transparent white color, so that what's behind it is still visible and I want it to contain fully solid white borders and…
Benjamin Basmaci
  • 2,247
  • 2
  • 25
  • 46
4
votes
0 answers

Android Studio Layout Error: invalid region.op - only intersect and difference are allowed

I'm getting an error from Android Studio in the Preview Section of my layout, which is very simple. The error is "invalid region.op - only intersect and difference are allowed". The layout only has 2 nested linear layouts, and it stopped rendering…
Jay
  • 614
  • 5
  • 22
4
votes
1 answer

rails email preview / Policy directive: "style-src 'unsafe-inline'"

Getting the following when using rails built in email previews : Refused to load the stylesheet 'http://app.lvh.me:3000/packs/...' because it violates the following Content Security Policy directive: "style-src…
Ben
  • 5,030
  • 6
  • 53
  • 94
4
votes
2 answers

How do I create a JPG preview of a PDF (using the Linux command line)?

I'm trying to find a method of converting a PDF to high quality JPG previews on a linux box. I'm currently using ImageMagicK + GhostScript but I have to supersample the images so much to get readable quality that it takes forever to process (30+…
Mike
  • 41
  • 2
4
votes
1 answer

android camera preview

I have a problem. I'm trying to develop a program that uses the camera, everything is working in my device but like many of you know the CameraPreview doesn't work the same way in all devices, so I tried to integrate the code that google provides in…
Adelchi
  • 63
  • 2
  • 6
4
votes
3 answers

Scale of AVCaptureVideoPreviewLayer

I am currently working on a QR Scan View in my Swift application. I want to center the VideoPreview in the middle of my view. The view looks like this: The view (white) is called ScanView and I want to make the image preview the same size as the…
Philip Dz
  • 91
  • 1
  • 11
4
votes
1 answer

Google Tag Manager Preview Mode for Mobile

I just set up Google Tag Manager in my project and would like to test iOS/Android using the Preview Mode that's available for browser. Starting with Android I followed the instructions here and was able to use the link successfully but I don't see…
4
votes
1 answer

New colors for highlighting text in mac preview

There are only 5 colors in mac preview to highlight your text. Does anyone know any way to add more colors to this? or at least to change a couple of them. These colors are too dark for me for highlighting!!! Thanks
shadi
  • 127
  • 2
  • 6
4
votes
1 answer

Getting "xxx.storyboard is currently locked because it is a remote resource" in storyboard preview xcode

In xcode (7.3.1) storyboard , when we click the assistant editor and select the preview of the story board, we get the output of the storyboard design. There is a lock button at the top, when I click that, it is getting xxx.stroryboard is currently…
Dinesh Kumar
  • 165
  • 1
  • 14
4
votes
2 answers

What is a good Java library to write GPS metadata on JPEGs (in EXIF)?

I have developed a Java application (Latipics) that geotags pictures with location information pulled from Google Latitude. I use an open source library called Sanselan to read/write GPS coordinates from/into JPEGs' metadata. It works mostly great…
BlazingFrog
  • 2,265
  • 3
  • 21
  • 31