Fix height

This commit is contained in:
Alexey Pelykh 2015-02-19 18:23:49 +02:00
parent 27d395b948
commit 30eb6cab3d
2 changed files with 6 additions and 4 deletions

View file

@ -15,7 +15,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="54dp"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageButton
@ -23,6 +23,7 @@
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_margin="11dp"
android:layout_gravity="center_vertical"
android:background="@drawable/bg_plugin_logo_enabled"
android:scaleType="center"
tools:src="@drawable/ic_extension_dark"/>
@ -30,10 +31,11 @@
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/plugin_name"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginTop="4dp"
android:layout_weight="1"
android:layout_gravity="center_vertical"
android:ellipsize="end"
android:gravity="center_vertical"
android:maxLines="2"

View file

@ -4,7 +4,7 @@
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="84dp"
android:layout_height="wrap_content"
android:paddingLeft="6dp"
android:paddingRight="6dp">
@ -31,7 +31,7 @@
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginEnd="36dp"
android:layout_marginLeft="6dp"