forked from upstream-mirrors/OpenTracks
Change track controller background color, remove line at the bottom of track controller, use bracket for distance
This commit is contained in:
@@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
-->
|
-->
|
||||||
<merge xmlns:android="http://schemas.android.com/apk/res/android" >
|
<merge xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:background="@color/black"
|
android:background="@color/track_controller_background"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -67,8 +67,4 @@ limitations under the License.
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:layout_width="0dp" />
|
android:layout_width="0dp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<View
|
|
||||||
android:background="@color/gray"
|
|
||||||
android:layout_height="1dp"
|
|
||||||
android:layout_width="match_parent" />
|
|
||||||
</merge>
|
</merge>
|
||||||
@@ -47,4 +47,6 @@ limitations under the License.
|
|||||||
<color name="normal_path">#F75858FA</color>
|
<color name="normal_path">#F75858FA</color>
|
||||||
<!-- dynamic track fast path, red -->
|
<!-- dynamic track fast path, red -->
|
||||||
<color name="fast_path">#F7DF0101</color>
|
<color name="fast_path">#F7DF0101</color>
|
||||||
|
<!-- track controller background -->
|
||||||
|
<color name="track_controller_background">#FF272727</color>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -119,7 +119,7 @@ public class ListItemUtils {
|
|||||||
if (buffer.length() != 0) {
|
if (buffer.length() != 0) {
|
||||||
buffer.append(" ");
|
buffer.append(" ");
|
||||||
}
|
}
|
||||||
buffer.append(" / " + totalDistance);
|
buffer.append("(" + totalDistance + ")");
|
||||||
}
|
}
|
||||||
return buffer.toString();
|
return buffer.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user