forked from upstream-mirrors/OpenTracks
TrackController: center time.
This commit is contained in:
@@ -24,11 +24,6 @@ limitations under the License.
|
|||||||
android:paddingLeft="8dp"
|
android:paddingLeft="8dp"
|
||||||
android:paddingRight="8dp">
|
android:paddingRight="8dp">
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/track_controller_record"
|
android:id="@+id/track_controller_record"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -69,9 +64,5 @@ limitations under the License.
|
|||||||
android:contentDescription="@string/image_stop"
|
android:contentDescription="@string/image_stop"
|
||||||
android:src="@drawable/ic_button_stop_disabled" />
|
android:src="@drawable/ic_button_stop_disabled" />
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</merge>
|
</merge>
|
||||||
@@ -23,11 +23,6 @@ limitations under the License.
|
|||||||
android:paddingTop="8dp"
|
android:paddingTop="8dp"
|
||||||
android:paddingBottom="8dp">
|
android:paddingBottom="8dp">
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/track_controller_record"
|
android:id="@+id/track_controller_record"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@@ -39,14 +34,16 @@ limitations under the License.
|
|||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="6">
|
android:layout_weight="6"
|
||||||
|
android:gravity="center"
|
||||||
|
android:layout_gravity="center">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/track_controller_total_time"
|
android:id="@+id/track_controller_total_time"
|
||||||
style="@style/TextSmall"
|
style="@style/TextSmall"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentStart="true"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:textColor="@android:color/white" />
|
android:textColor="@android:color/white" />
|
||||||
|
|
||||||
@@ -56,7 +53,7 @@ limitations under the License.
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_above="@id/track_controller_total_time"
|
android:layout_above="@id/track_controller_total_time"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentStart="true"
|
||||||
android:singleLine="true" />
|
android:singleLine="true" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
@@ -69,9 +66,5 @@ limitations under the License.
|
|||||||
android:contentDescription="@string/image_stop"
|
android:contentDescription="@string/image_stop"
|
||||||
android:src="@drawable/ic_button_stop_disabled" />
|
android:src="@drawable/ic_button_stop_disabled" />
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</merge>
|
</merge>
|
||||||
Reference in New Issue
Block a user