mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 09:17:44 +00:00
4c3b7cbe08
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
46 lines
2.0 KiB
XML
46 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="16dip"
|
|
android:layout_marginRight="16dip"
|
|
android:layout_marginTop="5dip"
|
|
android:layout_marginBottom="5dip"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:text="@string/identity_name" />
|
|
|
|
<EditText android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:id="@+id/identity_name"
|
|
android:layout_margin="16dip"/>
|
|
|
|
<LinearLayout android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginBottom="16dip"
|
|
android:gravity="right">
|
|
|
|
<TableLayout android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:stretchColumns="*">
|
|
<TableRow>
|
|
<Button android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:text="@string/cancel"
|
|
android:id="@+id/cancel_button"
|
|
android:layout_marginRight="15dip"
|
|
android:layout_marginLeft="16dip"/>
|
|
|
|
<Button android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@android:string/ok"
|
|
android:id="@+id/ok_button"
|
|
android:layout_marginRight="16dip"/>
|
|
</TableRow>
|
|
</TableLayout>
|
|
</LinearLayout>
|
|
</LinearLayout> |