You don't replace it with your application name but with the actual string "yourapp"
, since you define it right here:
xmlns:yourapp="http://schemas.android.com/apk/res-auto
So you don't use your application name but in this case literally yourapp:showAsAction="ifRoom"
Side note: you can name it something else, for example:
xmlns:someapp="http://schemas.android.com/apk/res-auto
Then the usage would be someapp:showAsAction="ifRoom"