G+_Miguel Angel Boccalon Posted July 30, 2016 Share Posted July 30, 2016 AUTOMATICALLY SWITCH UI w.r.t DAY and NIGHT . With the Arrival of the new version 23.2 of library support Android brings a new components that can enrich the user interface. There’s a new theme added to AppCompat in this release: Theme.AppCompat.DayNight. Before adding this theme to AppCompact developers have to make adjustments to their designs to account for different ambient light levels or time of day, but AppCompat is now offering to automate a little bit of that . DOWNLOAD SOURCE CODE or Explore on GITHUB . ?#?android ?#?android_developer? ?#?developer_android? ?#?appcompat? ?#?theme? ?#?android_theme? ?#?support_library? ?#?library? ?#?android_support_library? ?#?material_design? ?#?android_tutorial? ?#?android_code? http://www.androidtutorialshub.com/android-daynight-theme-example-using-appcompat-support-library/ http://www.androidtutorialshub.com/android-daynight-theme-example-using-appcompat-support-library/ Link to comment Share on other sites More sharing options...
Recommended Posts