2015-03-05 13:46:13 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-04-04 11:52:49 +02:00
|
|
|
<FrameLayout android:id="@+id/dashboard"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="gone">
|
2015-03-05 13:46:13 +01:00
|
|
|
|
2015-03-06 19:37:54 +01:00
|
|
|
<include
|
|
|
|
android:id="@+id/init_progress"
|
|
|
|
layout="@layout/application_loading"
|
2016-04-04 11:52:49 +02:00
|
|
|
android:visibility="gone"/>
|
2015-03-05 13:46:13 +01:00
|
|
|
|
2015-03-08 20:59:18 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/animateContent"
|
2015-03-09 00:18:20 +01:00
|
|
|
android:layout_width="match_parent"
|
2015-03-06 19:37:54 +01:00
|
|
|
android:layout_height="match_parent"
|
2016-04-04 11:52:49 +02:00
|
|
|
android:orientation="horizontal">
|
2015-03-05 13:46:13 +01:00
|
|
|
|
2015-03-25 15:54:24 +01:00
|
|
|
<LinearLayout
|
2015-04-17 00:37:39 +02:00
|
|
|
android:layout_width="@dimen/dashboard_land_width"
|
2015-03-08 20:59:18 +01:00
|
|
|
android:layout_height="match_parent"
|
2016-04-04 11:52:49 +02:00
|
|
|
android:background="#70000000"
|
|
|
|
android:orientation="vertical">
|
2015-03-08 12:30:12 +01:00
|
|
|
|
2016-04-04 11:52:49 +02:00
|
|
|
<include layout="@layout/dashboard_toolbar"/>
|
2015-03-25 15:54:24 +01:00
|
|
|
|
2015-03-26 01:53:49 +01:00
|
|
|
<com.github.ksoichiro.android.observablescrollview.ObservableScrollView
|
2015-03-25 15:54:24 +01:00
|
|
|
android:id="@+id/main_scroll"
|
2015-03-08 12:30:12 +01:00
|
|
|
android:layout_width="match_parent"
|
2015-03-25 15:54:24 +01:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="start"
|
2016-04-04 11:52:49 +02:00
|
|
|
android:fadeScrollbars="true">
|
2015-03-08 12:30:12 +01:00
|
|
|
|
2015-03-08 20:59:18 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-04-04 11:52:49 +02:00
|
|
|
android:orientation="vertical">
|
2015-03-08 20:59:18 +01:00
|
|
|
|
2015-03-25 15:54:24 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-04-04 11:52:49 +02:00
|
|
|
android:orientation="vertical"/>
|
2015-03-25 15:54:24 +01:00
|
|
|
</LinearLayout>
|
2015-03-26 01:53:49 +01:00
|
|
|
</com.github.ksoichiro.android.observablescrollview.ObservableScrollView>
|
2015-03-17 02:00:16 +01:00
|
|
|
|
2015-03-25 15:54:24 +01:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/dash_list_view_layout"
|
2015-03-17 02:00:16 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2015-03-25 15:54:24 +01:00
|
|
|
android:layout_gravity="start"
|
2016-04-04 11:52:49 +02:00
|
|
|
android:visibility="gone">
|
2015-03-25 15:54:24 +01:00
|
|
|
|
2016-01-08 18:55:33 +01:00
|
|
|
<net.osmand.plus.views.controls.DynamicListView
|
2015-03-25 15:54:24 +01:00
|
|
|
android:id="@+id/dash_list_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2015-05-03 23:19:42 +02:00
|
|
|
android:background="?attr/bg_color"
|
2016-04-04 11:52:49 +02:00
|
|
|
android:divider="@null"
|
|
|
|
android:fadeScrollbars="true"/>
|
2016-03-17 10:15:23 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/emptyTextView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/bg_color"
|
2016-04-04 11:52:49 +02:00
|
|
|
android:clickable="true"
|
|
|
|
android:gravity="center"
|
2016-03-17 10:15:23 +01:00
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="16dp"
|
|
|
|
android:textSize="@dimen/default_list_text_size_large"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2015-03-25 15:54:24 +01:00
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|
2015-03-17 02:00:16 +01:00
|
|
|
|
2015-03-24 00:27:09 +01:00
|
|
|
<FrameLayout
|
2015-03-25 15:54:24 +01:00
|
|
|
android:id="@+id/map_part_dashboard"
|
2016-04-08 03:26:55 +02:00
|
|
|
android:contentDescription="@string/back_to_map"
|
2015-03-24 00:27:09 +01:00
|
|
|
android:layout_width="fill_parent"
|
2016-04-04 11:52:49 +02:00
|
|
|
android:layout_height="fill_parent">
|
2015-03-24 00:27:09 +01:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/map_download_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:text="@string/shared_string_download"
|
2016-04-04 11:52:49 +02:00
|
|
|
android:visibility="gone"/>
|
2015-03-24 00:27:09 +01:00
|
|
|
</FrameLayout>
|
2015-03-08 20:59:18 +01:00
|
|
|
</LinearLayout>
|
2015-03-05 13:46:13 +01:00
|
|
|
|
|
|
|
</FrameLayout>
|