This document summarizes the key new features and changes for developers in Android 8.0 Oreo. It discusses official support for Kotlin, Architecture Components like LiveData and Room, downloadable fonts, emoji compatibility with EmojiCompat, text view auto-sizing, adaptive icons, picture-in-picture support, and implications of targeting API level 27 for publishing apps on Google Play. Sample code is provided for many of these new features.
Android application can easily integrate and operate in smart phones therefore it has made life easy with these operations. The best advantage of android applications is that it helped business owners to get very good chunk of market share during a period of time and gain popularity in this field
Rapidsoft Technologies is an experienced mobile application development firm. For last several years, we are an active mobile app developer and have implemented more than 300 projects successfully. We
are a celebrated Android app development firm and hired for iOS app development too.
Like on Facebook
https://www.facebook.com/RapidsoftTechno
G+
https://plus.google.com/b/109035679386424718558/+Rapidsofttechnologies/posts
Follow on Twitter
https://twitter.com/Rapidsofttech
Follow on Linkedin
https://www.linkedin.com/company/rapidsoft-technologies-pvt--ltd-
ios vs android development – key differencesMarkovate
Mobile Apps have become so ubiquitous that it is almost impossible to imagine our lives without fiddling with our smartphones. All credit goes to renowned android and ios app development companies who built feature-rich, robust mobile apps like Whatsapp, Facebook, Instagram, etc., that have dominated our world like never before.
Cloud Developer Segmentation Report by VisionMobileSlashData
Cloud computing has emerged from its back-end, client/server, roots, to create paradigms of its own. Processing on demand enables disruptive competitors to capitalise on success, without the huge investments they would once have needed, and standardised platforms are making Cloud development easier than ever before.
Cloud developers have a broad range of skills, making categorisation by technology or target all but useless, so at VisionMobile we divide developers in to eight segments, based on what they want to achieve rather than the tools they use to achieve it. In this report we look in detail at the Cloud developer communities, seeing motivations map to tools and business models, providing an insight into what applications they are creating and how they are creating them.
Android application can easily integrate and operate in smart phones therefore it has made life easy with these operations. The best advantage of android applications is that it helped business owners to get very good chunk of market share during a period of time and gain popularity in this field
Rapidsoft Technologies is an experienced mobile application development firm. For last several years, we are an active mobile app developer and have implemented more than 300 projects successfully. We
are a celebrated Android app development firm and hired for iOS app development too.
Like on Facebook
https://www.facebook.com/RapidsoftTechno
G+
https://plus.google.com/b/109035679386424718558/+Rapidsofttechnologies/posts
Follow on Twitter
https://twitter.com/Rapidsofttech
Follow on Linkedin
https://www.linkedin.com/company/rapidsoft-technologies-pvt--ltd-
ios vs android development – key differencesMarkovate
Mobile Apps have become so ubiquitous that it is almost impossible to imagine our lives without fiddling with our smartphones. All credit goes to renowned android and ios app development companies who built feature-rich, robust mobile apps like Whatsapp, Facebook, Instagram, etc., that have dominated our world like never before.
Cloud Developer Segmentation Report by VisionMobileSlashData
Cloud computing has emerged from its back-end, client/server, roots, to create paradigms of its own. Processing on demand enables disruptive competitors to capitalise on success, without the huge investments they would once have needed, and standardised platforms are making Cloud development easier than ever before.
Cloud developers have a broad range of skills, making categorisation by technology or target all but useless, so at VisionMobile we divide developers in to eight segments, based on what they want to achieve rather than the tools they use to achieve it. In this report we look in detail at the Cloud developer communities, seeing motivations map to tools and business models, providing an insight into what applications they are creating and how they are creating them.
Even startups and small businesses can now be handy to their customers with custom mobile apps and here we are, all set to build this fruitful digital extension. With a professional team of mobile app developers, we help our clients to launch polished, intuitive and immaculately performing mobile applications.
We help clients in completing their projects effectively. If you have any requirements of an Android Application or if you have a website and are looking into turning it into an Android Application, they feel free to contact us.
Presentation (Slide Share) on Mobile Application Development Services and Why We Need It?. Created by a leading enterprise mobile application development company India, which are offering custom mobile app development services across various platforms like iPhone, Windows, Android, Blackberry and iPad.
Mobile Developer's Guide To The Galaxy 11th editionMarco Tabor
The 11th edition of Enough Software's popular handbook about mobile technologies- for developers and decision makers. 240 pages packed with valuable and objective information about all mobile platforms, different programming paradigms, monetization of apps, accessibility and a lot more.
All you need to get started in the mobile world and still a lot to learn if you're a veteran.
History and Evolution of Mobile Application in 1990's. How Mobile app development is enter into the smart phone with many features like android mobile apps, windows apps etc..
This is a sample of our IoT Wearables Landscape 2015 Premium Report, which deconstructs the 3 types of wearables platforms that support developers in their quest, and showcases a leaderboard of the top smartwatch platforms.
The report is based on the largest-ever IoT developer survey, including 670+ wearables developers.
Read more VisionMobile reports here: http://www.visionmobile.com/product
Mobile Application Development Course- Freelancers Academyanuvaa
Mobile application development is a term used to denote the act or process by which application software is developed for handheld devices, such as personal digital assistants, enterprise digital assistants or mobile phones.
For details visit us at-http://freelancersacademy.com/digital-display-marketing
iOS App Development Companies In Kuwait, iOS App Development Company In Kuwait, iOS Apps Development Company Kuwait, iOS App Developers In Kuwait, iOS App Development In Kuwait
Are you planning to develop a mobile app? here is a detailed guide for mobile app development and everything you need to know about mobile app development lifecycle
An overview of mobile app development. This presentation discusses the different options available and some of the considerations to take when starting a mobile app project. This was presented at the InSquared event (http://insquared.net) in March 2012
Developers Guide To The Galaxy 8th editionMarco Tabor
Completely updated and extended edition of this non-commercial overview on mobile technologies and development approaches. Helpful for developers and decision makers without technical background.
viWave Study Group - Introduction to Google Android Development - Chapter 23 ...Ted Chien
My study group slide in 2009 for Google Android Development, describing the following topics:
Designing the Obvious,
Resources and Internationalization,
Orientation,
Adapter,
Even startups and small businesses can now be handy to their customers with custom mobile apps and here we are, all set to build this fruitful digital extension. With a professional team of mobile app developers, we help our clients to launch polished, intuitive and immaculately performing mobile applications.
We help clients in completing their projects effectively. If you have any requirements of an Android Application or if you have a website and are looking into turning it into an Android Application, they feel free to contact us.
Presentation (Slide Share) on Mobile Application Development Services and Why We Need It?. Created by a leading enterprise mobile application development company India, which are offering custom mobile app development services across various platforms like iPhone, Windows, Android, Blackberry and iPad.
Mobile Developer's Guide To The Galaxy 11th editionMarco Tabor
The 11th edition of Enough Software's popular handbook about mobile technologies- for developers and decision makers. 240 pages packed with valuable and objective information about all mobile platforms, different programming paradigms, monetization of apps, accessibility and a lot more.
All you need to get started in the mobile world and still a lot to learn if you're a veteran.
History and Evolution of Mobile Application in 1990's. How Mobile app development is enter into the smart phone with many features like android mobile apps, windows apps etc..
This is a sample of our IoT Wearables Landscape 2015 Premium Report, which deconstructs the 3 types of wearables platforms that support developers in their quest, and showcases a leaderboard of the top smartwatch platforms.
The report is based on the largest-ever IoT developer survey, including 670+ wearables developers.
Read more VisionMobile reports here: http://www.visionmobile.com/product
Mobile Application Development Course- Freelancers Academyanuvaa
Mobile application development is a term used to denote the act or process by which application software is developed for handheld devices, such as personal digital assistants, enterprise digital assistants or mobile phones.
For details visit us at-http://freelancersacademy.com/digital-display-marketing
iOS App Development Companies In Kuwait, iOS App Development Company In Kuwait, iOS Apps Development Company Kuwait, iOS App Developers In Kuwait, iOS App Development In Kuwait
Are you planning to develop a mobile app? here is a detailed guide for mobile app development and everything you need to know about mobile app development lifecycle
An overview of mobile app development. This presentation discusses the different options available and some of the considerations to take when starting a mobile app project. This was presented at the InSquared event (http://insquared.net) in March 2012
Developers Guide To The Galaxy 8th editionMarco Tabor
Completely updated and extended edition of this non-commercial overview on mobile technologies and development approaches. Helpful for developers and decision makers without technical background.
viWave Study Group - Introduction to Google Android Development - Chapter 23 ...Ted Chien
My study group slide in 2009 for Google Android Development, describing the following topics:
Designing the Obvious,
Resources and Internationalization,
Orientation,
Adapter,
Presented at Big Android BBQ 2015
Hurst Convention Center, Hurst Texas
This talk will cover Fragments in detail by comparing and contrasting them to something we know well, Activities. We will also cover examples and use cases. Fragments: Why, How, and What For? is targeted toward developers who may not have had a lot of experience using Fragments and those who want to understand them better. Why did Google introduce Fragments? Aren’t Activities enough? How do Fragments work? What For? Example and use cases such as Fragment reuse, single pane vs multi-pane, ViewPager, NavigationDrawer and DialogFragment.
Building Cross-Platform JavaScript Apps using CordovaNoam Kfir
This is the slide deck used in the "Building Cross-Platform JavaScript Apps using PhoneGap and Cordova" lecture I gave at the WDC.IL User Group in July 2014.
The talk briefly shows how to get started with Cordova, discusses some of the differences between Cordova, Adobe PhoneGap and the Telerik Platform, and demonstrates using the Telerik Platform to build and LiveSync Android, iOS and Windows Phone apps. It also explains the role of plugins in building hybrid mobile apps that can utilize native APIs.
Android Workshop for NTU. A getting started guide to android application development.
UPDATE (Oct 2013): An updated slide at http://samwize.com/2013/10/13/android-workshop-2013/
This Presentation slide include all the basic things that need to know a beginner to start his/her android career. Even though this slide presentation for beginner but mid level developer also could be benefited.
Estructuras de datos avanzadas: Casos de uso realesSoftware Guru
La utilización de estructuras de datos adecuadas para cada problema hace que se simplifiquen en gran medida los tiempos de respuestas y la cantidad de cómputo realizada.
Por Nelson González
Onboarding new members into an engineering team is not easy on anyone. In a short period of time, the new team member is required to be able to bring professional
Por Victoriya Kalmanovich
El secreto para ser un desarrollador SeniorSoftware Guru
En esta charla platicaremos sobre el “secreto” y el camino para llegar a ser un desarrollador Senior, experiencia, consejos y recomendaciones que en estos 8 años
Por René Sandoval
Apache Airflow es una plataforma en la que podemos crear flujos de datos de manera programática, planificarlos y monitorear de manera centralizada.
Por Yesi Díaz
How thick data can improve big data analysis for business:Software Guru
En esta presentación hablaré sobre cómo el Análisis de Datos Gruesos, específicamente el análisis antropológico y semiótico, puede ayudar a mejorar los resultados del Big Data
Por Martin Cuitzeo
CoDi® es la nueva forma de realizar pagos digitales desarrollada por el Banco de México. Por medio de CoDi puedes realizar cobros y pagos desde tu celular, utilizando una cuenta bancaria o de alguna institución financiera, sin comisiones.
Por Cristian Jaramillo
Gestionando la felicidad de los equipos con Management 3.0Software Guru
En las metodologías agiles hablamos de equipos colaborativos, autogestionados y felices. hablamos de lideres serviciales. El management 3.0 nos ayuda a cultivar el mindset correcto, aquel que servirá como el terreno fértil para que la agilidad florezca.
Por Andrea Vélez Cárdenas
Taller: Creación de Componentes Web re-usables con StencilJSSoftware Guru
Hoy por hoy las experiences de usuario pueden ser enriquecidas mediante el uso de Web Components, que son un estándar de la W3C soportado por la mayoría de los navegadores web modernos.
Por Alex Arriaga
Así publicamos las apps de Spotify sin stressSoftware Guru
En Spotify tenemos 1600+ ingenieros, trabajando en 280+ squads. Aún a esta escala, hemos logrado adoptar prácticas que nos han permitido acelerar la forma en que desarrollamos nuestro producto. Presentado por Erick Camacho en SG Virtual Conference 2020
Achieving Your Goals: 5 Tips to successfully achieve your goalsSoftware Guru
he measure of the executive, Peter F. Drucker reminds us, is the ability to "get the right things done." This involves having clarity on what are the right things as well as avoiding what is unproductive. Intelligence, creativity, and knowledge may all be wasted if not put to work on the things that matter.
Presentado por Cristina Nistor en SG Virtual Conference 2020
Acciones de comunidades tech en tiempos del Covid19Software Guru
Acciones de Comunidades Tech en tiempo del COVID-19 es una platica para informar acerca de las acciones que están realizando algunas comunidades de tecnología en México para luchar contra la propagación del COVID-19. Desde análisis de datos, visualizaciones, simulaciones de contagio, etc.
Presentado por Juana Martínez, Adriana Vallejo y Eduardo Ramírez en SG Virtual Conference 2020
De lo operativo a lo estratégico: un modelo de management de diseñoSoftware Guru
La charla presenta un modelo claro, generado por la ponente, para atender los niveles desde lo operativo a lo estratégico.
Presentado por Gabriela Salinas en SG Virtual Conference
Atelier - Innover avec l’IA Générative et les graphes de connaissancesNeo4j
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Allez au-delà du battage médiatique autour de l’IA et découvrez des techniques pratiques pour utiliser l’IA de manière responsable à travers les données de votre organisation. Explorez comment utiliser les graphes de connaissances pour augmenter la précision, la transparence et la capacité d’explication dans les systèmes d’IA générative. Vous partirez avec une expérience pratique combinant les relations entre les données et les LLM pour apporter du contexte spécifique à votre domaine et améliorer votre raisonnement.
Amenez votre ordinateur portable et nous vous guiderons sur la mise en place de votre propre pile d’IA générative, en vous fournissant des exemples pratiques et codés pour démarrer en quelques minutes.
GraphSummit Paris - The art of the possible with Graph TechnologyNeo4j
Sudhir Hasbe, Chief Product Officer, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
Mobile App Development Company In Noida | Drona InfotechDrona Infotech
Looking for a reliable mobile app development company in Noida? Look no further than Drona Infotech. We specialize in creating customized apps for your business needs.
Visit Us For : https://www.dronainfotech.com/mobile-application-development/
Do you want Software for your Business? Visit Deuglo
Deuglo has top Software Developers in India. They are experts in software development and help design and create custom Software solutions.
Deuglo follows seven steps methods for delivering their services to their customers. They called it the Software development life cycle process (SDLC).
Requirement — Collecting the Requirements is the first Phase in the SSLC process.
Feasibility Study — after completing the requirement process they move to the design phase.
Design — in this phase, they start designing the software.
Coding — when designing is completed, the developers start coding for the software.
Testing — in this phase when the coding of the software is done the testing team will start testing.
Installation — after completion of testing, the application opens to the live server and launches!
Maintenance — after completing the software development, customers start using the software.
Hand Rolled Applicative User ValidationCode KataPhilip Schwarz
Could you use a simple piece of Scala validation code (granted, a very simplistic one too!) that you can rewrite, now and again, to refresh your basic understanding of Applicative operators <*>, <*, *>?
The goal is not to write perfect code showcasing validation, but rather, to provide a small, rough-and ready exercise to reinforce your muscle-memory.
Despite its grandiose-sounding title, this deck consists of just three slides showing the Scala 3 code to be rewritten whenever the details of the operators begin to fade away.
The code is my rough and ready translation of a Haskell user-validation program found in a book called Finding Success (and Failure) in Haskell - Fall in love with applicative functors.
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Mind IT Systems
Healthcare providers often struggle with the complexities of chronic conditions and remote patient monitoring, as each patient requires personalized care and ongoing monitoring. Off-the-shelf solutions may not meet these diverse needs, leading to inefficiencies and gaps in care. It’s here, custom healthcare software offers a tailored solution, ensuring improved care and effectiveness.
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Łukasz Chruściel
No one wants their application to drag like a car stuck in the slow lane! Yet it’s all too common to encounter bumpy, pothole-filled solutions that slow the speed of any application. Symfony apps are not an exception.
In this talk, I will take you for a spin around the performance racetrack. We’ll explore common pitfalls - those hidden potholes on your application that can cause unexpected slowdowns. Learn how to spot these performance bumps early, and more importantly, how to navigate around them to keep your application running at top speed.
We will focus in particular on tuning your engine at the application level, making the right adjustments to ensure that your system responds like a well-oiled, high-performance race car.
Software Engineering, Software Consulting, Tech Lead, Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Transaction, Spring MVC, OpenShift Cloud Platform, Kafka, REST, SOAP, LLD & HLD.
Utilocate offers a comprehensive solution for locate ticket management by automating and streamlining the entire process. By integrating with Geospatial Information Systems (GIS), it provides accurate mapping and visualization of utility locations, enhancing decision-making and reducing the risk of errors. The system's advanced data analytics tools help identify trends, predict potential issues, and optimize resource allocation, making the locate ticket management process smarter and more efficient. Additionally, automated ticket management ensures consistency and reduces human error, while real-time notifications keep all relevant personnel informed and ready to respond promptly.
The system's ability to streamline workflows and automate ticket routing significantly reduces the time taken to process each ticket, making the process faster and more efficient. Mobile access allows field technicians to update ticket information on the go, ensuring that the latest information is always available and accelerating the locate process. Overall, Utilocate not only enhances the efficiency and accuracy of locate ticket management but also improves safety by minimizing the risk of utility damage through precise and timely locates.
Takashi Kobayashi and Hironori Washizaki, "SWEBOK Guide and Future of SE Education," First International Symposium on the Future of Software Engineering (FUSE), June 3-6, 2024, Okinawa, Japan
What is Augmented Reality Image Trackingpavan998932
Augmented Reality (AR) Image Tracking is a technology that enables AR applications to recognize and track images in the real world, overlaying digital content onto them. This enhances the user's interaction with their environment by providing additional information and interactive elements directly tied to physical images.
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeAftab Hussain
Understanding variable roles in code has been found to be helpful by students
in learning programming -- could variable roles help deep neural models in
performing coding tasks? We do an exploratory study.
- These are slides of the talk given at InteNSE'23: The 1st International Workshop on Interpretability and Robustness in Neural Software Engineering, co-located with the 45th International Conference on Software Engineering, ICSE 2023, Melbourne Australia
OpenMetadata Community Meeting - 5th June 2024OpenMetadata
The OpenMetadata Community Meeting was held on June 5th, 2024. In this meeting, we discussed about the data quality capabilities that are integrated with the Incident Manager, providing a complete solution to handle your data observability needs. Watch the end-to-end demo of the data quality features.
* How to run your own data quality framework
* What is the performance impact of running data quality frameworks
* How to run the test cases in your own ETL pipelines
* How the Incident Manager is integrated
* Get notified with alerts when test cases fail
Watch the meeting recording here - https://www.youtube.com/watch?v=UbNOje0kf6E
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...kalichargn70th171
A dynamic process unfolds in the intricate realm of software development, dedicated to crafting and sustaining products that effortlessly address user needs. Amidst vital stages like market analysis and requirement assessments, the heart of software development lies in the meticulous creation and upkeep of source code. Code alterations are inherent, challenging code quality, particularly under stringent deadlines.
Zoom is a comprehensive platform designed to connect individuals and teams efficiently. With its user-friendly interface and powerful features, Zoom has become a go-to solution for virtual communication and collaboration. It offers a range of tools, including virtual meetings, team chat, VoIP phone systems, online whiteboards, and AI companions, to streamline workflows and enhance productivity.
Graspan: A Big Data System for Big Code AnalysisAftab Hussain
We built a disk-based parallel graph system, Graspan, that uses a novel edge-pair centric computation model to compute dynamic transitive closures on very large program graphs.
We implement context-sensitive pointer/alias and dataflow analyses on Graspan. An evaluation of these analyses on large codebases such as Linux shows that their Graspan implementations scale to millions of lines of code and are much simpler than their original implementations.
These analyses were used to augment the existing checkers; these augmented checkers found 132 new NULL pointer bugs and 1308 unnecessary NULL tests in Linux 4.4.0-rc5, PostgreSQL 8.3.9, and Apache httpd 2.2.18.
- Accepted in ASPLOS ‘17, Xi’an, China.
- Featured in the tutorial, Systemized Program Analyses: A Big Data Perspective on Static Analysis Scalability, ASPLOS ‘17.
- Invited for presentation at SoCal PLS ‘16.
- Invited for poster presentation at PLDI SRC ‘16.
E-commerce Application Development Company.pdfHornet Dynamics
Your business can reach new heights with our assistance as we design solutions that are specifically appropriate for your goals and vision. Our eCommerce application solutions can digitally coordinate all retail operations processes to meet the demands of the marketplace while maintaining business continuity.
16. Lets you use fonts as resources. You can add the font file in the res/font/ folder
to bundle fonts as resources.
These fonts are compiled in your R file and to access a font resource, use
@font/myfont, or R.font.myfont.
18. Introduce support for APIs to request fonts from a provider application.
The Downloadable Fonts feature offers the following benefits:
● Reduces the APK size
● Increases the app installation success rate
● Improves the overall system health as multiple APKs can share the same
font through a provider.
19. A font provider is an application that retrieves fonts and
caches them locally.
20. private fun getFontRequest(query: String) = FontRequest(
Constants.PROVIDER_AUTHORITY,
Constants.PROVIDER_PACKAGE,
query,
R.array.com_google_android_gms_fonts_certs)
Font Request
21. Font Request Callback
private fun getFontRequestCallback() = object :
FontsContractCompat.FontRequestCallback() {
override fun onTypefaceRetrieved(typeface: Typeface?) {
super.onTypefaceRetrieved(typeface)
text_font_disclaimer.typeface = typeface
}
override fun onTypefaceRequestFailed(reason: Int) {
super.onTypefaceRequestFailed(reason)
Log.e(FontsFragment::class.java.simpleName, "An Error Occurred: " + reason)
}
}
22. private fun getHandler(): Handler {
val handlerThread = HandlerThread("fonts")
handlerThread.start()
return Handler(handlerThread.looper)
}
Handler
23. val fontRequest = getFontRequest(query)
val fontRequestCallback = getFontRequestCallback()
FontsContractCompat.requestFont(context!!, fontRequest, fontRequestCallback,
getHandler())
Downloadable Font
27. The EmojiCompat support library aims to keep Android devices up to
date with the latest emoji.
● Prevents your app from showing missing emoji characters in the form of ☐
● Your app users do not need to wait for Android OS updates to get the latest
emoji
28. EmojiCompat identifies emoji for a given CharSequence, replaces them
with EmojiSpans, if required, and finally renders the emoji glyphs.
Note: backward-compatible emoji support on devices running Android 4.4 (API level 19) and higher
33. EmojiCompat Regular Widgets
Use EmojiCompat.get().process(text) to add EmojiSpans if
any emoji are found.
The code above should be inside of an implementation of
InitCallback.
Listen the initialization of EmojiCompat
EmojiCompat.get().registerInitCallback(initCallback)
34. class EmojiTextViewCallback constructor(regularTextView: TextView, val text:
String) : EmojiCompat.InitCallback() {
private val regularTextViewReference: WeakReference<TextView> =
WeakReference(regularTextView)
override fun onInitialized() {
super.onInitialized()
val regularTextView = regularTextViewReference.get()
regularTextView!!.text = EmojiCompat.get().process(text)
}
override fun onFailed(throwable: Throwable?) {
super.onFailed(throwable)
throwable!!.printStackTrace()
}
}
EmojiTextViewCallback
35. val emojiTextViewCallback = EmojiTextViewCallback(text_emoji_regular,
getString(R.string.emoji_regular_text, MONKEYS_EMOJI))
EmojiCompat.get().registerInitCallback(emojiTextViewCallback)
Using EmojiTextViewCallback
36. Using EmojiCompat with custom
widgets
EmojiTextViewHelper
EmojiEditTextHelper
CustomEmojiTextView.kt
38. Downloadable fonts
The downloadable fonts configuration uses the Downloadable Fonts support
library feature to download an emoji font
Bundled fonts
This package includes the font with the embedded metadata
43. Allows you to instruct a TextView to let the text size expand or contract
automatically to fill its layout based on the TextView's characteristics and
boundaries.
Autosizing
There are three ways you can set up the autosizing of TextView:
● Default
● Granularity
● Preset Sizes
Note: The library provides support to Android 4.0 (API level 14) and higher. The android.support.v4.widget package contains
the TextViewCompat.
45. Default setting lets the autosizing of TextView scale uniformly on horizontal and
vertical axes.
<android.support.v7.widget.AppCompatTextView
android:id="@+id/text_default"
android:layout_width="match_parent"
android:layout_height="100dp"
android:text="@string/autosizing_default_disclaimer"
app:autoSizeTextType="uniform"/>
Default
Provide AUTO_SIZE_TEXT_TYPE_NONE to turn off the autosizing feature or AUTO_SIZE_TEXT_TYPE_UNIFORM to
scale the horizontal and the vertical axes uniformly.
47. You can define a range of minimum and maximum text sizes and a dimension
that specifies the size of each step. The TextView scales uniformly in a range
between the minimum and maximum size attributes. Each increment occurs as
per the step size set in the granularity attribute.
<android.support.v7.widget.AppCompatTextView
android:id="@+id/text_default"
android:layout_width="match_parent"
android:layout_height="100dp"
android:text="@string/autosizing_granularity_disclaimer"
app:autoSizeMaxTextSize="34sp"
app:autoSizeMinTextSize="10sp"
app:autoSizeStepGranularity="2sp"
app:autoSizeTextType="uniform"/>
Granularity
53. Adaptive launcher icons, which can display a variety of shapes across
different device models.
You can control the look of your adaptive launcher icon by defining 2
layers, consisting of a background and a foreground. You must provide
icon layers as drawables without masks or background shadows around
the outline of the icon.
Adaptive Icons
58. As of Android O, activities can launch in Picture-in-Picture (PiP) mode. PiP is a
special type of multi-window mode
<activity
android:name=".home.HomeActivity"
android:label="@string/app_name"
android:supportsPictureInPicture="true"> … </activity>
Picture in Picture
59. private fun setPictureInPicture() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
val pictureInPictureParamsBuilder = PictureInPictureParams.Builder()
val aspectRatio = Rational(1200, 600)
pictureInPictureParamsBuilder.setAspectRatio(aspectRatio).build()
enterPictureInPictureMode(pictureInPictureParamsBuilder.build())
}
}
Picture in Picture Mode
60. Handling UI during Picture in Picture
override fun onPictureInPictureModeChanged(isInPictureInPictureMode:
Boolean, newConfig: Configuration?) {
super.onPictureInPictureModeChanged(isInPictureInPictureMode, newConfig)
if (isInPictureInPictureMode) {
println("Picture-in-picture mode")
} else {
println("Restore the full-screen UI")
}
}
63. ● You want to target API level 27, you’ll need to support the behavior changes
introduced in Android 8.0 Oreo, such as background execution limits,
location limits, and others.
● Once you publish an app with targetSdkVersion set to 23 or higher, you can't
later publish a version of the app with a higher versionCode that targets 22
or lower.
Google Play that target API level 27