forked from upstream-mirrors/OpenTracks
ac5a9ea65d
ListView's multiselect still uses actionbar.
96 lines
3.4 KiB
XML
96 lines
3.4 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="horizontal">
|
|
|
|
<include layout="@layout/toolbar" />
|
|
|
|
<include layout="@layout/track_controller" />
|
|
|
|
<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_alignParentLeft="true"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="12dp"
|
|
android:paddingRight="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_toRightOf="@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"
|
|
android:textColor="@color/list_empty_text" />
|
|
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight=".3" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
</LinearLayout> |