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
9
votes
2 answers

Django Form Wizard and Preview with ModelForm

I have a large Django model (73 fields) that will will be connected to a ModelForm. I'd like to use a combination of the functionality found the Form Wizard and Form Preview contrib apps. I.e., the form fields would be split over multiple pages,…
Brian Tol
  • 4,149
  • 6
  • 24
  • 27
9
votes
1 answer

Android camera preview mapping to final picture

We have been building a custom Android camera Activity where a rectangle is overlayed inside the camera preview and when the photo is captured (at the press of a button), we want to crop the corresponding rectangle area of the final image. The…
9
votes
2 answers

Any way to customize Chrome or Firefox Speed Dial thumbs?

For a fun project, I've been implementing a small thumbnail page on a website that provides a specially catered view for the small site previews on New Tab pages. The end goal being to present the relevant information to the user before they ever…
anthonyryan1
  • 4,867
  • 2
  • 34
  • 27
8
votes
1 answer

Previews of matlab figures in Windows explorer (utility to set an image as the thumbnail for another file)

Has anyone come up with a way to make thumbnail type previews for matlab figures in windows? I'm getting tired of saving a .png along with the .fig file just so I know what was in it. A useful helper for this would be a command line utility for…
Alex
  • 5,863
  • 2
  • 29
  • 46
8
votes
1 answer

How does android handle differences between preview size/ratio and actual SufaceView size?

I'm writing a small android app where a user can place an image inside the live preview of the camera and take a picture of this. The app will then combine the two images appropriately -- All of this is working fine. I understand you can get/set the…
Ivo van der Wijk
  • 16,341
  • 4
  • 43
  • 57
8
votes
1 answer

PreviewDevice not showing up in preview

struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() .previewDevice(PreviewDevice(rawValue: "iPhone 11")) } } However, the device is not shown in the preview. I ran "xcrun simctl…
Mark
  • 16,906
  • 20
  • 84
  • 117
8
votes
2 answers

Choose for which device the preview is shown, jetpack compose

In the View system we could choose XML preview for different devices, but I could not find a way to choose preview device for Jetpack Compose. How do we set preview for different devices while using Jetpack Compose?
Sparsh Dutta
  • 2,450
  • 4
  • 27
  • 54
8
votes
1 answer

How to download a Pdf file in swift and find in file manager

I have downloaded a pdf using code below. I am able to find the file in App Data Container, but from app data container my device needs Mac, x code or iTunes etc. Can I give a distinction path to Documents OR another place to find the pdf in iPhone…
Muaaz Ahmed
  • 369
  • 1
  • 4
  • 21
8
votes
1 answer

Android 3.0, Widget Preview

In Honeycomb some of the System apps have a "preview" of the widget when you click the "add" options on the home screen. How do I go about adding a thumbnail/preview of my widget to my application so the user can get a feel for what it looks like…
Hamid
  • 4,410
  • 10
  • 43
  • 72
8
votes
2 answers

RTL Preview on Android Studio XML

Is it possible to preview the RTL view for layouts in XML Preview on Android Studio?
Eshack Nazir
  • 354
  • 3
  • 16
8
votes
5 answers

Android O Preview : ConnectivityManager removed methods are not backward compatible

Precondition and build config: I am trying to build my app with AndroidStudio 2.4 review 5 by setting below build config paramters for Android O perview device, compileSdkVersion 'android-O' buildToolsVersion '25.0.0' …
Mallik
  • 129
  • 1
  • 7
8
votes
1 answer

Android Camera Preview -- How to 'freeze' the camera?

I'm currently trying to build an android application to take pictures and I need to freeze the camera preview on a given event (i.e. picture taken) and restart it only after another event. What I want, in other words, is for the view to display…
user510159
  • 1,379
  • 14
  • 26
8
votes
1 answer

Android RecyclerView - Layout Preview - How to Remove "Item 0, Item 1,... " text near Checkbox?

I have a RecyclerView where each list row item has a CheckBox. In the layout preview of the list row on its own, the Checkbox is shown correctly, with no text: However, when I view the layout preview as part of the RecyclerView (using…
Laur Ivan
  • 4,117
  • 3
  • 38
  • 62
8
votes
2 answers

Android: How to make circle-shaped Camera Preview?

How can I create circle/oval-shaped or round-cornered Camera Preview like this (the circle in the middle should be camera preview)? The London image represents rest of the ui with buttons and views, so it has to be visible whole and that's why I…
Jakub Turcovsky
  • 2,096
  • 4
  • 30
  • 41
8
votes
1 answer

How to create camera preview using API 21 android?

Since API 21 google recommend using the new android.hardware.camera2 I tried to find examples of using new API to create camera preview, but nothing was found. Can any body give me an example? Thanks so much!
TOP
  • 2,574
  • 5
  • 35
  • 60