Fixed bug with parking layout

This commit is contained in:
Denis 2014-11-27 17:11:53 +02:00
parent b2089f3eb0
commit 12d330fa3b

View file

@ -1,55 +1,56 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_horizontal"> android:paddingBottom="10dp"
android:paddingTop="10dp"
android:orientation="horizontal">
<TableRow <LinearLayout
android:id="@+id/tableRow1" android:id="@+id/tableRow1"
android:layout_width="fill_parent" android:orientation="vertical"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<ImageButton <ImageButton android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_gravity="center_horizontal"
android:id="@+id/parking_no_lim_button" android:id="@+id/parking_no_lim_button"
android:layout_marginLeft="16dp"
android:layout_marginRight="32dp"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:background="@drawable/poi_parking_pos_no_limit_menu" android:background="@drawable/poi_parking_pos_no_limit_menu"
android:contentDescription="@string/osmand_parking_time_no_limit" /> android:contentDescription="@string/osmand_parking_time_no_limit"/>
<ImageButton <TextView android:layout_height="wrap_content"
android:id="@+id/parking_lim_button" android:layout_width="wrap_content"
android:layout_column="1" android:layout_gravity="center_horizontal"
android:layout_marginRight="16dp" android:id="@+id/parking_lim_text"
android:layout_marginLeft="32dp"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:background="@drawable/poi_parking_pos_limit_menu" android:text="@string/osmand_parking_no_lim_text"/>
android:contentDescription="@string/osmand_parking_time_limit" /> </LinearLayout>
</TableRow> <LinearLayout android:id="@+id/tableRow2"
android:orientation="vertical"
<TableRow android:layout_weight="1"
android:id="@+id/tableRow2" android:layout_width="0dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView <ImageButton android:layout_height="wrap_content"
android:id="@+id/parking_lim_text" android:layout_width="wrap_content"
android:layout_column="0" android:id="@+id/parking_lim_button"
android:layout_marginRight="4dp" android:layout_gravity="center_horizontal"
android:layout_marginLeft="4dp"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:maxWidth="10dp" android:background="@drawable/poi_parking_pos_limit_menu"
android:text="@string/osmand_parking_no_lim_text" /> android:contentDescription="@string/osmand_parking_time_limit"/>
<TextView <TextView android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:id="@+id/parking_no_lim_text" android:id="@+id/parking_no_lim_text"
android:layout_column="1" android:layout_gravity="center_horizontal"
android:layout_marginRight="4dp"
android:layout_marginLeft="4dp"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:maxWidth="10dp" android:text="@string/osmand_parking_lim_text"/>
android:text="@string/osmand_parking_lim_text" /> </LinearLayout>
</TableRow>
</LinearLayout>
</TableLayout>