padding workaround for bug in appcompat-v7 21.0.0

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

// FREEBIE
master
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

@ -2,7 +2,7 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<shape android:shape="rectangle">
<solid android:color="@color/conversation_item_sent_shadow_light" />
<corners android:radius="@dimen/conversation_item_corner_radius" />
</shape>

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" />