forked from upstream-mirrors/OpenTracks
70 lines
2.6 KiB
XML
70 lines
2.6 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="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:orientation="vertical" >
|
|
<ScrollView style="@style/ScrollView.WithBottomButtons" >
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:orientation="vertical"
|
|
android:padding="8dp" >
|
|
<TextView
|
|
android:text="@string/generic_name"
|
|
style="@style/EditLabel" />
|
|
<EditText
|
|
android:hint="@string/generic_name"
|
|
android:id="@+id/track_edit_name"
|
|
android:imeOptions="actionNext"
|
|
style="@style/EditNameTrack" />
|
|
<TextView
|
|
android:id="@+id/track_edit_activity_type_label"
|
|
android:text="@string/track_edit_activity_type"
|
|
style="@style/EditLabel.WithPaddingTop" />
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent" >
|
|
<AutoCompleteTextView
|
|
android:hint="@string/track_edit_activity_type_hint"
|
|
android:id="@+id/track_edit_activity_type"
|
|
android:imeOptions="actionNext"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:layout_width="0dp"
|
|
style="@style/EditCategory" />
|
|
<Spinner
|
|
android:id="@+id/track_edit_activity_type_icon"
|
|
android:layout_gravity="bottom"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content" />
|
|
</LinearLayout>
|
|
<TextView
|
|
android:text="@string/generic_description"
|
|
style="@style/EditLabel.WithPaddingTop" />
|
|
<EditText
|
|
android:hint="@string/generic_description"
|
|
android:id="@+id/track_edit_description"
|
|
android:imeOptions="actionDone"
|
|
style="@style/EditDescription" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
<View style="@style/BottomButtonDivider" />
|
|
<LinearLayout style="@style/BottomButtonBar" >
|
|
<include layout="@layout/track_edit_buttons" />
|
|
</LinearLayout>
|
|
</LinearLayout> |