user-interface-samples
user-interface-samples copied to clipboard
Multiple samples showing the best practices in the user interface on Android.
There are three splash screen variants in the example. Two of them show green colored splash but none of them show the hourglass icon in the middle. There is no...
I initialized the window manager like this: `wm = WindowManager(this, null)` and called`wm.registerDeviceStateChangeCallback`, the **accept** method implemented in DeviceStateChangeCallback was invoked when I changed the screen size of emulator while...
``` * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processDebugManifest'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:187) at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:268) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:185) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:173) at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109) at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46) at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56) at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)...
WindowInsets bottom is not correct when screen becomes portrait from landscape. Please see the video. Android 11 https://user-images.githubusercontent.com/16236787/140914898-f5ff1a8f-f577-4ec1-b57f-13ea5f1f0b4c.mp4
Coudn't find anything in documentation.
Hi, one of my apps (Widget Screensaver) provides a widget host. Are there any samples for the new API for that? Would be really useful for launcher developers etc. I'm...
The Notifications example when you click application the src it goes to wearable? Also public class MessagingIntentService extends **IntentService** is deprecated (30). Can you replace with either WorkManager or JobIntentService..?...
I used the following config for emoji compat. `EmojiCompat.Config config = new BundledEmojiCompatConfig(context); if (Build.VERSION.SDK_INT