Add new iconography for custom stories.
This commit is contained in:
parent
44f551acc5
commit
a176188c7d
4 changed files with 15 additions and 3 deletions
|
@ -37,7 +37,7 @@ class ChooseStoryTypeBottomSheet : DSLSettingsBottomSheetFragment(
|
|||
stringId = R.string.ChooseStoryTypeBottomSheet__visible_only_to
|
||||
),
|
||||
icon = DSLSettingsIcon.from(
|
||||
iconId = R.drawable.ic_plus_24,
|
||||
iconId = R.drawable.ic_stories_24,
|
||||
iconTintId = R.color.signal_colorOnSurface,
|
||||
backgroundId = R.drawable.circle_tintable,
|
||||
backgroundTint = R.color.signal_colorSurface5,
|
||||
|
|
|
@ -1350,7 +1350,7 @@ public class Recipient {
|
|||
}
|
||||
|
||||
public @NonNull FallbackContactPhoto getPhotoForDistributionList() {
|
||||
return new ResourceContactPhoto(R.drawable.ic_lock_24, R.drawable.ic_lock_24, R.drawable.ic_lock_40);
|
||||
return new ResourceContactPhoto(R.drawable.ic_stories_24, R.drawable.ic_stories_24, R.drawable.ic_stories_24);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
12
app/src/main/res/drawable/ic_stories_16.xml
Normal file
12
app/src/main/res/drawable/ic_stories_16.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="16dp"
|
||||
android:height="16dp"
|
||||
android:viewportWidth="16"
|
||||
android:viewportHeight="16">
|
||||
<path
|
||||
android:pathData="M7.078,2.5C6.249,2.5 5.578,3.172 5.578,4V12C5.578,12.828 6.249,13.5 7.078,13.5H11.578C12.406,13.5 13.078,12.828 13.078,12V4C13.078,3.172 12.406,2.5 11.578,2.5H7.078Z"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M4.5,4.5C4.5,4.173 4.579,3.864 4.718,3.591L3.487,4.039C2.709,4.322 2.308,5.183 2.591,5.962L4.472,11.13C4.481,11.154 4.49,11.178 4.5,11.201V4.5Z"
|
||||
android:fillColor="#000000"/>
|
||||
</vector>
|
|
@ -252,7 +252,7 @@
|
|||
android:maxLines="1"
|
||||
android:textAppearance="@style/Signal.Text.MaterialCaption"
|
||||
android:visibility="gone"
|
||||
app:drawableStartCompat="@drawable/ic_lock_16"
|
||||
app:drawableStartCompat="@drawable/ic_stories_16"
|
||||
app:drawableTint="@color/transparent_white_80"
|
||||
app:layout_constraintBottom_toTopOf="@id/progress"
|
||||
app:layout_constraintEnd_toStartOf="@id/more"
|
||||
|
|
Loading…
Add table
Reference in a new issue