forked from upstream-mirrors/OpenTracks
067f31ac21
Introduced in ed6daeb48b
106 lines
3.9 KiB
XML
106 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
Copyright 2013 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:baselineAligned="false"
|
|
android:orientation="vertical">
|
|
|
|
<include layout="@layout/toolbar" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:baselineAligned="false"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/controller_fragment"
|
|
android:name="de.dennisguse.opentracks.ControllerFragment"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent" />
|
|
|
|
<ListView
|
|
android:id="@+id/track_list"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1.0" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/track_list_empty_view"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1.0">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/track_list_arrow_long"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentStart="true"
|
|
android:orientation="vertical"
|
|
android:paddingStart="12dp"
|
|
android:paddingEnd="16dp">
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="10"
|
|
android:contentDescription="@string/image_arrow"
|
|
android:src="@drawable/ic_arrow_long" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="17" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_toEndOf="@id/track_list_arrow_long"
|
|
android:orientation="vertical">
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="4" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="24">
|
|
|
|
<TextView
|
|
style="@style/TextLarge"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight=".7"
|
|
android:text="@string/track_list_empty_message" />
|
|
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight=".3" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</LinearLayout> |