What we want to achieve today is to make a transparent bubble. Look at the effect. It looks pretty, isn't it? If you are satisfied, Let's start now!
1. Select an image you like. You can select any content. Use Photoshop to open the backup. The common bubble is a positive circle, so we need to use a square image as the background. Select the cropping tool and press shift to make sure that the cropping box is square. Select an area in the image and then crop it. (Figure 01)
Final
Figure 01
2.
NanyiWith the popularization of 3G, more and more people use mobile Internet.Mobile devices are exceeding desktop devices and becoming the most common endpoint for accessing the Internet. As a result, web designers have to face a dilemma: how can the same page be presented on devices of different sizes?The screen of the phone is smaller and generally 600 pixels wide, and the screen width of the PC is generally above 1000
With the popularization of 3G, more and more people use mobile Internet.Mobile devices are exceeding desktop devices and becoming the most common endpoint for accessing the Internet. As a result, web designers have to face a dilemma: how can the same page be presented on devices of different sizes?The screen of the phone is smaller and generally 600 pixels wide, and the screen width of the PC is generally above 1000
Android provides DISPLAYMETIRCS class for easy access to resolution. The Displaymetics class is described below:The Displaymetrics class under the Andorid.util package provides a general information about the display, such as display size, resolution, and font.To get the Displaymetrics member, first initialize an object as follows:Displaymetrics metrics = new Displaymetrics ();Getwindowmanager (). Getdefaultdisplay (). Getmetrics;Note: The constructor displaymetrics does not need to pass any arg
High style sheet priorityI. background and prospects
Background-color: # f90;/* Background color. The style sheet has a high priority */Background-image: URL (PATH);/* set the background image */Background-Attachment: fixed;/* The background is fixed and does not scroll with the font */Background-Attachment: Scroll;/* The background scrolls with the font */Background-repeat: No-Repeat;/* No-repeat, repeat, repeat-X, repeat-y, not tiled, horizontally tiled ,*/Background-position: center;/* the ce
Http://hi.baidu.com/lucky900apple/blog/item/da21ee0dee01a52a6b60fbd7.html
1 LCD Controller
The function of the LCD controller is to generate display drive signals and drive the LCD display. Different controllers can support display of passive Array Display (STN) and Active Array Display (TFT), including monochrome and color, one-way refresh mode and two-way refresh mode. You only need to read and write a series of registers to complete configuration and display control.
1.1 Overview
The displa
Android technology 1: dimension Unit analysis, android size
Yesterday, Alibaba's telephone interview showed me a lot of deficiencies, and I didn't pay much attention to many small knowledge points at ordinary times. Well, the first blog will analyze various size units in android.
Technology 1:
"What are the specific differences between many size units in Android"
1. dimension type
Dip, px, pt, sp, dp
Dip: (device indepedent pixels) Independent
It is said that iOS development is easier than Android development. How does IOS achieve this? Let's take a look at it today. I hope it will be helpful to those who are doing IOS interface design.
1. iOS device resolution
There are currently three most important iOS devices (Apple TV and so on), divided into two categories by resolutionIPhone/iPod Touch
General screen resolution: 320 pixels x 480 pixels
Ret
DPI indicates the resolution, which is the number of points per inch in length. DPI can be subdivided into horizontal resolution and vertical resolution. For example, if the horizontal resolution of a 1 inch * 1 inch image is 100 dpi and the vertical resolution is 50 DPI, it divides horizontally into 100 segments per inch, vertically into 50 segments per inch, just like a grid on a square meter. this figure has 100*50 = 5000 grids in total, with a total of 5000
First, the basic concept
Dip:density independent pixels, device independent pixels.
DP: Just Dip
PX: pixels
dpi : dots per inch, which is directly the number of pixels in an inch. A common value of 120,160,240. I am generally referred to as pixel density, short density
density : Direct translat
The window coordinates are logical coordinates and are based on the viewport coordinate system.Viewport coordinates are physical coordinates and are based on the drawing device coordinate system.window coordinates are always mapped to the final target in viewport coordinates :Qpainter::setwindow modified the window position and size (the upper left corner redefined a value and length)Qpainter::setviewport changes the viewport position and number of pixels
Dip:device independent pixels (device independent pixels). Different devices have different display effects, this is related to the device hardware, generally we support WVGA, HVGA and QVGA recommend this, do not rely on pixels.DP: Same as dip.Px:pixels (pixels), a pixel is usually considered as the smallest full sample of the image, different devices display the
Recently in writing a mobile page, initially only know the use of the percentage layout can adapt to multiple terminals, sure enough, I was too young. When the designer threw me a 750px design with a iphone6 pixel reference, because this code the device-width in Width=device-width is equal to the physical width of the device and can be understood as the device's resolution. But after consulting the information, found above about Device-width view, for PC side, this is right, because the physical
# Store all Skin objects for all pixels in the imageSelf.skin_map = []# The skin area is detected, the index of the element is the skin area number, and the element is a list containing some skin objectsSelf.detected_regions = []# elements are lists that contain some int objects (area numbers)# The regions in these elements represent areas that are to be mergedSelf.merge_regions = []# The integrated skin area, the index of the element is the skin area
Whether you want to design an application interface, skin, or the appearance of a player, you will find that the techniques in this tutorial will be the same for you. It is obvious that I cannot sit here, a word by word knocking out all the steps of creating an interface, because some are really the basis of the foundation. However, I think it is useful to tell you how to create a few components that will help you design a beautiful interface.
1. First, create a new document of the appropriate s
sizes of the screen, according to screen width, automatic adjustment layout (layout).
The concept of "adaptive web Design"
In 2010, Ethan Marcotte proposed the term "adaptive web Design" (responsive web designs), which is designed to automatically identify screen widths and make adjustments accordingly.
He made an example of the six heroes of the Adventures of Sherlock Holmes. If the screen width is greater than 1300 pixels, the 6 pictures are on on
The imac series Exquisite's style is popular, this simple but elegant design allows us to get visual enjoyment in our work. The imac style has been incorporated into the web world, with transparent buttons and icons everywhere. Today, we're going to design an imac-style widescreen screen.
1. Open Photoshop, create a new 600x400 pixel document, RGB mode, white background.
Select the Rectangular marquee tool, select a rectangular selection in the canvas, roughly the size of the screen you want to
. Browsers on mobile devices will set their default viewport to 980px or 1024px (and possibly other values, as determined by the device itself), but with the result that the browser will appear with a horizontal scroll bar, Because the width of the viewable area of the browser is smaller than the width of this default viewport. Lists the width of the default viewport for browsers on some devices.Second, 1px in CSS is not equal to the 1px of the deviceIn CSS we generally use PX as the unit, in th
for desktop browsers can be displayed properly on mobile devices. Browsers on mobile devices will set their default viewport to 980px or 1024px (and possibly other values, as determined by the device itself), but with the result that the browser will appear with a horizontal scroll bar, Because the width of the viewable area of the browser is smaller than the width of this default viewport. Lists the width of the default viewport for browsers on some devices.Second, 1px in CSS is not equal to t
. The browser on the mobile device will set its default viewport to 980px or 1024px (and possibly other values, as determined by the device itself), but the result is a horizontal scroll bar in the browser, because the width of the viewable area of the browser is more than the default The width of the viewport is small. Lists the width of the default viewport for browsers on some devices.Second, 1px in CSS is not equal to the 1px of the deviceIn CSS we generally use PX as the unit, in the deskto
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.