mirror of
https://github.com/bitwarden/mobile
synced 2025-12-18 01:03:24 +00:00
entry cell renderer
This commit is contained in:
@@ -25,13 +25,12 @@ namespace Bit.Droid.Renderers.BoxedView
|
||||
ValueLabel = new TextView(context);
|
||||
ValueLabel.SetSingleLine(true);
|
||||
ValueLabel.Ellipsize = TextUtils.TruncateAt.End;
|
||||
ValueLabel.Gravity = GravityFlags.Right;
|
||||
ValueLabel.Gravity = GravityFlags.Left;
|
||||
|
||||
var textParams = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WrapContent,
|
||||
ViewGroup.LayoutParams.WrapContent);
|
||||
using(textParams)
|
||||
using(var lParams = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WrapContent,
|
||||
ViewGroup.LayoutParams.WrapContent))
|
||||
{
|
||||
CellContent.AddView(ValueLabel, textParams);
|
||||
CellContent.AddView(ValueLabel, lParams);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user