Use material icons for person and account delete
This commit is contained in:
@ -130,7 +130,7 @@ class AccountsActivity : AppCompatActivity() {
|
||||
accounts.clear()
|
||||
for (ua in BaresipService.uas)
|
||||
accounts.add(AccountRow(ua.account.aor.replace("sip:", ""),
|
||||
R.drawable.action_remove))
|
||||
R.drawable.delete))
|
||||
}
|
||||
|
||||
fun saveAccounts() {
|
||||
|
||||
@ -387,7 +387,7 @@ object Utils {
|
||||
}
|
||||
|
||||
null -> {
|
||||
val bitmap = BitmapFactory.decodeResource(ctx.resources, R.drawable.person_image)
|
||||
val bitmap = BitmapFactory.decodeResource(ctx.resources, R.drawable.person)
|
||||
imageView.setImageBitmap(bitmap)
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 509 B |
5
app/src/main/res/drawable/delete.xml
Normal file
5
app/src/main/res/drawable/delete.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<vector android:autoMirrored="true" android:height="24dp" android:width="24dp"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<path android:fillColor="@color/colorAccent" android:pathData="M6,19c0,1.1 0.9,2 2,2h8c1.1,0 2,-0.9 2,-2V7H6v12zM19,4h-3.5l-1,-1h-5l-1,1H5v2h14V4z"/>
|
||||
</vector>
|
||||
5
app/src/main/res/drawable/person.xml
Normal file
5
app/src/main/res/drawable/person.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<vector android:autoMirrored="true" android:height="95dp"
|
||||
android:tint="#26A69A" android:viewportHeight="24"
|
||||
android:viewportWidth="24" android:width="95dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M12,12c2.21,0 4,-1.79 4,-4s-1.79,-4 -4,-4 -4,1.79 -4,4 1.79,4 4,4zM12,14c-2.67,0 -8,1.34 -8,4v2h16v-2c0,-2.66 -5.33,-4 -8,-4z"/>
|
||||
</vector>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB |
Reference in New Issue
Block a user