|
@@ -1,9 +1,10 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
tools:context=".view.activity.test.WidgetTestActivity">
|
|
tools:context=".view.activity.test.WidgetTestActivity">
|
|
|
|
|
|
|
|
<com.grkj.iscs.view.widget.SelectableInput
|
|
<com.grkj.iscs.view.widget.SelectableInput
|
|
@@ -12,6 +13,17 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginRight="100dp"
|
|
android:layout_marginRight="100dp"
|
|
|
app:mode="select"
|
|
app:mode="select"
|
|
|
- app:required="true"
|
|
|
|
|
- app:name="test" />
|
|
|
|
|
-</RelativeLayout>
|
|
|
|
|
|
|
+ app:name="test"
|
|
|
|
|
+ app:required="true" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_test"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="@drawable/test_status_bg_selector"
|
|
|
|
|
+ android:textColor="@drawable/test_status_color_selector"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:drawableLeft="@drawable/pwd_toggle_bg_selector"
|
|
|
|
|
+ android:text="已解锁"
|
|
|
|
|
+ android:padding="3dp"/>
|
|
|
|
|
+</LinearLayout>
|