Various fixes
This commit is contained in:
parent
b9e14f1fa5
commit
4ca4892378
3 changed files with 10 additions and 11 deletions
|
@ -41,7 +41,7 @@ public class SelectableHelper {
|
|||
private int mDialogDeleteMessageResourceId;
|
||||
|
||||
public SelectableHelper(View view, DeleteListener listener) {
|
||||
mContext = view.getContext().getApplicationContext();
|
||||
mContext = view.getContext();
|
||||
mDeleteListener = listener;
|
||||
|
||||
mEditTopBar = view.findViewById(R.id.edit_list);
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:background="?attr/backgroundContastColor"
|
||||
android:background="@color/dark_grey_color"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:padding="20dp">
|
||||
|
|
|
@ -2,36 +2,34 @@
|
|||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_margin="10dp"
|
||||
android:gravity="center_vertical">
|
||||
android:layout_margin="10dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/avatar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_margin="5dp"
|
||||
android:gravity="center">
|
||||
android:layout_margin="5dp">
|
||||
|
||||
<include layout="@layout/contact_avatar" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_toLeftOf="@+id/dropdown"
|
||||
android:layout_toRightOf="@id/avatar"
|
||||
android:orientation="vertical">
|
||||
android:layout_toRightOf="@id/avatar">
|
||||
|
||||
<org.linphone.views.MarqueeTextView
|
||||
android:id="@+id/name"
|
||||
style="@style/contact_name_list_cell_font"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:singleLine="true" />
|
||||
|
||||
<org.linphone.views.MarqueeTextView
|
||||
|
@ -39,9 +37,10 @@
|
|||
style="@style/sip_uri_small_font"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:singleLine="true"/>
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@id/dropdown"
|
||||
|
|
Loading…
Reference in a new issue