1) Change all instances which use concatenation to build strings with variables in them to use string formatting instead. 2) Extract all string literals from layouts and menus into strings.xml 3) Extract all string literals from code into strings.xml
34 lines
No EOL
1.4 KiB
XML
34 lines
No EOL
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/recipients_panel"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="5dip"
|
|
android:paddingBottom="5dip"
|
|
android:paddingLeft="5dip"
|
|
android:paddingRight="5dip"
|
|
android:background="@drawable/white_background"
|
|
android:orientation="vertical" >
|
|
|
|
<org.thoughtcrime.securesms.contacts.RecipientsEditor android:id="@+id/recipients_text"
|
|
android:layout_height="wrap_content"
|
|
android:capitalize="sentences"
|
|
android:autoText="true"
|
|
android:singleLine="true"
|
|
android:hint="@string/to"
|
|
android:paddingRight="45dip"
|
|
android:layout_width="fill_parent"/>
|
|
|
|
<ImageButton android:id="@+id/contacts_button"
|
|
android:background="#00000000"
|
|
android:layout_width="40dip"
|
|
android:layout_height="35dip"
|
|
android:layout_marginRight="5dip"
|
|
android:layout_marginTop="4dip"
|
|
android:src="@drawable/ic_menu_add_field_holo_light"
|
|
android:layout_alignRight="@id/recipients_text"
|
|
android:maxWidth="32dip"
|
|
android:maxHeight="32dip" />
|
|
|
|
</RelativeLayout> |