forked from organicmaps/organicmaps
UI fixes.
This commit is contained in:
parent
5b8980bce2
commit
3478100a74
10 changed files with 58 additions and 27 deletions
|
@ -28,9 +28,16 @@
|
|||
android:textSize="18sp"/>
|
||||
</android.support.v7.widget.Toolbar>
|
||||
|
||||
<ListView
|
||||
android:id="@android:id/list"
|
||||
<FrameLayout
|
||||
style="@style/MwmLightShadow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/ic_bg_light"/>
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ListView
|
||||
android:id="@android:id/list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -10,11 +10,17 @@
|
|||
android:layout_width="@dimen/panel_width"
|
||||
android:layout_height="?attr/actionBarSize"/>
|
||||
|
||||
<ListView
|
||||
android:id="@android:id/list"
|
||||
<FrameLayout
|
||||
style="@style/MwmLightShadow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/ic_bg_light"
|
||||
android:scrollbarStyle="outsideOverlay"/>
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ListView
|
||||
android:id="@android:id/list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:scrollbarStyle="outsideOverlay"/>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
|
@ -7,8 +7,10 @@
|
|||
|
||||
<RelativeLayout
|
||||
android:id="@+id/preview"
|
||||
style="@style/MwmLightShadow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/ic_bg_pp"
|
||||
android:visibility="gone">
|
||||
|
||||
<LinearLayout
|
||||
|
@ -99,16 +101,14 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/preview"
|
||||
android:background="@color/bg_top_panels"
|
||||
android:layout_marginTop="-8dp"
|
||||
android:background="@drawable/ic_bg_pp"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/margin_tiny"
|
||||
android:paddingRight="@dimen/margin_tiny"
|
||||
android:paddingLeft="@dimen/margin_small"
|
||||
android:paddingRight="@dimen/margin_small"
|
||||
android:paddingTop="3dp"
|
||||
android:visibility="gone">
|
||||
|
||||
<View
|
||||
style="@style/DrawerSeparatorNoPadding"
|
||||
android:layout_weight="0"/>
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/place_page_container"
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
@ -20,11 +20,12 @@
|
|||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl__routing_box"
|
||||
style="@style/MwmLightShadow"
|
||||
android:layout_width="@dimen/panel_width"
|
||||
android:layout_height="@dimen/routing_pp_height"
|
||||
android:layout_below="@+id/toolbar_search"
|
||||
android:layout_margin="@dimen/margin_medium"
|
||||
android:background="@color/bg_top_panels">
|
||||
android:background="@drawable/ic_bg_pp">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl__routing_go"
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
app:theme="@style/MwmToolbar"/>
|
||||
|
||||
<LinearLayout
|
||||
style="@style/MwmLightShadow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/ic_bg_dim"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
|
@ -27,7 +27,8 @@
|
|||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/margin_medium"
|
||||
android:background="@drawable/ic_menu_download"
|
||||
android:scaleType="center"/>
|
||||
|
@ -56,7 +57,8 @@
|
|||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/margin_medium"
|
||||
android:background="@drawable/ic_menu_settings"
|
||||
android:scaleType="center"/>
|
||||
|
@ -86,7 +88,8 @@
|
|||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/margin_medium"
|
||||
android:background="@drawable/ic_menu_send_my_location"
|
||||
android:scaleType="center"/>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:addStatesFromChildren="true"
|
||||
android:background="?attr/clickableBackground"
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
android:id="@+id/navigation_buttons_container"
|
||||
style="@style/MwmLightShadow"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/routing_pp_height"
|
||||
android:background="@color/bg_top_panels">
|
||||
android:background="@drawable/ic_bg_pp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__total_distance"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:color/transparent"
|
||||
android:baselineAligned="false"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
@ -28,16 +29,18 @@
|
|||
<ProgressBar
|
||||
android:id="@+id/search_progress"
|
||||
style="@style/Widget.AppCompat.ProgressBar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/routing_progress_size"
|
||||
android:layout_height="@dimen/routing_progress_size"
|
||||
android:layout_marginRight="@dimen/margin_small"
|
||||
android:layout_weight="0"
|
||||
android:padding="@dimen/margin_micro"/>
|
||||
android:background="@android:color/transparent"/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/container_cancel_voice_input_search"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0">
|
||||
android:layout_weight="0"
|
||||
android:background="@android:color/transparent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/search_image_clear"
|
||||
|
|
|
@ -28,6 +28,8 @@
|
|||
<dimen name="bottom_button_width">46dp</dimen>
|
||||
<dimen name="bottom_item_height">56dp</dimen>
|
||||
|
||||
<dimen name="routing_pp_height">63dp</dimen>
|
||||
|
||||
<bool name="isTablet">true</bool>
|
||||
|
||||
</resources>
|
||||
|
|
|
@ -142,4 +142,12 @@
|
|||
<item name="android:background">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
<style name="MwmLightShadow">
|
||||
<item name="android:paddingLeft">4dp</item>
|
||||
<item name="android:paddingRight">4dp</item>
|
||||
<item name="android:paddingBottom">5dp</item>
|
||||
<item name="android:paddingTop">3dp</item>
|
||||
<item name="android:background">@drawable/ic_bg_light</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
Loading…
Add table
Reference in a new issue