forked from upstream-mirrors/OpenTracks
Removed Widget.
This commit is contained in:
@@ -1,123 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Copyright 2012 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/TrackWidgetBoundingBox">
|
||||
<!-- android:orientation="horizontal", override from the style -->
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetFrame"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="4dp">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSpacer"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/track_widget_record_button"
|
||||
style="@style/TrackWidgetButton"
|
||||
android:contentDescription="@string/image_record"
|
||||
android:src="@drawable/button_record" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/track_widget_stats_container"
|
||||
style="@style/TrackWidgetStatsContainer"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="18"
|
||||
android:padding="0dp">
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetStatsSection">
|
||||
<!-- item1 -->
|
||||
<LinearLayout style="@style/TrackWidgetItemContainer">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item1_label"
|
||||
style="@style/TrackWidgetLabel" />
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetValueContainer">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item1_value"
|
||||
style="@style/TrackWidgetValue" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item1_unit"
|
||||
style="@style/TrackWidgetUnit" />
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/track_widget_item1_chronometer"
|
||||
style="@style/TrackWidgetValue" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<!-- horizontal separator -->
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSeparator"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSpacer"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalLine"
|
||||
android:layout_weight="38" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSpacer"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetStatsSection">
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetItemContainer">
|
||||
<!-- item2 -->
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item2_label"
|
||||
style="@style/TrackWidgetLabel" />
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetValueContainer">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item2_value"
|
||||
style="@style/TrackWidgetValue" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item2_unit"
|
||||
style="@style/TrackWidgetUnit" />
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/track_widget_item2_chronometer"
|
||||
style="@style/TrackWidgetValue" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/track_widget_stop_button"
|
||||
style="@style/TrackWidgetButton"
|
||||
android:contentDescription="@string/image_stop"
|
||||
android:src="@drawable/ic_button_stop_disabled" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSpacer"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView style="@style/TrackWidgetLogo" />
|
||||
</RelativeLayout>
|
||||
@@ -1,196 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Copyright 2012 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/TrackWidgetBoundingBox">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetFrame"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/track_widget_stats_container"
|
||||
style="@style/TrackWidgetStatsContainer"
|
||||
android:layout_weight="1"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetStatsSection">
|
||||
<!-- item1 -->
|
||||
<LinearLayout style="@style/TrackWidgetItemContainer4x2">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item1_label"
|
||||
style="@style/TrackWidgetLabel" />
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetValueContainer">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item1_value"
|
||||
style="@style/TrackWidgetValue" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item1_unit"
|
||||
style="@style/TrackWidgetUnit" />
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/track_widget_item1_chronometer"
|
||||
style="@style/TrackWidgetValue" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<!-- vertical separator -->
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSeparator"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSpacer"
|
||||
android:layout_weight="2" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalLine"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
<!-- item3 -->
|
||||
<LinearLayout style="@style/TrackWidgetItemContainer4x2">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item3_label"
|
||||
style="@style/TrackWidgetLabel" />
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetValueContainer">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item3_value"
|
||||
style="@style/TrackWidgetValue" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item3_unit"
|
||||
style="@style/TrackWidgetUnit" />
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/track_widget_item3_chronometer"
|
||||
style="@style/TrackWidgetValue" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<!-- horizontal separator -->
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSeparator"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSpacer"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalLine"
|
||||
android:layout_weight="38" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSpacer"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetStatsSection">
|
||||
<!-- item2 -->
|
||||
<LinearLayout style="@style/TrackWidgetItemContainer4x2">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item2_label"
|
||||
style="@style/TrackWidgetLabel" />
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetValueContainer">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item2_value"
|
||||
style="@style/TrackWidgetValue" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item2_unit"
|
||||
style="@style/TrackWidgetUnit" />
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/track_widget_item2_chronometer"
|
||||
style="@style/TrackWidgetValue" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<!-- vertical separator -->
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSeparator"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalLine"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSpacer"
|
||||
android:layout_weight="2" />
|
||||
</LinearLayout>
|
||||
<!-- item4 -->
|
||||
<LinearLayout style="@style/TrackWidgetItemContainer4x2">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item4_label"
|
||||
style="@style/TrackWidgetLabel" />
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetValueContainer">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item4_value"
|
||||
style="@style/TrackWidgetValue" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item4_unit"
|
||||
style="@style/TrackWidgetUnit" />
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/track_widget_item4_chronometer"
|
||||
style="@style/TrackWidgetValue" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetButtonContainer">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSpacer"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/track_widget_record_button"
|
||||
style="@style/TrackWidgetButton"
|
||||
android:contentDescription="@string/image_record"
|
||||
android:src="@drawable/button_record" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_record_status"
|
||||
style="@style/TrackWidgetRecordStatus" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/track_widget_stop_button"
|
||||
style="@style/TrackWidgetButton"
|
||||
android:contentDescription="@string/image_stop"
|
||||
android:src="@drawable/ic_button_stop_disabled" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSpacer"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView style="@style/TrackWidgetLogo" />
|
||||
</RelativeLayout>
|
||||
@@ -1,196 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Copyright 2012 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/TrackWidgetBoundingBox">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetFrame"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/track_widget_stats_container"
|
||||
style="@style/TrackWidgetStatsContainer"
|
||||
android:layout_weight="2"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetStatsSection">
|
||||
<!-- item1 -->
|
||||
<LinearLayout style="@style/TrackWidgetItemContainer4x3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item1_label"
|
||||
style="@style/TrackWidgetLabel" />
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetValueContainer4x3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item1_value"
|
||||
style="@style/TrackWidgetValue4x3" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item1_unit"
|
||||
style="@style/TrackWidgetUnit4x3" />
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/track_widget_item1_chronometer"
|
||||
style="@style/TrackWidgetValue4x3" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<!-- vertical separator -->
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSeparator"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSpacer"
|
||||
android:layout_weight="2" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalLine"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
<!-- item3 -->
|
||||
<LinearLayout style="@style/TrackWidgetItemContainer4x3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item3_label"
|
||||
style="@style/TrackWidgetLabel" />
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetValueContainer4x3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item3_value"
|
||||
style="@style/TrackWidgetValue4x3" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item3_unit"
|
||||
style="@style/TrackWidgetUnit4x3" />
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/track_widget_item3_chronometer"
|
||||
style="@style/TrackWidgetValue4x3" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<!-- horizontal separator -->
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSeparator"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSpacer"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalLine"
|
||||
android:layout_weight="38" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSpacer"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetStatsSection">
|
||||
<!-- item2 -->
|
||||
<LinearLayout style="@style/TrackWidgetItemContainer4x3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item2_label"
|
||||
style="@style/TrackWidgetLabel" />
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetValueContainer4x3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item2_value"
|
||||
style="@style/TrackWidgetValue4x3" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item2_unit"
|
||||
style="@style/TrackWidgetUnit4x3" />
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/track_widget_item2_chronometer"
|
||||
style="@style/TrackWidgetValue4x3" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<!-- vertical separator -->
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSeparator"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalLine"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSpacer"
|
||||
android:layout_weight="2" />
|
||||
</LinearLayout>
|
||||
<!-- item4 -->
|
||||
<LinearLayout style="@style/TrackWidgetItemContainer4x3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item4_label"
|
||||
style="@style/TrackWidgetLabel" />
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetValueContainer4x3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item4_value"
|
||||
style="@style/TrackWidgetValue4x3" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item4_unit"
|
||||
style="@style/TrackWidgetUnit4x3" />
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/track_widget_item4_chronometer"
|
||||
style="@style/TrackWidgetValue4x3" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetButtonContainer">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSpacer"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/track_widget_record_button"
|
||||
style="@style/TrackWidgetButton"
|
||||
android:contentDescription="@string/image_record"
|
||||
android:src="@drawable/button_record" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_record_status"
|
||||
style="@style/TrackWidgetRecordStatus" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/track_widget_stop_button"
|
||||
style="@style/TrackWidgetButton"
|
||||
android:contentDescription="@string/image_stop"
|
||||
android:src="@drawable/ic_button_stop_disabled" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSpacer"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView style="@style/TrackWidgetLogo" />
|
||||
</RelativeLayout>
|
||||
@@ -1,203 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Copyright 2012 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/TrackWidgetBoundingBox">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetFrame"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/track_widget_stats_container"
|
||||
style="@style/TrackWidgetStatsContainer"
|
||||
android:layout_weight="3"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetStatsSection">
|
||||
<!-- item1 -->
|
||||
<LinearLayout style="@style/TrackWidgetItemContainer4x4">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item1_label"
|
||||
style="@style/TrackWidgetLabel4x4" />
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetValueContainer4x3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item1_value"
|
||||
style="@style/TrackWidgetValue4x4" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item1_unit"
|
||||
style="@style/TrackWidgetUnit4x4" />
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/track_widget_item1_chronometer"
|
||||
style="@style/TrackWidgetValue4x4" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<!-- horizontal separator -->
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSeparator"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSpacer"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalLine"
|
||||
android:layout_weight="4" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSpacer"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetStatsSection">
|
||||
<!-- item3 -->
|
||||
<LinearLayout style="@style/TrackWidgetItemContainer4x4">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item3_label"
|
||||
style="@style/TrackWidgetLabel4x4" />
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetValueContainer4x3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item3_value"
|
||||
style="@style/TrackWidgetValue4x4" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item3_unit"
|
||||
style="@style/TrackWidgetUnit4x4" />
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/track_widget_item3_chronometer"
|
||||
style="@style/TrackWidgetValue4x4" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSeparator"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSpacer"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalLine"
|
||||
android:layout_weight="38" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetHorizontalSpacer"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetStatsSection">
|
||||
<!-- item2 -->
|
||||
<LinearLayout style="@style/TrackWidgetItemContainer4x3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item2_label"
|
||||
style="@style/TrackWidgetLabel4x4" />
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetValueContainer4x3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item2_value"
|
||||
style="@style/TrackWidgetValue4x3" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item2_unit"
|
||||
style="@style/TrackWidgetUnit4x3" />
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/track_widget_item2_chronometer"
|
||||
style="@style/TrackWidgetValue4x3" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<!-- vertical separator -->
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSeparator"
|
||||
android:baselineAligned="false">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalLine"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSpacer"
|
||||
android:layout_weight="2" />
|
||||
</LinearLayout>
|
||||
<!-- item4 -->
|
||||
<LinearLayout style="@style/TrackWidgetItemContainer4x3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item4_label"
|
||||
style="@style/TrackWidgetLabel4x4" />
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetValueContainer4x3">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item4_value"
|
||||
style="@style/TrackWidgetValue4x3" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_item4_unit"
|
||||
style="@style/TrackWidgetUnit4x3" />
|
||||
|
||||
<Chronometer
|
||||
android:id="@+id/track_widget_item4_chronometer"
|
||||
style="@style/TrackWidgetValue4x3" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout style="@style/TrackWidgetButtonContainer">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSpacer"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/track_widget_record_button"
|
||||
style="@style/TrackWidgetButton"
|
||||
android:contentDescription="@string/image_record"
|
||||
android:src="@drawable/button_record" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/track_widget_record_status"
|
||||
style="@style/TrackWidgetRecordStatus" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/track_widget_stop_button"
|
||||
style="@style/TrackWidgetButton"
|
||||
android:contentDescription="@string/image_stop"
|
||||
android:src="@drawable/ic_button_stop_disabled" />
|
||||
|
||||
<LinearLayout
|
||||
style="@style/TrackWidgetVerticalSpacer"
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView style="@style/TrackWidgetLogo4x4" />
|
||||
</RelativeLayout>
|
||||
@@ -1,53 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Copyright 2012 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ScrollView style="@style/ScrollView.WithBottomButtons">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="8dp">
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/track_widget_config_item1"
|
||||
style="@style/TrackWidgetConfigSpinner" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/track_widget_config_item2"
|
||||
style="@style/TrackWidgetConfigSpinner" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/track_widget_config_item3"
|
||||
style="@style/TrackWidgetConfigSpinner" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/track_widget_config_item4"
|
||||
style="@style/TrackWidgetConfigSpinner" />
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
<View style="@style/BottomButtonDivider" />
|
||||
|
||||
<LinearLayout style="@style/BottomButtonBar">
|
||||
|
||||
<include layout="@layout/track_widget_config_buttons" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -1,29 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Copyright 2012 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- In v14, postive button on the right. -->
|
||||
<Button
|
||||
android:id="@+id/track_widget_config_cancel"
|
||||
style="@style/BottomButton"
|
||||
android:layout_gravity="left"
|
||||
android:text="@string/generic_cancel" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/track_widget_config_add"
|
||||
style="@style/BottomButton"
|
||||
android:layout_gravity="right"
|
||||
android:text="@string/generic_add" />
|
||||
</merge>
|
||||
Reference in New Issue
Block a user