forked from upstream-mirrors/OpenTracks
A few fixes.
- use fill_parent since we are still supporting api level 7. - on the TrackListActivity, hide the empty view content until the check unit dialog has been showned. - fix the ChartView height. ChartView is no longer displayed on the full canvas. The new design has a tab bar and a zoom control. - In TrackDetailActivity, only call methods of a tab fragment if it is the current tab.
This commit is contained in:
@@ -28,7 +28,9 @@ limitations under the License.
|
||||
android:layout_width="fill_parent"
|
||||
android:orientation="vertical" >
|
||||
<TextView
|
||||
android:id="@+id/track_list_empty_message"
|
||||
android:text="@string/track_list_empty_message"
|
||||
android:visibility="gone"
|
||||
style="@style/ListEmptyTextView" >
|
||||
</TextView>
|
||||
<ImageButton
|
||||
@@ -38,6 +40,7 @@ limitations under the License.
|
||||
android:layout_width="wrap_content"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/menu_record_track"
|
||||
android:visibility="gone"
|
||||
style="@android:style/Widget.DeviceDefault.ImageButton" />
|
||||
</LinearLayout>
|
||||
</merge>
|
||||
Reference in New Issue
Block a user