Best practices for ID naming conventions in Android?
<p>I saw this link first but it didn't seem to have much activity: <a href="https://stackoverflow.com/questions/14909719/naming-convention-for-ids-in-android">Naming convention for IDs in Android</a></p>

<p>I am curious what the best practice is for naming IDs for the various items in Design View on Android Studio.</p>

<p>Right now I'm doing stuff like this: If it's an TextView with the text "Welcome To My Program", I'll name it <code>welcomeTextViewID</code>. If it's a Button that starts some subroutine called <code>doStuff</code>, I might call it <code>doStuffButtonID</code>.</p>

<p>In other words I use a sort of <code>descriptor + datatype + ID</code> convention.</p>

<p>Is this considered bad practice? I always heard mixed things on using descriptors inside the name. For example in a language like C++ naming a string variable <code>nameString</code> (since if you change the data type later you have to also update the name).</p>