My Android app is not displaying the application name \"app_name\", instead its displaying the activity name \"title\". This is from my manifest file;
<
you need
public class MainActivity extends AppCompatActivity {.....}
if you can't extend AppCompatActivity, then you can alternatively add the last line of the code below to show a title in the bar..
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
toolbar.setTitle("the name i want to appear");