Browse Source

feat: rtl support (#365)

master
Henning Hall 4 years ago
committed by GitHub
parent
commit
67bd9fd7fa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions
  1. +1
    -1
      android/build.gradle
  2. +2
    -1
      android/src/main/res/layout/ios_clone.xml
  3. +3
    -1
      android/src/main/res/layout/native_picker.xml

+ 1
- 1
android/build.gradle View File

@ -9,7 +9,7 @@ android {
buildToolsVersion safeExtGet('buildToolsVersion', "25.0.3") buildToolsVersion safeExtGet('buildToolsVersion', "25.0.3")
defaultConfig { defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 16)
minSdkVersion safeExtGet('minSdkVersion', 17)
targetSdkVersion safeExtGet('targetSdkVersion', 25) targetSdkVersion safeExtGet('targetSdkVersion', 25)
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

+ 2
- 1
android/src/main/res/layout/ios_clone.xml View File

@ -5,7 +5,8 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
>
android:layoutDirection="ltr"
>
<LinearLayout <LinearLayout
android:id="@+id/pickerWrapper" android:id="@+id/pickerWrapper"
android:layout_width="match_parent" android:layout_width="match_parent"

+ 3
- 1
android/src/main/res/layout/native_picker.xml View File

@ -4,7 +4,9 @@
android:id="@+id/container" android:id="@+id/container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="horizontal">
android:orientation="horizontal"
android:layoutDirection="ltr"
>
<LinearLayout <LinearLayout
android:id="@+id/pickerWrapper" android:id="@+id/pickerWrapper"

Loading…
Cancel
Save