Files
findmycar/FindMyCarLib/res/layout/map_buttons.xml
Ricky Barrette 21d43d7f97 Added dynamic themes for slecting holo were avaiable
fixed the button bars in the map fragment, and parking timer to use
android's button bar styles

Change-Id: I63e1d2a07f6d13964616f23cc3772dd99437bbee
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
2012-04-16 11:21:10 -04:00

55 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="?android:attr/buttonBarStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/distance_background"
android:orientation="horizontal" >
<ImageButton
android:id="@+id/my_location"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:contentDescription="@string/my_location"
android:src="@drawable/my_location_action_bar" />
<ImageButton
android:id="@+id/mark_my_location"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:contentDescription="@string/mark_car"
android:src="@drawable/mark_my_location_action_bar" />
<ImageButton
android:id="@+id/show_both"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:contentDescription="@string/show_both"
android:src="@drawable/car_action_bar" />
<ImageButton
android:id="@+id/parking_timer"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:contentDescription="@string/parking_timer"
android:src="@drawable/time_action_bar" />
<ImageButton
android:id="@+id/directions"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:contentDescription="@string/directions"
android:src="@drawable/nav_action_bar" />
</LinearLayout>