UNPKG

react-native-arenakit

Version:

为编写arena app中react native应用提供基础的ui及原生能力api支撑

63 lines (51 loc) 2.13 kB
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#00000000"> <RelativeLayout android:id="@+id/barLayout" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_above="@+id/pickerLayout"> <TextView android:id="@+id/cancel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:padding="9dp" /> <TextView android:id="@+id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:padding="9dp" /> <TextView android:id="@+id/confirm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentEnd="true" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:padding="9dp" /> <LinearLayout android:layout_width="match_parent" android:layout_height="1dp" android:background="@color/arena_line" android:layout_alignParentBottom="true"/> </RelativeLayout> <RelativeLayout android:id="@+id/pickerLayout" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" > <com.bm001.arenakit.picker.view.PickerViewLinkage android:id="@+id/pickerViewLinkage" android:layout_width="match_parent" android:layout_height="wrap_content"/> <com.bm001.arenakit.picker.view.PickerViewAlone android:id="@+id/pickerViewAlone" android:layout_width="match_parent" android:layout_height="wrap_content"/> </RelativeLayout> </RelativeLayout>