Postingan

How to change the BIOS boot screen logo image on Lenovo Laptops

How to change the BIOS boot screen logo image on Lenovo Laptops - Download the BIOS update utility. Download the BIOS Update Utility from the Lenovo support website and extract the files guidelines for the creation of the custom image : image file size are limited to 60kb valid image formats are as follows: (.bmp)  jpeg (.jpg)  gif (.gif) file format image width and height should be less or equal to 40% of the built-in lcd panel resolution. (ex. if lcd panel resolution is 1920 x 1080, image width and height should be 768 x 432 or less) To edit the image you can use https://www.gimp.org/ that’s what I use to edit my images. I created an image size 500×150. Now we need to make this image file size smaller than 60K. that would be a challenge! The only way I found to compress the image this small in GIMP is by going to Image > Mode > indexed and then choosing “ Use-Web optimized palette Click on Convert and the export the image as one of the compatible formats listed above remember

Switch (On/Off) Tutorial With Example In Android Studio

Switch (On/Off) Tutorial With Example In Android Studio - In Android, Switch is a two-state toggle switch widget that can select between two options. It is used to display checked and unchecked state of a button providing slider control to user. Switch is a subclass of CompoundButton. It is basically an off/on button which indicate the current state of Switch. It is commonly used in selecting on/off in Sound, Bluetooth, WiFi etc. As compared to ToggleButton Switch provides user slider control. The user can simply tap on a switch to change its current state. Switch allow the users to change the setting between two states like turn on/off  wifi, Bluetooth etc from your phone’s setting menu. It was introduced after Android 4.0 version (API level 14). Important Note: Android Switch and ToggleButton both are the subclasses of CompoundButton class. Important Note: We can check the current state of a Switch programmatically by using isChecked() method. This method returns a Boolean value

ImageView Tutorial With Example In Android

ImageView Tutorial With Example In Android - In Android, ImageView class is used to display an image file in application. Image file is easy to use but hard to master in Android, because of the various screen sizes in Android devices. An android is enriched with some of the best UI design widgets that allows us to build good looking and attractive UI based application. Important Note: ImageView comes with different configuration options to support different scale types. Scale type options are used for scaling the bounds of an image to the bounds of the imageview. Some of them scaleTypes configuration properties are center, center_crop, fit_xy, fitStart etc. You can read our ScaleType tutorial to learn all details on it. Now let’s  we discuss some important attributes that helps us to configure a ImageView in your xml file. 1. id: id is an attribute used to uniquely identify a image view in android. Below is the example code in which we set the id of a image view. 2. src: src is an at

Custom Spinner Tutorial With Examples In Android Studio

Custom Spinner Tutorial With Examples In Android Studio - In Android, Whenever we need to display a spinner item with image, text etc (i.e. creating more custom list) then we have to implement a custom adapter like base adapter. For customization we need to create a custom adapter class and then extends our default adapter in that class.  Here we create a custom list using the overrided functions of adapter and display custom spinner. For more clarification about how’s an custom adapter implemented firstly we need to understand spinner. In Android, Spinners provides you a quick way to select one value from a set of values. Android spinners are nothing but the drop-downlist seen in other programming languages. In a default state, a spinner shows its currently selected value. It provides a easy way to select a value from a list of values. Important Note: Spinner is associated with Adapter view so to fill the data in spinner we need to use one of the adapter class. In above co

VideoView Tutorial With Example In Android Studio

VideoView Tutorial With Example In Android Studio - In Android, VideoView is used to display a video file. It can load images from various sources (such as content providers or resources) taking care of computing its measurement from the video so that it can be used for any layout manager, providing display options such as scaling and tinting. Important Note: VideoView does not retain its full state when going into the background. In particular it does not restore the current play position and play state. Applications should save and restore these in onSaveInstanceState(Bundle) and onRestoreInstanceState(Bundle). Methods Used in VideoView: Let’s we discuss some important methods of VideoView that may be called in order to manage the playback of video: 1. setVideoUri(Uri uri): This method is used to set the absolute path of the video file which is going to be played. This method takes a Uri object as an argument. Below we set the uri of video which is saved in Android Studio: Step 1: C

JAVA For Android | Tutorial, Examples And Programs

JAVA For Android | Tutorial, Examples And Programs - Android App are mostly developed in JAVA language using Android SDK (Software Development Kit). Other languages like C, C++, Scala etc. can also be used for developing Android App, but JAVA is most preferred and mostly used programming language for Android App Development. So if you are a beginner in Android then JAVA language and complete knowleadge of OOPS concepts is the first thing you need to learn before beginning Android Development. Introduction To JAVA JAVA is a programming language which is used in Android App Development. It is class based and object oriented programming whose syntax is influenced by C++. The primary goals of JAVA is to be simple, object-oriented, robust, secure and high level. JAVA application runs on JVM (JAVA Virtual Machine) but Android has it’s own virtual machine called Dalvik Virtual Machine (DVM) optimized for mobile devices. Prerequisites For JAVA: Eclipse: Being a JAVA programmer you will nee

Wisata Danau Terbesar di Dunia ada di Indonesia

http://www.bendebesah.com/2018/07/bondowoso.html