CSS – box-sizing property

CSS – box-sizing property

box-sizing property determines how the sizing properties are applied. It can take 2 values content-box and border-box content-box is the default value. Affects the content box of the element and padding and border are additional. The child divs have the half size, plus 10px the border. That is why the second child goes below. Div 150 px plus border 10 px both sides total 160 px border-box – the sizing properties are used to set the whole size of the element The divs have the half size 150 px, and…

CSS – box-sizing property Read More

Android – Services, started and bound services PART 1

Android – Services, started and bound services PART 1

Services are used to perform long-duration operations and/or access remote resources through background thread/process. They do not interact with the user directly but for example through status bar notifications. Services can be launched by activities via intents or by broadcast receivers. They can continue to run even if there is a runtime configuration change (screen rotation). started service It is launched via startService() and its lifecycle is independent of its creating component. You can pass parameters via the intent started the service. There is no need to return a result…

Android – Services, started and bound services PART 1 Read More