Added tich delegation to the map button, to make them easier to click
Change-Id: Ia43fa2a13af68c5e81f6023a8948d4d851479f21 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
@@ -3,91 +3,92 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/distance_background"
|
||||
android:baselineAligned="false"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="10dip"
|
||||
android:layout_marginTop="10dip"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical" >
|
||||
android:paddingBottom="10dip"
|
||||
android:paddingTop="10dip" >
|
||||
|
||||
<ImageButton
|
||||
<com.TwentyCodes.android.FindMyCarLib.UI.DelegatedImageButton
|
||||
android:id="@+id/my_location"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:background="@drawable/my_location_action_bar"
|
||||
android:contentDescription="@string/my_location" />
|
||||
android:contentDescription="@string/my_location"
|
||||
android:duplicateParentState="true" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="10dip"
|
||||
android:layout_marginTop="10dip"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical" >
|
||||
android:paddingBottom="10dip"
|
||||
android:paddingTop="10dip" >
|
||||
|
||||
<ImageButton
|
||||
<com.TwentyCodes.android.FindMyCarLib.UI.DelegatedImageButton
|
||||
android:id="@+id/mark_my_location"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:background="@drawable/mark_my_location_action_bar"
|
||||
android:contentDescription="@string/mark_car" />
|
||||
android:contentDescription="@string/mark_car"
|
||||
android:duplicateParentState="true" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="10dip"
|
||||
android:layout_marginTop="10dip"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical" >
|
||||
android:paddingBottom="10dip"
|
||||
android:paddingTop="10dip" >
|
||||
|
||||
<ImageButton
|
||||
<com.TwentyCodes.android.FindMyCarLib.UI.DelegatedImageButton
|
||||
android:id="@+id/show_both"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/car_action_bar" />
|
||||
android:background="@drawable/car_action_bar"
|
||||
android:duplicateParentState="true" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="10dip"
|
||||
android:layout_marginTop="10dip"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical" >
|
||||
android:paddingBottom="10dip"
|
||||
android:paddingTop="10dip" >
|
||||
|
||||
<ImageButton
|
||||
<com.TwentyCodes.android.FindMyCarLib.UI.DelegatedImageButton
|
||||
android:id="@+id/parking_timer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:background="@drawable/time_action_bar"
|
||||
android:contentDescription="@string/parking_timer" />
|
||||
android:contentDescription="@string/parking_timer"
|
||||
android:duplicateParentState="true" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="10dip"
|
||||
android:layout_marginTop="10dip"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical" >
|
||||
android:paddingBottom="10dip"
|
||||
android:paddingTop="10dip" >
|
||||
|
||||
<ImageButton
|
||||
<com.TwentyCodes.android.FindMyCarLib.UI.DelegatedImageButton
|
||||
android:id="@+id/directions"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:background="@drawable/nav_action_bar"
|
||||
android:contentDescription="@string/directions" />
|
||||
android:contentDescription="@string/directions"
|
||||
android:duplicateParentState="true" />
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,14 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<declare-styleable name="com.admob.android.ads.AdView">
|
||||
<attr format="color" name="backgroundColor" />
|
||||
<attr format="color" name="primaryTextColor" />
|
||||
<attr format="color" name="secondaryTextColor" />
|
||||
<attr format="string" name="keywords" />
|
||||
<attr format="integer" name="refreshInterval" />
|
||||
</declare-styleable>
|
||||
|
||||
<!--
|
||||
Copyright (C) 2011 Patrik Åkerfeldt
|
||||
Copyright (C) 2011 Jake Wharton
|
||||
|
||||
Reference in New Issue
Block a user