forked from organicmaps/organicmaps
[and] Capitalize names on editing.
This commit is contained in:
parent
fe71f1a8f8
commit
55bd7b954b
3 changed files with 14 additions and 11 deletions
|
@ -33,7 +33,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:text="@string/name" />
|
||||
|
||||
<include layout="@layout/green_separator"/>
|
||||
<include layout="@layout/green_separator" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/pin_name"
|
||||
|
@ -41,6 +41,7 @@
|
|||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/name"
|
||||
android:inputType="textCapWords"
|
||||
android:singleLine="true" />
|
||||
|
||||
<!-- SET -->
|
||||
|
@ -51,32 +52,32 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:text="@string/set" />
|
||||
|
||||
<include layout="@layout/green_separator"/>
|
||||
<include layout="@layout/green_separator" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dp_x_4"
|
||||
android:gravity="bottom"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginBottom="@dimen/dp_x_4" >
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/pin_set_chooser"
|
||||
style="@style/pinEditableParam"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginBottom="0dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/spinner_background_holo_light"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/color_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="@dimen/dp_x_4"
|
||||
android:layout_weight="0"
|
||||
android:background="@drawable/spinner_background_holo_light"
|
||||
android:paddingLeft="@dimen/dp_x_4"
|
||||
android:src="@drawable/ic_location" />
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -88,7 +89,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:text="@string/description" />
|
||||
|
||||
<include layout="@layout/green_separator"/>
|
||||
<include layout="@layout/green_separator" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/pin_description"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
<Button
|
||||
android:id="@+id/chs_footer_button"
|
||||
android:textAppearance="@android:style/TextAppearance.Large"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/chs_footer_new_layout"
|
||||
|
@ -16,6 +15,7 @@
|
|||
android:drawablePadding="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/add_new_set"
|
||||
android:textAppearance="@android:style/TextAppearance.Large"
|
||||
android:textColor="?android:textColorPrimary" />
|
||||
|
||||
<RelativeLayout
|
||||
|
@ -39,7 +39,6 @@
|
|||
|
||||
<EditText
|
||||
android:id="@+id/chs_footer_field"
|
||||
android:singleLine="true"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
|
@ -47,7 +46,9 @@
|
|||
android:layout_marginTop="6dp"
|
||||
android:layout_toLeftOf="@+id/chs_footer_create_button"
|
||||
android:layout_toRightOf="@+id/chs_footer_cancel_button"
|
||||
android:hint="@string/name" />
|
||||
android:hint="@string/name"
|
||||
android:inputType="textCapWords"
|
||||
android:singleLine="true" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/chs_footer_create_button"
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
android:layout_margin="5dp"
|
||||
android:hint="@string/name"
|
||||
android:imeOptions="actionDone"
|
||||
android:inputType="textCapWords"
|
||||
android:singleLine="true" />
|
||||
|
||||
</LinearLayout>
|
Loading…
Add table
Reference in a new issue