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