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"
|
2019-10-04 20:25:36 +03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-09-14 18:42:02 +03:00
|
|
|
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"
|
2019-10-04 20:25:36 +03:00
|
|
|
app:srcCompat="@drawable/ic_star_yellow_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:layout_weight="1"
|
2018-08-30 14:59:11 +03:00
|
|
|
android:textColor="@color/widget_fg_default"
|
2018-04-23 19:19:40 +03:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:lines="1" />
|
2018-04-09 19:53:43 +03:00
|
|
|
|
2017-09-14 18:42:02 +03:00
|
|
|
</LinearLayout>
|