replace the phone icon with a dialpad for getting to the dialpad
This commit is contained in:
parent
51b953f816
commit
cacbbcedc1
|
@ -165,7 +165,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
||||||
}
|
}
|
||||||
isFirstResume = false
|
isFirstResume = false
|
||||||
|
|
||||||
val blackIcon = resources.getColoredDrawableWithColor(R.drawable.ic_phone_big, if (isBlackAndWhiteTheme()) Color.BLACK else Color.WHITE)
|
val blackIcon = resources.getColoredDrawableWithColor(R.drawable.ic_dialpad, if (isBlackAndWhiteTheme()) Color.BLACK else Color.WHITE)
|
||||||
main_dialpad_button.setImageDrawable(blackIcon)
|
main_dialpad_button.setImageDrawable(blackIcon)
|
||||||
main_dialpad_button.background.applyColorFilter(getAdjustedPrimaryColor())
|
main_dialpad_button.background.applyColorFilter(getAdjustedPrimaryColor())
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 186 B |
Binary file not shown.
After Width: | Height: | Size: 184 B |
Binary file not shown.
After Width: | Height: | Size: 250 B |
Binary file not shown.
After Width: | Height: | Size: 336 B |
|
@ -31,7 +31,7 @@
|
||||||
android:layout_marginBottom="@dimen/activity_margin"
|
android:layout_marginBottom="@dimen/activity_margin"
|
||||||
android:background="@drawable/circle_background"
|
android:background="@drawable/circle_background"
|
||||||
android:elevation="@dimen/medium_margin"
|
android:elevation="@dimen/medium_margin"
|
||||||
android:padding="@dimen/normal_margin"
|
android:padding="@dimen/activity_margin"
|
||||||
android:src="@drawable/ic_phone_big"/>
|
android:src="@drawable/ic_dialpad"/>
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
Loading…
Reference in New Issue