Угловой - Как добиться пунктирной границы для таблицы материалов

Notification.Builder mBuilder =
            new Notification.Builder(this)
            .setSmallIcon(R.drawable.cmplayer)
            .setContentTitle("CoderoMusicPlayer")
            .setContentText("PLayer0!");

    Intent resultIntent = new Intent(this, 

    AndroidBuildingMusicPlayerActivity.class);
        resultIntent.setAction(Intent.ACTION_MAIN);
        resultIntent.addCategory(Intent.CATEGORY_LAUNCHER);

        PendingIntent pendingIntent = PendingIntent.getActivity(this, 0,
                resultIntent, 0);

        mBuilder.setContentIntent(pendingIntent);
        NotificationManager mNotificationManager =
            (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
        mNotificationManager.notify(1, mBuilder.build());

Просто скопируйте код и вставьте его в свою основную активность.

Вот оригинальный ответ

0
задан Kiran Kumar 5 March 2019 в 17:56
поделиться

2 ответа

Я не уверен точно, но попробуйте этот стиль. следует начать:

table /deep/ td:first-child {
  border-right: 1px solid black;
}
0
ответ дан bgraham 5 March 2019 в 17:56
поделиться

Вы можете поместить границу в первую ячейку .mat.

.mat-cell:first-of-type {
  border-right: 1px solid rgba(0,0,0,.12);
}
0
ответ дан Stavm 5 March 2019 в 17:56
поделиться
Другие вопросы по тегам:

Похожие вопросы: