Profile cover photo
Profile photo
Rinav Gangar
Android Developer, with training Skills such as Java
Android Developer, with training Skills such as Java
Rinav's interests
View all
Rinav's posts

Post has shared content
“We don’t have to go through life with emotional scars. We don’t have to let negative experiences define us. We all have power over our lives. It may be difficult to see, but it’s always there. We always have a choice.”

Post has shared content
We've just pushed Android Studio 2.0 RC 1, and Emulator 25.1 RC 1, to the beta channel.

We have done extensive additional testing of both Android Studio and the Emulator. We have also verified these with a wide range of internal and external developers. We want to make sure we get Instant Run and the new emulator just right before promoting it to stable. Please continue to give us feedback and let us know if you run into any problems!

For more details, read the full release notes at

Post has attachment

Post has shared content
Use android:theme and ThemeOverlay to theme specific Views and their descendents
Pro-tip by +Ian Lake

If you’ve ever used the style attribute on a View, you know it can be useful to encapsulate shared styling into a reusable definition. But while styles are local to that view alone, android:theme allows you to override attributes in the Context’s theme for a View and all of its child Views as well. Applying a theme to individual Views was introduced in Android 5.0 Lollipop and AppCompat v22.1.0 (and higher) makes this available to all Views on API 11 and higher.

This is where ThemeOverlays such as ThemeOverlay.AppCompat come in. They are themes built specifically to overlay the base AppCompat theme, changing only certain elements as needed. The ones included by default include:

ThemeOverlay.AppCompat: This is an effectively empty theme that can serve as the basis for any custom ThemeOverlay. Note that it does copy AppCompat attributes such as colorPrimary to the framework android:colorPrimary on API 21+ so don’t forget about it!

ThemeOverlay.AppCompat.Light: A ThemeOverlay that changes background colors, text colors, and highlight colors so that match a Light theme (i.e., light background with dark text)

ThemeOverlay.AppCompat.Dark: A ThemeOverlay that, as you might imagine, changes coloring and text to match a Dark theme (i.e., a dark background with light text)

ThemeOverlay.AppCompat.ActionBar and ThemeOverlay.AppCompat.Dark.ActionBar: ThemeOverlays specific to the ActionBar/Toolbar that also change colorControlNormal to android:textColorPrimary and sets the correct SearchView styling as is expected for those components. These should be used only when you override actionBarTheme in your theme or when set on your Toolbar via android:theme.

So if you’re using a light theme but have a portion of your UI with a dark background, you don’t need to set custom text colors on each view. Just use ThemeOverlay.AppCompat.Dark:

  <TextView />

But what if you want to change just one specific attribute, say, colorAccent? That’s a case where ThemeOverlay.AppCompat makes sense. First, add a theme (say, to a themes.xml file in your values folder):

<style “CustomAccentOverlay” parent=”ThemeOverlay.AppCompat”>
   <item name="colorAccent">@color/custom_accent</item>

Then apply it to your View by adding android:theme=”CustomAccentOverlay”. This can be used to override any attribute, allowing you to customize things at a View level where appropriate, giving you one more tool you may need to #BuildBetterApps  

Post has shared content

Post has attachment

Post has shared content
Looks great :)
Dive into the new Google+
As +Eddie Kessler shared this afternoon (, we’ve spent lots of time talking to people who are passionate about Google+. We visited them in their homes, we invited them into early testing communities and we learned more about how and why they use Google+. The predominant answer? Having a great place to keep up with and talk about their interests. From Astrophotography ( to Wild Hummingbirds (, people are not only discovering amazing things, but meeting others who share their passions as well.

Today we’re taking a big step toward making Google+ an even better place for your interests. To do so, we’ve drastically simplified nearly every aspect of the product. You’ll see this clearly in our new navigation centered around Collections and Communities. Collections let you immerse yourself in content about topics like surfing ( or tiny tilt-shift photography scenes ( . Communities enable groups of people with the same interests to join up and geek out on anything from Game of Thrones ( to Painting ( With Collections and Communities, discovering amazing things is simple: just follow or join whatever happens to pique your interests.

But we didn’t stop with Collections and Communities; the new Google+ also makes it easier to post, search, connect, and keep up with great content in a fully redesigned home stream. And we’ve worked hard to make our new web experience load fast and work beautifully on devices of all sizes.

You can preview the new Google+ on the web today by signing in and clicking “Let’s go” when you see the prompt. (And since not every feature of Google+ has made its way into this new design, for now, you can toggle back to the classic Google+ with one click in the bottom left-hand corner.) In the coming days, we’ll roll out updated apps for Android and iOS.

While this is an exciting new beginning for us, we’re definitely not done yet. We got here by listening and learning, and will continue doing so. Please visit our Help Center ( or drop us a line in our support community ( to share your thoughts, questions, and more. 
Animated Photo

Post has shared content
Find Memory Leaks in your Android code with Leak Canary
Great tool for automagically finding leaks in your android code. This should be part of every developer's toolbox!


Post has attachment
“Approaching Android with MVVM” @hitherejoe
Wait while more posts are being loaded