mirror of
https://github.com/bitwarden/mobile
synced 2025-12-26 13:13:28 +00:00
Android listview cell background set via drawable so that we can retain the selected state coloring. Adjustments to style separator for tableview cells.
This commit is contained in:
@@ -23,7 +23,14 @@ namespace Bit.Android.Controls
|
||||
|
||||
if(View != null)
|
||||
{
|
||||
View.SetBackgroundColor(extendedCell.BackgroundColor.ToAndroid());
|
||||
if(extendedCell.BackgroundColor != Color.White)
|
||||
{
|
||||
View.SetBackgroundColor(extendedCell.BackgroundColor.ToAndroid());
|
||||
}
|
||||
else
|
||||
{
|
||||
View.SetBackgroundResource(Resource.Drawable.list_selector);
|
||||
}
|
||||
|
||||
if(extendedCell.ShowDisclousure)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user