I`m trying to move left, or right the text and ImageView on Android Studio, but I want to do this programatically.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
getSupportActionBar().setTitle("new title");
getSupportActionBar().setDisplayShowHomeEnabled(true);
getSupportActionBar().setLogo(R.drawable.bible1);
getSupportActionBar().setDisplayUseLogoEnabled(true);
setContentView(R.layout.activity_main);