If you want to create a layout like this, follow these steps:
<mat-card>
<mat-card-header>
<mat-card-title class="title-card-left">Left Title</mat-card-title>
<mat-card-title class="title-card-right">Right Title</mat-card-title>
</mat-card-header>
<mat-card-content></mat-card-content>
</mat-card>
Next, add some styling for these classes in your CSS/SCSS file:
.title-card-right{
display: inline;
float: right;
}
.title-card-left{
display: inline;
}
Lastly, include the following code in your styles.css file:
.mat-card-header-text{
width: 100% !important;
}