mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
padding on cipher list item
This commit is contained in:
parent
5485bb574e
commit
31d39e0626
3 changed files with 30 additions and 18 deletions
|
@ -124,8 +124,6 @@ namespace Bit.Droid.Renderers
|
|||
SharedIcon.SetTextSize(ComplexUnitType.Sp, small);
|
||||
AttachmentsIcon.SetTextSize(ComplexUnitType.Sp, small);
|
||||
MoreButton.SetTextSize(ComplexUnitType.Sp, 25);
|
||||
MoreButton.SetPadding(0, 0, 0, 0);
|
||||
MoreButton.SetBackgroundColor(Xamarin.Forms.Color.Black.ToAndroid());
|
||||
|
||||
AddView(view);
|
||||
}
|
||||
|
|
|
@ -6,27 +6,38 @@
|
|||
android:gravity="center_vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<bit.droid.renderers.IconImageView
|
||||
android:id="@+id/CipherCellIconImage"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center_vertical" />
|
||||
<TextView
|
||||
android:id="@+id/CipherCellIcon"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="26dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="2dp">
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:gravity="center"
|
||||
android:text="[X]" />
|
||||
android:paddingHorizontal="7dp"
|
||||
android:paddingVertical="5dp"
|
||||
android:gravity="center">
|
||||
<bit.droid.renderers.IconImageView
|
||||
android:id="@+id/CipherCellIconImage"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="26dp"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center_vertical" />
|
||||
<TextView
|
||||
android:id="@+id/CipherCellIcon"
|
||||
android:layout_width="26dp"
|
||||
android:layout_height="26dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:gravity="center"
|
||||
android:text="[X]" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/CipherCellContent"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center_vertical">
|
||||
android:layout_gravity="center_vertical"
|
||||
android:paddingVertical="5dp">
|
||||
<LinearLayout
|
||||
android:id="@+id/CipherCellContentTop"
|
||||
android:orientation="horizontal"
|
||||
|
@ -43,12 +54,14 @@
|
|||
android:id="@+id/CipherCellSharedIcon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="5dp"
|
||||
android:singleLine="true"
|
||||
android:text="" />
|
||||
<TextView
|
||||
android:id="@+id/CipherCellAttachmentsIcon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="5dp"
|
||||
android:singleLine="true"
|
||||
android:text="" />
|
||||
</LinearLayout>
|
||||
|
@ -65,6 +78,7 @@
|
|||
android:layout_width="40dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text=""
|
||||
android:gravity="center"/>
|
||||
android:gravity="center"
|
||||
android:padding="0dp" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
|
@ -178,7 +178,7 @@
|
|||
<Style TargetType="Grid"
|
||||
Class="list-row">
|
||||
<Setter Property="Padding"
|
||||
Value="2, 5" />
|
||||
Value="2, 5, 0, 5" />
|
||||
</Style>
|
||||
<Style TargetType="BoxView"
|
||||
Class="list-section-separator">
|
||||
|
|
Loading…
Reference in a new issue