2 changed files with 31 additions and 19 deletions
@ -1,21 +1,30 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|||
android:layout_width="match_parent" android:layout_height="50dp"> |
|||
<TextView |
|||
android:id="@+id/mrl_item_uri" |
|||
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" |
|||
xmlns:card_view="http://schemas.android.com/apk/res-auto" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="50dp" |
|||
card_view:cardUseCompatPadding="true" |
|||
card_view:cardElevation="1sp"> |
|||
|
|||
<RelativeLayout |
|||
android:layout_width="match_parent" |
|||
android:layout_height="match_parent" |
|||
android:paddingLeft="10dp" |
|||
android:clickable="true" |
|||
android:layout_toLeftOf="@+id/mrl_item_delete" |
|||
android:gravity="center_vertical"/> |
|||
<ImageView |
|||
android:id="@+id/mrl_item_delete" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_alignParentRight="true" |
|||
android:layout_centerInParent="true" |
|||
android:src="@drawable/ic_trash_small_normal" |
|||
android:clickable="true" |
|||
android:paddingRight="5dp"/> |
|||
</RelativeLayout> |
|||
android:layout_height="wrap_content"> |
|||
<TextView |
|||
android:id="@+id/mrl_item_uri" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="match_parent" |
|||
android:paddingLeft="10dp" |
|||
android:clickable="true" |
|||
android:layout_toLeftOf="@+id/mrl_item_delete" |
|||
android:gravity="center_vertical"/> |
|||
<ImageView |
|||
android:id="@+id/mrl_item_delete" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_alignParentRight="true" |
|||
android:layout_centerInParent="true" |
|||
android:src="@drawable/ic_trash_small_normal" |
|||
android:clickable="true" |
|||
android:paddingRight="5dp"/> |
|||
</RelativeLayout> |
|||
</android.support.v7.widget.CardView> |
|||
Loading…
Reference in new issue