forked from upstream-mirrors/OpenTracks
Marker list: split category and description into two fields.
This commit is contained in:
@@ -44,13 +44,25 @@
|
||||
|
||||
<!-- Total time and distance -->
|
||||
<TextView
|
||||
android:id="@+id/marker_list_item_time_distance"
|
||||
android:id="@+id/marker_list_item_category"
|
||||
style='?attr/textAppearanceBodySmall'
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintStart_toStartOf="@+id/marker_list_item_name"
|
||||
app:layout_constraintTop_toBottomOf="@+id/marker_list_item_name"
|
||||
tools:text="50:43 (50.00km)" />
|
||||
tools:text="Mountain" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/marker_list_item_description"
|
||||
style="?attr/textAppearanceBodySmall"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="end"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="2"
|
||||
app:layout_constraintStart_toStartOf="@+id/marker_list_item_name"
|
||||
app:layout_constraintTop_toBottomOf="@+id/marker_list_item_category"
|
||||
tools:text="Some wonderful mountain" />
|
||||
|
||||
<!-- Time -->
|
||||
<TextView
|
||||
@@ -68,7 +80,9 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:barrierDirection="bottom"
|
||||
app:constraint_referenced_ids="marker_list_item_photo,marker_list_item_name,marker_list_item_date,marker_list_item_time_distance,marker_list_item_time" />
|
||||
app:layout_constraintTop_toBottomOf="@+id/marker_list_item_description"
|
||||
|
||||
app:constraint_referenced_ids="marker_list_item_photo,marker_list_item_name,marker_list_item_date,marker_list_item_category" />
|
||||
|
||||
<!-- Bottom Line -->
|
||||
<View
|
||||
|
||||
Reference in New Issue
Block a user