Use a spinner for the activity icon in TrackEditActivity

This commit is contained in:
Jimmy Shih
2013-04-25 17:32:04 -07:00
parent 826ff2f79f
commit d9f897bc53
2 changed files with 77 additions and 26 deletions
+4 -4
View File
@@ -41,20 +41,20 @@ limitations under the License.
android:layout_width="match_parent"
android:orientation="horizontal" >
<AutoCompleteTextView
android:gravity="bottom"
android:hint="@string/track_edit_activity_type_hint"
android:id="@+id/track_edit_activity_type"
android:imeOptions="actionNext"
android:layout_gravity="bottom"
android:layout_height="fill_parent"
android:layout_weight="1"
android:layout_width="0dp"
style="@style/EditCategory" />
<ImageButton
android:contentDescription="@string/activity_type_walking"
<Spinner
android:id="@+id/track_edit_activity_type_icon"
android:layout_gravity="bottom"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:src="@drawable/track_walk" />
android:layout_width="wrap_content" />
</LinearLayout>
<TextView
android:text="@string/generic_description"