padding workaround for bug in appcompat-v7 21.0.0

bug: https://code.google.com/p/android/issues/detail?id=77982

// FREEBIE
This commit is contained in:
Jake McGinty 2014-10-29 18:28:20 -07:00
parent 98af1fb6ee
commit db6f8618e6
3 changed files with 6 additions and 8 deletions

View File

@ -9,8 +9,7 @@
<RelativeLayout android:id="@+id/prompt_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
android:layout_height="wrap_content">
<ImageView android:id="@+id/watermark"
android:layout_width="wrap_content"
@ -28,13 +27,14 @@
<EditText android:id="@+id/passphrase_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="45sp"
android:inputType="textPassword"
android:layout_marginLeft="50dp"
android:layout_marginRight="50dp"
android:singleLine="true"
android:background="@drawable/passphrase_input_background"
android:padding="10dp"/>
android:paddingLeft="10dp"
android:paddingRight="10dp"/>
<ImageButton android:id="@+id/ok_button"
android:src="@drawable/ic_action_forward"

View File

@ -7,12 +7,10 @@
<EditText android:id="@+id/filter"
android:inputType="textPersonName"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_height="45sp"
android:hint="@string/recipients_panel__to"
android:paddingRight="45dip"
android:paddingLeft="15dp"
android:paddingTop="12dp"
android:paddingBottom="12dp"
android:textColor="?conversation_editor_text_color"
android:background="?conversation_editor_background" />