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.

1540 questions
316
votes
25 answers

How to view an HTML file in the browser with Visual Studio Code

How can I view my HTML code in a browser with the new Microsoft Visual Studio Code? With Notepad++ you have the option to Run in a browser. How can I do the same thing with Visual Studio Code?
user4863890
162
votes
4 answers

How can I set a website image that will show as preview on Facebook?

When you share a link on facebook it will automatically find images on the website and randomly picks one as a preview. How can you influence the preview image? When a person shares the website link on his facebook?
Mark
  • 12,916
  • 16
  • 70
  • 94
144
votes
14 answers

Can I see changes before I save my file in Vim?

I use Vim. I open a file. I edit it and I want to see what I've edited before I save it. How can I do this in Vim?
teerapap
  • 4,813
  • 7
  • 30
  • 39
141
votes
13 answers

Android Camera Preview Stretched

I've been working on making my custom camera activity on Android, but when rotating the camera, the aspect ratio of the surface view gets messed up. In my oncreate for the activity, I set the framelayout which holds the surface view that displays…
scientiffic
  • 8,169
  • 13
  • 68
  • 138
124
votes
8 answers

Android - Camera preview is sideways

I am using a Preview to display what the camera see's on the screen. I can get everything working fine, surface created, surface set and the surface is displayed. However it always displays the picture at an incorrect 90 degree angle in portrait…
Donal Rafferty
  • 19,239
  • 37
  • 110
  • 186
106
votes
25 answers

Unsupported major.minor version 52.0 when rendering in Android Studio

When I try to render a layout preview in Android Studio I get error: Unsupported major.minor version 52.0
Ivo Stoyanov
  • 13,531
  • 5
  • 50
  • 52
92
votes
7 answers

How do you automatically remove the preview window after autocompletion in Vim?

I'm using omnifunc=pythoncomplete. When autocompleting a word (e.g., os.), I get the list of eligible class members and functions, as expected, as well as a scratch buffer preview window with documentation about the selected member or…
Ben Davini
  • 1,023
  • 1
  • 8
  • 6
66
votes
6 answers

No "Docked Mode" option in "Preview" settings in Android Studio once undocked

Here is the Docked mode option for "Preview" window. I removed the docked mode i.e. undocked it. And here is what I got. There is no more "Docked Mode" option. Now I cannot properly work with designing layouts. Preview automatically hides when I…
Samir
  • 3,081
  • 2
  • 12
  • 22
61
votes
6 answers

How to WhiteList app in Doze mode Android 6.0

This question is related to the Android 6.0 Preview 3 which will be final released at the end of this month. I'm testing some stuff in Android 6.0 in the preview 3 from Google on Nexus 5 'hammerhead'. The new feature is the "doze mode" - something…
Fransis Q
  • 761
  • 1
  • 6
  • 11
47
votes
7 answers

How to refresh preview on Android Studio 2.2?

Now on Android Studio 2.2 on new Preview mode, there are no more refresh button: Image 1: Preview on Android Studio 2.2 (without refresh button) Image 2: Preview on Android Studio 2.1 (with refresh button) Does anyone know how to display it…
43
votes
5 answers

Camera preview image data processing with Android L and Camera2 API

I'm working on an android app that is processing the input image from the camera and displays it to the user. This is fairly simple, I register a PreviewCallback on the camera object with the setPreviewCallbackWithBuffer. This is easy and works…
bubo
  • 571
  • 1
  • 6
  • 11
40
votes
3 answers

Eclipse code birdview plugin

I wonder, if there is an Eclipse plugin for code birdview (preview, visualization, minimap, however it may be called)? I mean, when you see your code in a small preview window and may scroll using this window. Wait, I'll show you... Like this. (See…
weekens
  • 7,484
  • 6
  • 41
  • 58
34
votes
3 answers

How do I preload images into dropzone.js

I have a dropzone.js instance on a web page with the following options: autoProcessQueue:false uploadMultiple:true parallelUploads:20 maxFiles:20 It is programmatically instantiated, as it is part of a larger form. I have it rigged up to process…
ralbatross
  • 2,260
  • 3
  • 22
  • 42
34
votes
4 answers

Android "tools" namespace in layout xml documentation

Per the question here, What's "tools:context" in Android layout files? The 'tools' namespace reference (xmlns:tools="http://schemas.android.com/tools") has begun to appear in my layouts recently, and I want to know more. The original post only…
J Webb
  • 661
  • 1
  • 9
  • 12
30
votes
6 answers

How to get raw preview data from Camera object at least 15 frames per second in Android?

I need to obtain raw preview data from Camera object at least 15 frame per second, but I can only get a frame in 110 milliseconds which means I can get only 9 frames per second. I brief my code below. Camera mCamera =…
EricOops
  • 439
  • 1
  • 5
  • 5
1
2 3
99 100