Redmi Note 5 Specification And Price

Image
See the Redmi Note 5 Specification And Price

Display


18:9 Full screen displayCustom display with rounded corners
Procesor & Memory

Octa-core processorSnapdragon 625 2.0GHz maxAdreno 506Dimensions
Height: 158.5mmWidth: 75.45mmThickness: 8.05mmWeight: 180g

Display
18:9 Full screen display15.2cm (5.99) (diagonally)18:9 screen aspect ratio2160 x 1080 FHD+ resolution, 403 PPI, 1000:1 contrast ratio450 nits brightness84% of NTSC color gamutSunlight displayNight displayReading modeColor temperature adjustmentStandard mode
Battery
4000mAh (typ) / 3900mAh (min)Non-removable5V/2A
Camera & Video
12MP rear camera12MP, 1.25μm large pixel5-element lens, ƒ/2.2 apertureDual LED flashPDAFLow light enhancementHDRPanoramaBurst modeFace recognition5MP front cameraBeautify 4.0Selfie-lightSelfie countdownFace recognition1080p/720p video, 30fps
Networks & Connectivity
Supports 802.11a/b/g/n protocolsSupports 2.4 / 5G WiFi / WIFI Direct / WiFi DisplayBluetooth 4.2, Bluetooth HID4G dual SIM:
3-choose-2 hybrid S…

Chart Gallery In Ext GWT

Chart Gallery In Ext Google Web Toolkit Sample Code



  1. package com.extjs.gxt.samples.client.examples.tabs;  
  2.   
  3. import com.extjs.gxt.ui.client.event.ButtonEvent;  
  4. import com.extjs.gxt.ui.client.event.Events;  
  5. import com.extjs.gxt.ui.client.event.Listener;  
  6. import com.extjs.gxt.ui.client.event.SelectionListener;  
  7. import com.extjs.gxt.ui.client.widget.HorizontalPanel;  
  8. import com.extjs.gxt.ui.client.widget.LayoutContainer;  
  9. import com.extjs.gxt.ui.client.widget.TabItem;  
  10. import com.extjs.gxt.ui.client.widget.TabPanel;  
  11. import com.extjs.gxt.ui.client.widget.VerticalPanel;  
  12. import com.extjs.gxt.ui.client.widget.button.Button;  
  13. import com.extjs.gxt.ui.client.widget.button.ToggleButton;  
  14. import com.google.gwt.user.client.Element;  
  15.   
  16. public class AdvancedTabExample extends LayoutContainer {  
  17.   
  18.   private int index = 0;  
  19.   private TabPanel advanced;  
  20.   
  21.   @Override  
  22.   protected void onRender(Element parent, int pos) {  
  23.     super.onRender(parent, pos);  
  24.     VerticalPanel vp = new VerticalPanel();  
  25.     vp.setSpacing(10);  
  26.   
  27.     HorizontalPanel hp = new HorizontalPanel();  
  28.     hp.setSpacing(5);  
  29.   
  30.     Button add = new Button("Add Tab");  
  31.     add.addSelectionListener(new SelectionListener<ButtonEvent>() {  
  32.       @Override  
  33.       public void componentSelected(ButtonEvent ce) {  
  34.         addTab();  
  35.         advanced.setSelection(advanced.getItem(index - 1));  
  36.       }  
  37.     });  
  38.     hp.add(add);  
  39.   
  40.     ToggleButton toggle = new ToggleButton("Enable Tab Context Menu");  
  41.     toggle.addListener(Events.Toggle, new Listener<ButtonEvent>() {  
  42.       public void handleEvent(ButtonEvent be) {  
  43.         advanced.setCloseContextMenu(((ToggleButton) be.getButton()).isPressed());  
  44.       }  
  45.     });  
  46.     toggle.toggle(true);  
  47.     hp.add(toggle);  
  48.     vp.add(hp);  
  49.   
  50.     advanced = new TabPanel();  
  51.     advanced.setSize(600250);  
  52.     advanced.setMinTabWidth(115);  
  53.     advanced.setResizeTabs(true);  
  54.     advanced.setAnimScroll(true);  
  55.     advanced.setTabScroll(true);  
  56.     advanced.setCloseContextMenu(true);  
  57.   
  58.     while (index < 7) {  
  59.       addTab();  
  60.     }  
  61.   
  62.     advanced.setSelection(advanced.getItem(6));  
  63.   
  64.     vp.add(advanced);  
  65.     add(vp);  
  66.   }  
  67.   
  68.   private void addTab() {  
  69.     TabItem item = new TabItem();  
  70.     item.setText("New Tab " + ++index);  
  71.     item.setClosable(index != 1);  
  72.     item.addText("Tab Body " + index);  
  73.     item.addStyleName("pad-text");  
  74.     advanced.add(item);  
  75.   }  
  76.   
  77. }  

Comments

Popular posts from this blog

Gradle project sync failed. Basic functionality (e.g, editing, debugging) will not work properly.

How Automation Can Make You Better at Your Job

Best Expense Manager App For Your Android Phone