TrackController: center time.

This commit is contained in:
Dennis Guse
2020-07-31 22:47:22 +02:00
parent 63e9041922
commit 1189a07794
2 changed files with 5 additions and 21 deletions
@@ -24,11 +24,6 @@ limitations under the License.
android:paddingLeft="8dp"
android:paddingRight="8dp">
<View
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<ImageButton
android:id="@+id/track_controller_record"
android:layout_width="wrap_content"
@@ -69,9 +64,5 @@ limitations under the License.
android:contentDescription="@string/image_stop"
android:src="@drawable/ic_button_stop_disabled" />
<View
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
</LinearLayout>
</merge>
+5 -12
View File
@@ -23,11 +23,6 @@ limitations under the License.
android:paddingTop="8dp"
android:paddingBottom="8dp">
<View
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1" />
<ImageButton
android:id="@+id/track_controller_record"
android:layout_width="0dp"
@@ -39,14 +34,16 @@ limitations under the License.
<RelativeLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="6">
android:layout_weight="6"
android:gravity="center"
android:layout_gravity="center">
<TextView
android:id="@+id/track_controller_total_time"
style="@style/TextSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:textColor="@android:color/white" />
@@ -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" />
</RelativeLayout>
@@ -69,9 +66,5 @@ limitations under the License.
android:contentDescription="@string/image_stop"
android:src="@drawable/ic_button_stop_disabled" />
<View
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1" />
</LinearLayout>
</merge>