Skip to content

Commit eed65ff

Browse files
author
zhangyipeng
committed
layout
add layout
1 parent 998b658 commit eed65ff

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-segmented-android",
3-
"version": "1.0.0",
3+
"version": "1.0.2",
44
"description": "a high imitation of iOS segmented Controls",
55
"main": "AndroidSegmented.js",
66
"scripts": {
@@ -17,5 +17,8 @@
1717
"react-native"
1818
],
1919
"author": "zzyyppqq",
20-
"license": "ISC"
20+
"license": "ISC",
21+
"peerDependencies": {
22+
"react-native": "^1.0.1"
23+
}
2124
}

src/main/res/layout/radio_button.xml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<RadioButton xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:layout_width="100dp"
5+
android:layout_height="50dp"
6+
style="@style/RadioButton" />

0 commit comments

Comments
 (0)