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
397
votes
29 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
184
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
  • 16,906
  • 20
  • 84
  • 117
175
votes
15 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
  • 5,303
  • 7
  • 33
  • 40
143
votes
15 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
  • 9,045
  • 18
  • 76
  • 149
126
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,707
  • 39
  • 114
  • 191
107
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
  • 16,256
  • 8
  • 62
  • 65
93
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,033
  • 1
  • 8
  • 6
67
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
  • 821
  • 1
  • 7
  • 11
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,139
  • 2
  • 17
  • 24
51
votes
8 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…
46
votes
2 answers

Undefined symbols ___llvm_profile_runtime

As of Xcode 11 using SwiftUI, it looks very difficult/no way to enable code coverage in unit tests and have preview working. This is what I did: Select target -> Edit scheme in Xcode Select Test tab and under Options tab, select Gather coverage for…
UndergroundFox
  • 1,011
  • 2
  • 12
  • 11
45
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
  • 591
  • 1
  • 6
  • 11
41
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
  • 8,064
  • 6
  • 45
  • 62
40
votes
3 answers

Instance member cannot be used on type in SwiftUI Preview

Following error in my preview: struct DetailView: View { var header: DataProvider.DataHeader var body: some View { Text("...") } } struct DetailView_Previews: PreviewProvider { var a = DataProvider.DataHeader(title: "a",…
gurehbgui
  • 14,236
  • 32
  • 106
  • 178
35
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
  • 701
  • 1
  • 9
  • 13
1
2 3
99 100