forked from upstream-mirrors/OpenTracks
improvements to list item layout
This commit is contained in:
@@ -17,6 +17,6 @@
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<gradient
|
||||
android:angle="90"
|
||||
android:endColor="@android:color/black"
|
||||
android:startColor="@android:color/white" />
|
||||
android:endColor="@color/photo_gradient_start"
|
||||
android:startColor="@color/photo_gradient_end" />
|
||||
</shape>
|
||||
@@ -92,8 +92,9 @@ limitations under the License.
|
||||
android:id="@+id/list_item_marker_count_icon"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginLeft="2dp"
|
||||
android:layout_marginRight="2dp"
|
||||
android:layout_marginBottom="1dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/ic_menu_insert_marker" />
|
||||
|
||||
@@ -27,6 +27,8 @@ limitations under the License.
|
||||
<color name="chart_power_fill">#40401465</color> <!-- transparent purple -->
|
||||
<color name="chart_speed_border">#FF0066FF</color> <!-- blue -->
|
||||
<color name="chart_speed_fill">#40C8E0FF</color> <!-- transparent blue -->
|
||||
<color name="photo_gradient_end">#00000000</color> <!-- black 0% opacity -->
|
||||
<color name="photo_gradient_start">#FF000000</color> <!-- black 100% opacity -->
|
||||
<color name="recording_text">#FFBE161B</color> <!-- red -->
|
||||
<color name="stats_large_label">#FFFAAD2C</color> <!-- orange -->
|
||||
<color name="stats_separator">#99999999</color> <!-- light gray -->
|
||||
|
||||
@@ -95,7 +95,7 @@ public class ListItemUtils {
|
||||
ownerTimeDistanceTextView.setTextAppearance(activity, R.style.TextSmall);
|
||||
ownerTimeDistance = getOwnerTimeDistance(sharedOwner, totalTime, totalDistance);
|
||||
if (markerCount > 0) {
|
||||
ownerTimeDistance += " \u2027";
|
||||
ownerTimeDistance += " \u2027";
|
||||
}
|
||||
}
|
||||
setTextView(ownerTimeDistanceTextView, ownerTimeDistance);
|
||||
|
||||
Reference in New Issue
Block a user