forked from upstream-mirrors/OpenTracks
68 lines
2.5 KiB
XML
68 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2010 Google Inc.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_height="fill_parent"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical" >
|
|
<ScrollView
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_width="fill_parent" >
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical"
|
|
android:padding="8dp" >
|
|
<TextView
|
|
android:text="@string/track_edit_name"
|
|
style="@style/TrackEditLabelTextView" />
|
|
<EditText
|
|
android:drawableLeft="@drawable/track"
|
|
android:drawablePadding="8dp"
|
|
android:gravity="center_vertical"
|
|
android:hint="@string/track_edit_name"
|
|
android:id="@+id/track_edit_name"
|
|
android:imeOptions="actionNext"
|
|
android:inputType="textAutoCorrect|textCapWords"
|
|
android:singleLine="true"
|
|
style="@style/TrackEditValueEditText" />
|
|
<TextView
|
|
android:text="@string/track_edit_activity_type"
|
|
style="@style/TrackEditLabelTextView" />
|
|
<AutoCompleteTextView
|
|
android:hint="@string/track_edit_activity_type_hint"
|
|
android:id="@+id/track_edit_activity_type"
|
|
android:imeOptions="actionNext"
|
|
android:singleLine="true"
|
|
style="@style/TrackEditValueEditText" />
|
|
<TextView
|
|
android:text="@string/track_edit_description"
|
|
style="@style/TrackEditLabelTextView" />
|
|
<EditText
|
|
android:hint="@string/track_edit_description"
|
|
android:id="@+id/track_edit_description"
|
|
android:imeOptions="actionDone"
|
|
android:inputType="textAutoCorrect|textCapSentences"
|
|
android:maxLines="50"
|
|
android:singleLine="false"
|
|
style="@style/TrackEditValueEditText" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
<LinearLayout style="@style/BottomButtonBar" >
|
|
<include layout="@layout/track_edit_buttons" />
|
|
</LinearLayout>
|
|
</LinearLayout> |