react-native-nitro-simple-toast 0.1.1-beta.2 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,7 +20,8 @@
20
20
  <LinearLayout
21
21
  android:layout_width="wrap_content"
22
22
  android:layout_height="wrap_content"
23
- android:orientation="vertical">
23
+ android:orientation="vertical"
24
+ android:gravity="center_horizontal">
24
25
 
25
26
  <TextView
26
27
  android:id="@+id/toast_title"
@@ -29,7 +30,8 @@
29
30
  android:textSize="13sp"
30
31
  android:textStyle="bold"
31
32
  android:maxLines="1"
32
- android:ellipsize="end" />
33
+ android:ellipsize="end"
34
+ android:textAlignment="center" />
33
35
 
34
36
  <TextView
35
37
  android:id="@+id/toast_message"
@@ -39,6 +41,7 @@
39
41
  android:maxLines="2"
40
42
  android:ellipsize="end"
41
43
  android:layout_marginTop="2dp"
44
+ android:textAlignment="center"
42
45
  android:visibility="gone" />
43
46
 
44
47
  </LinearLayout>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-nitro-simple-toast",
3
- "version": "0.1.1-beta.2",
3
+ "version": "0.1.1",
4
4
  "description": "react native simple toast powered by nitro",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",