2015-09-24 18:18:10 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<LinearLayout
|
2015-10-07 16:02:39 +02:00
|
|
|
android:id="@+id/freeVersionBanner"
|
2015-09-24 18:18:10 +02:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-10-06 17:13:34 +02:00
|
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
2015-10-07 16:02:39 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-09-24 18:18:10 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="8dp"
|
|
|
|
tools:showIn="@layout/local_index_fragment_header">
|
|
|
|
|
|
|
|
<LinearLayout
|
2015-10-07 16:02:39 +02:00
|
|
|
android:id="@+id/freeVersionBannerTitle"
|
2015-09-24 18:18:10 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="4dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/free_version_title"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/downloadsLeftTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:text="@string/downloads_left_template"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/freeVersionDescriptionTextView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="4dp"
|
|
|
|
tools:text="@string/free_version_message"/>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="8dp"
|
|
|
|
android:layout_margin="4dp">
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/downloadsLeftProgressBar"
|
|
|
|
style="@android:style/Widget.ProgressBar.Horizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:max="10"
|
2015-10-07 16:02:39 +02:00
|
|
|
android:progressDrawable="@drawable/number_of_downloads_progress_bar_drawable"
|
|
|
|
android:saveEnabled="false"
|
|
|
|
tools:progress="5"/>
|
2015-09-24 18:18:10 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/color_black"/>
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/color_black"/>
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/color_black"/>
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/color_black"/>
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/color_black"/>
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/color_black"/>
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/color_black"/>
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/color_black"/>
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/color_black"/>
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/buttonsLinearLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2015-10-06 17:13:34 +02:00
|
|
|
<net.osmand.plus.widgets.ButtonEx
|
2015-10-02 13:41:36 +02:00
|
|
|
android:id="@+id/getFullVersionButton"
|
2015-09-24 18:18:10 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2015-10-07 16:02:39 +02:00
|
|
|
android:text="@string/get_full_version"
|
|
|
|
osmand:textAllCapsCompat="true"/>
|
2015-09-24 18:18:10 +02:00
|
|
|
|
2015-10-06 17:13:34 +02:00
|
|
|
<net.osmand.plus.widgets.ButtonEx
|
2015-10-02 13:41:36 +02:00
|
|
|
android:id="@+id/laterButton"
|
2015-09-24 18:18:10 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2015-10-07 16:02:39 +02:00
|
|
|
android:text="@string/later"
|
|
|
|
osmand:textAllCapsCompat="true"/>
|
2015-09-24 18:18:10 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|