From 1189a077945b868b0c837b433264f6589d5f03e6 Mon Sep 17 00:00:00 2001 From: Dennis Guse Date: Fri, 31 Jul 2020 22:47:22 +0200 Subject: [PATCH] TrackController: center time. --- src/main/res/layout-land/track_controller.xml | 9 --------- src/main/res/layout/track_controller.xml | 17 +++++------------ 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/src/main/res/layout-land/track_controller.xml b/src/main/res/layout-land/track_controller.xml index 0f81bdff8..e4ba7f618 100644 --- a/src/main/res/layout-land/track_controller.xml +++ b/src/main/res/layout-land/track_controller.xml @@ -24,11 +24,6 @@ limitations under the License. android:paddingLeft="8dp" android:paddingRight="8dp"> - - - \ No newline at end of file diff --git a/src/main/res/layout/track_controller.xml b/src/main/res/layout/track_controller.xml index 10b6e34cf..617545ecf 100644 --- a/src/main/res/layout/track_controller.xml +++ b/src/main/res/layout/track_controller.xml @@ -23,11 +23,6 @@ limitations under the License. android:paddingTop="8dp" android:paddingBottom="8dp"> - - + android:layout_weight="6" + android:gravity="center" + android:layout_gravity="center"> @@ -56,7 +53,7 @@ limitations under the License. android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@id/track_controller_total_time" - android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" android:singleLine="true" /> @@ -69,9 +66,5 @@ limitations under the License. android:contentDescription="@string/image_stop" android:src="@drawable/ic_button_stop_disabled" /> - \ No newline at end of file