Android Gravity End Is Not Taking Effect Programmatically Stack

Android Gravity End Is Not Taking Effect Programmatically Stack