Skip to content

Commit

Permalink
Merge pull request #47 from SchibstedSpain/rtlIssue
Browse files Browse the repository at this point in the history
New Version 2.3.1. That solves a RTL layout issue
  • Loading branch information
ferranpons authored Oct 27, 2016
2 parents 6123f49 + 9c748da commit 629bd89
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 15 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Location picker component for Android. It returns a latitude, longitude and an a
* Customization (Theme and layout)
* Events Tracking
* Multi-language support (English and Spanish supported by default)
* RTL (Right-To-Left) layout support
<br><br><br>


Expand All @@ -75,7 +76,7 @@ Include the dependency in your app `build.gradle`:

```groovy
dependencies {
compile 'com.schibstedspain.android:leku:2.3.0'
compile 'com.schibstedspain.android:leku:2.3.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:supportsRtl="false"
android:supportsRtl="true"
tools:ignore="GoogleAppIndexingWarning"
>

Expand Down
4 changes: 2 additions & 2 deletions leku/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'com.novoda.bintray-release'
apply from: '../quality.gradle'

group = 'com.schibstedspain.android'
version = '2.3.0'
version = '2.3.1'

android {
compileSdkVersion 24
Expand Down Expand Up @@ -64,7 +64,7 @@ publish {
userOrg = 'schibstedspain'
groupId = 'com.schibstedspain.android'
artifactId = 'leku'
publishVersion = '2.3.0'
publishVersion = '2.3.1'
desc = 'Location picker component for Android. It returns a latitude,longitude and an address based on the location picked in the LocationPickerActivity provided.'
website = 'https://github.com/SchibstedSpain/leku'
}
2 changes: 1 addition & 1 deletion leku/src/main/res/layout-land/activity_location_picker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
android:elevation="2dp"
android:minWidth="296dp"
android:background="@drawable/toolbar_custom_background"
tools:visibility="visible"
tools:visibility="gone"
/>

<LinearLayout
Expand Down
14 changes: 8 additions & 6 deletions leku/src/main/res/layout-normal-v21/activity_location_picker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
android:elevation="2dp"
android:minWidth="296dp"
android:background="@drawable/toolbar_custom_background"
tools:visibility="visible"
tools:visibility="gone"
/>

<LinearLayout
Expand Down Expand Up @@ -81,16 +81,18 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:paddingStart="16dp"
android:paddingLeft="16dp"
android:background="@drawable/adress_custom_background"
android:orientation="horizontal"
>

<LinearLayout
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="16dp"
android:paddingStart="16dp"
android:paddingRight="16dp"
android:paddingEnd="16dp"
android:layout_weight="1"
>

Expand Down Expand Up @@ -132,8 +134,8 @@
android:layout_marginTop="16dp"
android:layout_marginRight="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="16dp"
android:layout_marginLeft="16dp"
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp"
android:layout_gravity="top|end"
android:src="@drawable/ic_check_light"
app:fabSize="normal"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
android:elevation="2dp"
android:minWidth="296dp"
android:background="@drawable/toolbar_custom_background"
tools:visibility="visible"
tools:visibility="gone"
/>

<LinearLayout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
android:elevation="2dp"
android:minWidth="296dp"
android:background="@drawable/toolbar_custom_background"
tools:visibility="visible"
tools:visibility="gone"
/>

<LinearLayout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
android:elevation="2dp"
android:minWidth="296dp"
android:background="@drawable/toolbar_custom_background"
tools:visibility="visible"
tools:visibility="gone"
/>

<LinearLayout
Expand Down
2 changes: 1 addition & 1 deletion leku/src/main/res/layout/activity_location_picker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
android:elevation="2dp"
android:minWidth="296dp"
android:background="@drawable/toolbar_custom_background"
tools:visibility="visible"
tools:visibility="gone"
/>

<LinearLayout
Expand Down

0 comments on commit 629bd89

Please sign in to comment.