title: Setting EditText Cursor Color With Reflection Method
body: <p>I've been using a reflection method to set my <code>EditText</code>'s cursor colors programmatically which I found from this <a href="https://stackoverflow.com/a/26543290/8170714">answer</a> (I also tried this <a href="https://stackoverflow.com/a/32474978/8170714">answer</a>). However, after some recent updates, can't remember exactly when, that method no longer works, I assume that Android has probably changed something in the <code>TextView</code> class. Anyways, can someone help me with this? Are there now new field names for <code>mCursorDrawableRes</code> and <code>mCursorDrawable</code>, or is that whole method invalid and needs to be implemented another way now?</p>
  
  <p>Update: I just found out that this method stopped working only on Android P, on the previous versions, it still works.</p>
  
  <p>Update 2: I solved problem myself, check the answer if you are stuck as well.</p>