Borderless Window Using Areo Snap, Shadow, Minimize Animation, and Shake

After using Spy++ to inspect Steam’s window (its window styles, how it replies to window messages) and trying to match everything it does, combined with the DWMAPI calls from this C# borderless window behavior, I believe I figured it out. To hide the window’s border, handle the WM_NCCALCSIZE message in your WindowProc: case WM_NCCALCSIZE: { … Read more

How to create standard Borderless buttons (like in the design guideline mentioned)?

To clear some confusion: This is done in 2 steps: Setting the button background attribute to android:attr/selectableItemBackground creates you a button with feedback but no background. android:background=”?android:attr/selectableItemBackground” The line to divide the borderless button from the rest of you layout is done by a view with the background android:attr/dividerVertical android:background=”?android:attr/dividerVertical” For a better understanding here … Read more