Android app name not being displayed

前端 未结 13 2135
梦谈多话
梦谈多话 2020-12-29 20:53

My Android app is not displaying the application name \"app_name\", instead its displaying the activity name \"title\". This is from my manifest file;

   <         


        
13条回答
  •  伪装坚强ぢ
    2020-12-29 21:56

    If you are using Android studio, then you you should extend AppCompatActivity then only the Activity will be displayed.

    Example Code: Main Activity: public class MainActivity extends AppCompatActivity

    Styles.XML

    
    
    

提交回复
热议问题