|
|
@@ -8,13 +8,41 @@
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
|
tools:context="com.usai.redant.photo.ServerSettingActivity" >
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="Name"
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
+ />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/et_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignBaseline="@+id/tv_name"
|
|
|
+ android:layout_toRightOf="@+id/tv_name"
|
|
|
+ android:ems="10"
|
|
|
+ android:singleLine="true" >
|
|
|
+
|
|
|
+ <requestFocus />
|
|
|
+ </EditText>
|
|
|
+
|
|
|
+ <ImageButton
|
|
|
+ android:id="@+id/ibtn_scan"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:src="@drawable/bar2" />
|
|
|
+
|
|
|
<RadioGroup
|
|
|
android:id="@+id/radioGroup1"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentLeft="true"
|
|
|
- android:layout_alignParentTop="true"
|
|
|
- android:layout_marginTop="3dp" >
|
|
|
+ android:layout_alignLeft="@+id/tv_name"
|
|
|
+ android:layout_below="@+id/tv_name"
|
|
|
+ android:layout_marginTop="10dp" >
|
|
|
|
|
|
<RadioButton
|
|
|
android:id="@+id/radio0"
|
|
|
@@ -28,10 +56,7 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:ems="10"
|
|
|
- android:singleLine="true">
|
|
|
-
|
|
|
- <requestFocus />
|
|
|
- </EditText>
|
|
|
+ android:singleLine="true" />
|
|
|
|
|
|
<RadioButton
|
|
|
android:id="@+id/radio1"
|
|
|
@@ -47,16 +72,7 @@
|
|
|
android:layout_alignLeft="@+id/radioGroup1"
|
|
|
android:layout_below="@+id/radioGroup1"
|
|
|
android:ems="10"
|
|
|
- android:singleLine="true" >
|
|
|
- </EditText>
|
|
|
+ android:singleLine="true" />
|
|
|
</RadioGroup>
|
|
|
|
|
|
- <ImageButton
|
|
|
- android:id="@+id/ibtn_scan"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:src="@drawable/bar2" />
|
|
|
-
|
|
|
</RelativeLayout>
|