2017-09-14 18:42:02 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/widget_note_list_entry"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:orientation="horizontal"
|
2017-11-27 19:03:21 +03:00
|
|
|
android:padding="@dimen/widget_note_list_padding">
|
2017-09-14 18:42:02 +03:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/widget_entry_fav_icon"
|
2017-11-27 19:03:21 +03:00
|
|
|
android:layout_width="@dimen/widget_note_list_fav_icon_width"
|
|
|
|
android:layout_height="@dimen/widget_note_list_fav_icon_height"
|
2017-09-14 18:42:02 +03:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:foregroundGravity="center_vertical"
|
2017-11-27 19:03:21 +03:00
|
|
|
android:paddingStart="@dimen/widget_note_list_inner_padding"
|
|
|
|
android:paddingLeft="@dimen/widget_note_list_inner_padding"
|
2018-04-09 19:53:43 +03:00
|
|
|
android:paddingEnd="@dimen/widget_note_list_outer_padding"
|
2017-11-27 19:03:21 +03:00
|
|
|
android:paddingRight="@dimen/widget_note_list_outer_padding"
|
2017-09-14 18:42:02 +03:00
|
|
|
android:src="@drawable/ic_star_grey600_24dp"
|
2017-11-27 19:03:21 +03:00
|
|
|
android:contentDescription="@string/widget_entry_fav_contentDescription" />
|
2017-09-14 18:42:02 +03:00
|
|
|
|
2018-04-09 19:53:43 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/widget_entry_content_tv"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingStart="@dimen/widget_note_list_inner_padding"
|
|
|
|
android:paddingLeft="@dimen/widget_note_list_inner_padding"
|
|
|
|
android:paddingEnd="@dimen/widget_note_list_outer_padding"
|
|
|
|
android:paddingRight="@dimen/widget_note_list_outer_padding"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:layout_weight="1"
|
2018-07-13 15:23:55 +03:00
|
|
|
android:textColor="@color/black"
|
2018-04-09 19:53:43 +03:00
|
|
|
android:lines="1"
|
|
|
|
android:ellipsize="end" />
|
|
|
|
|
2017-09-14 18:42:02 +03:00
|
|
|
</LinearLayout>
|