Skip to content

SpaceTech

Exploration of Information, Communication and Technology

  • Home
  • Resx Builder
  • About
  • LinkedIn
  • Github

Tag: shape

Andorid Programmatic Shapes With Gradient

August 17, 2012June 2, 2021 Bjarne

You can fairly easy make rounded rectangles in Android by using the GradientDrawable class GradientDrawable gd = new GradientDrawable(); gd.setColor(Color.RED); gd.setCornerRadius(10); gd.setStroke(2, Color.WHITE); Take a further look at this blogpost for more examples.  

About

Hey! Engineer here. This is my engineering diary. I enjoy creating things, whether that be websites, plugins, mobile apps. I'm currently playing around in an engineering department where I work on a wide variety of interesting and meaningful projects on a daily basis. You’re welcome to connect and say hey on LinkedIn. Enjoy!


  • Top Strategies to Optimize Performance in React Applications
  • How to Move Games Between Internal Storage and microSD Card on Your Steam Deck
  • Unable to log you into GeForce NOW
  • Visual Studio Error List only show opened files
  • Windows Alt Tab Group Edge Tabs in Windows 11

Copyright ©SpaceTech

Clean Theme by WPVKP