mirror of https://github.com/readrops/Readrops.git
Improving readtime display in list item layout
This commit is contained in:
parent
a1d4112322
commit
4d05174ce2
|
@ -69,7 +69,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_toStartOf="@id/item_readtime">
|
||||
android:layout_toLeftOf="@id/item_readtime_layout">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/item_feed_icon"
|
||||
|
@ -93,15 +93,31 @@
|
|||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_readtime"
|
||||
<RelativeLayout
|
||||
android:id="@+id/item_readtime_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="6dp"
|
||||
android:layout_toLeftOf="@id/item_interpoint"
|
||||
android:layout_marginLeft="6dp"
|
||||
android:layout_toStartOf="@id/item_interpoint"
|
||||
tools:text="3 mins read" />
|
||||
android:layout_marginStart="6dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/item_readtime_icon"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:src="@drawable/ic_read_time"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_readtime"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/item_readtime_icon"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginLeft="4dp"
|
||||
tools:text="3 mins" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_interpoint"
|
||||
|
@ -120,7 +136,8 @@
|
|||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginLeft="4dp"
|
||||
tools:text="January 10 2019" />
|
||||
tools:text="8 february 2019" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
<string name="add_feed_connexion_error">Erreur de connexion au site</string>
|
||||
<string name="add_feed_unknownhost_error">Site inconnu</string>
|
||||
<string name="by_author">par %1$s</string>
|
||||
<string name="read_time">%1$s minutes</string>
|
||||
<string name="read_time">%1$s min</string>
|
||||
<string name="read_time_lower_than_1">Moins d\'une minute</string>
|
||||
<string name="read_time_one_minute">1 minute</string>
|
||||
<string name="read_time_one_minute">1 min</string>
|
||||
|
||||
</resources>
|
|
@ -18,8 +18,8 @@
|
|||
<string name="add_feed_connexion_error">Connection error</string>
|
||||
<string name="add_feed_unknownhost_error">Unknown host</string>
|
||||
<string name="by_author">by %1$s</string>
|
||||
<string name="read_time">%1$s mins read</string>
|
||||
<string name="read_time">%1$s mins</string>
|
||||
<string name="read_time_lower_than_1">Less than a minute</string>
|
||||
<string name="read_time_one_minute">1 min read</string>
|
||||
<string name="read_time_one_minute">1 min</string>
|
||||
<string name="interpoint" translatable="false">·</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue