From 718fcec2e896c988285027be1d0b291f13c209a9 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Thu, 17 Mar 2016 15:34:08 +0300 Subject: [PATCH] Fixes: live updates + select storage --- OsmAnd/res/drawable/btn_round_shade.xml | 10 ++------ OsmAnd/res/drawable/btn_round_shade_n.xml | 13 +++++++++++ OsmAnd/res/drawable/btn_round_shade_p.xml | 13 +++++++++++ OsmAnd/res/layout/live_updates_header.xml | 23 +++++++++++-------- .../plus/download/DownloadActivity.java | 4 +--- 5 files changed, 43 insertions(+), 20 deletions(-) create mode 100644 OsmAnd/res/drawable/btn_round_shade_n.xml create mode 100644 OsmAnd/res/drawable/btn_round_shade_p.xml diff --git a/OsmAnd/res/drawable/btn_round_shade.xml b/OsmAnd/res/drawable/btn_round_shade.xml index 24d01d3f77..16fdbcac22 100644 --- a/OsmAnd/res/drawable/btn_round_shade.xml +++ b/OsmAnd/res/drawable/btn_round_shade.xml @@ -1,13 +1,7 @@ - - - - - - - - + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/btn_round_shade_n.xml b/OsmAnd/res/drawable/btn_round_shade_n.xml new file mode 100644 index 0000000000..e3c8fd8f59 --- /dev/null +++ b/OsmAnd/res/drawable/btn_round_shade_n.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/btn_round_shade_p.xml b/OsmAnd/res/drawable/btn_round_shade_p.xml new file mode 100644 index 0000000000..7e1773b37a --- /dev/null +++ b/OsmAnd/res/drawable/btn_round_shade_p.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/layout/live_updates_header.xml b/OsmAnd/res/layout/live_updates_header.xml index 0f7be308ec..45802be778 100644 --- a/OsmAnd/res/layout/live_updates_header.xml +++ b/OsmAnd/res/layout/live_updates_header.xml @@ -5,8 +5,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:paddingLeft="8dp" - android:paddingRight="8dp" + android:paddingLeft="6dp" + android:paddingRight="6dp" android:paddingTop="16dp"> @@ -70,7 +72,9 @@ android:id="@+id/subscription_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginLeft="32dp" + android:paddingLeft="12dp" + android:paddingRight="12dp" + android:layout_marginLeft="12dp" android:background="@drawable/btn_round_shade" android:text="@string/osm_live_subscribe_btn" android:textColor="@color/color_white"/> @@ -146,13 +150,14 @@