Edittext hint back and forth Android

188
December 22, 2017, at 10:21 AM

So I have an edittext that may or may not have a hint longer than the edittext. I was wondering 2 things

  1. Can we check the size of the edittext hint to determine if it is larger or smaller
  2. Is it possible to animate the hint inside the edittext to move back and forth on a timer
READ ALSO
Ads not showing in android game

Ads not showing in android game

I downloaded an android game, and I wanted to test it, but the thing is, It won't show the adMobs even if the code contain 'em :

182
Unable to compile AAR library

Unable to compile AAR library

i have AAR library where i have my non english translationsIt contains different language strings like this:

187
Unable to Hide Android Overflow Menu When Certain Fragments Are Displayed

Unable to Hide Android Overflow Menu When Certain Fragments Are Displayed

I am working on an Android application that uses a navigation drawer, attached to my MainActivity, to display certain layouts upon the user's selection of a navigation itemI also created a menu resource file for an overflow menu that should appear in the appBar

93
How to call Application getDatabase in Room

How to call Application getDatabase in Room

I downloaded the Room BasicSample app from here: https://githubcom/googlesamples/android-architecture-components

255