[anroid] Added missing background for suggest fragment in landscape.

This commit is contained in:
Dmitry Yunitsky 2016-02-05 14:58:41 +03:00
parent 1644225731
commit 8eebdf6327

View file

@ -1,101 +1,102 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?windowBackgroundForced">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/ll__select_download"
android:id="@+id/ll__select_download"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical"
android:paddingLeft="@dimen/margin_base"
android:paddingRight="@dimen/margin_base"
android:paddingTop="@dimen/margin_half_plus"
tools:ignore="UnusedAttribute">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/search_without_internet_advertisement"
android:textAppearance="@style/MwmTextAppearance.Body2"/>
<LinearLayout
android:id="@+id/ll__location_determined"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical"
android:paddingLeft="@dimen/margin_base"
android:paddingRight="@dimen/margin_base"
android:paddingTop="@dimen/margin_half_plus"
tools:ignore="UnusedAttribute">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/search_without_internet_advertisement"
android:textAppearance="@style/MwmTextAppearance.Body2"/>
<LinearLayout
android:id="@+id/ll__location_determined"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical">
android:orientation="vertical">
<TextView
android:id="@+id/tv__country_name"
android:layout_width="match_parent"
android:layout_height="@dimen/base_block_size"
android:layout_marginTop="@dimen/margin_half"
android:gravity="center"
android:textAppearance="@style/MwmTextAppearance.Title"/>
android:id="@+id/tv__country_name"
android:layout_width="match_parent"
android:layout_height="@dimen/base_block_size"
android:layout_marginTop="@dimen/margin_half"
android:gravity="center"
android:textAppearance="@style/MwmTextAppearance.Title"/>
<Button
android:id="@+id/btn__download_map"
style="@style/MwmWidget.Button.Green"
android:layout_width="280dp"
android:layout_height="@dimen/base_block_size"
android:layout_marginTop="@dimen/margin_quarter"
android:text="@string/downloader_download_map"
android:textAllCaps="true"
android:textAppearance="@style/MwmTextAppearance.Body1.Light"/>
android:id="@+id/btn__download_map"
style="@style/MwmWidget.Button.Green"
android:layout_width="280dp"
android:layout_height="@dimen/base_block_size"
android:layout_marginTop="@dimen/margin_quarter"
android:text="@string/downloader_download_map"
android:textAllCaps="true"
android:textAppearance="@style/MwmTextAppearance.Body1.Light"/>
<CheckBox
android:id="@+id/chb__routing_too"
android:layout_width="wrap_content"
android:layout_height="@dimen/base_block_size"
android:layout_marginTop="@dimen/margin_quarter"
android:text="@string/search_vehicle_routes"
android:textAppearance="@style/MwmTextAppearance.Body2"/>
android:id="@+id/chb__routing_too"
android:layout_width="wrap_content"
android:layout_height="@dimen/base_block_size"
android:layout_marginTop="@dimen/margin_quarter"
android:text="@string/search_vehicle_routes"
android:textAppearance="@style/MwmTextAppearance.Body2"/>
<Button
android:id="@+id/btn__select_other_map"
android:layout_width="280dp"
android:layout_height="@dimen/base_block_size"
android:layout_marginTop="@dimen/margin_base_plus"
android:background="?clickableBackground"
android:text="@string/search_select_other_map"
android:textAllCaps="true"
android:textAppearance="@style/MwmTextAppearance.Body3"
android:textColor="?colorAccent"/>
android:id="@+id/btn__select_other_map"
android:layout_width="280dp"
android:layout_height="@dimen/base_block_size"
android:layout_marginTop="@dimen/margin_base_plus"
android:background="?clickableBackground"
android:text="@string/search_select_other_map"
android:textAllCaps="true"
android:textAppearance="@style/MwmTextAppearance.Body3"
android:textColor="?colorAccent"/>
</LinearLayout>
<LinearLayout
android:id="@+id/ll__location_unknown"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone">
android:id="@+id/ll__location_unknown"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone">
<TextView
android:layout_width="match_parent"
android:layout_height="@dimen/base_block_size"
android:layout_marginTop="@dimen/margin_half"
android:gravity="center"
android:text="@string/unknown_current_position"
android:textAppearance="@style/MwmTextAppearance.Body3"/>
android:layout_width="match_parent"
android:layout_height="@dimen/base_block_size"
android:layout_marginTop="@dimen/margin_half"
android:gravity="center"
android:text="@string/unknown_current_position"
android:textAppearance="@style/MwmTextAppearance.Body3"/>
<Button
android:id="@+id/btn__select_map"
style="@style/MwmWidget.Button.Green"
android:layout_width="280dp"
android:layout_height="@dimen/base_block_size"
android:layout_marginTop="@dimen/margin_half"
android:text="@string/search_select_map"
android:textAllCaps="true"
android:textAppearance="@style/MwmTextAppearance.Body1.Light"/>
android:id="@+id/btn__select_map"
style="@style/MwmWidget.Button.Green"
android:layout_width="280dp"
android:layout_height="@dimen/base_block_size"
android:layout_marginTop="@dimen/margin_half"
android:text="@string/search_select_map"
android:textAllCaps="true"
android:textAppearance="@style/MwmTextAppearance.Body1.Light"/>
</LinearLayout>
@ -104,31 +105,31 @@
</ScrollView>
<LinearLayout
android:id="@+id/ll__active_download"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center_horizontal"
android:orientation="vertical"
android:padding="@dimen/margin_double_and_half"
android:visibility="gone">
android:id="@+id/ll__active_download"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center_horizontal"
android:orientation="vertical"
android:padding="@dimen/margin_double_and_half"
android:visibility="gone">
<TextView
android:id="@+id/tv__active_country_name"
android:layout_width="wrap_content"
android:layout_height="@dimen/base_block_size"
android:textAppearance="@style/MwmTextAppearance.Title"/>
android:id="@+id/tv__active_country_name"
android:layout_width="wrap_content"
android:layout_height="@dimen/base_block_size"
android:textAppearance="@style/MwmTextAppearance.Title"/>
<com.mapswithme.maps.widget.WheelProgressView
android:id="@+id/wpv__download_progress"
xmlns:wheel="http://schemas.android.com/apk/res-auto"
android:layout_width="@dimen/progress_wheel_height"
android:layout_height="@dimen/progress_wheel_height"
android:layout_marginTop="@dimen/margin_half_plus"
android:background="?clickableBackground"
wheel:wheelProgressColor="@color/base_green"
wheel:wheelSecondaryColor="?dividerHorizontal"
wheel:wheelThickness="@dimen/margin_quarter"/>
xmlns:wheel="http://schemas.android.com/apk/res-auto"
android:id="@+id/wpv__download_progress"
android:layout_width="@dimen/progress_wheel_height"
android:layout_height="@dimen/progress_wheel_height"
android:layout_marginTop="@dimen/margin_half_plus"
android:background="?clickableBackground"
wheel:wheelProgressColor="@color/base_green"
wheel:wheelSecondaryColor="?dividerHorizontal"
wheel:wheelThickness="@dimen/margin_quarter"/>
</LinearLayout>
</FrameLayout>