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
51 lines
1.8 KiB
XML
51 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_marginLeft="16dip"
|
|
android:layout_marginRight="16dip">
|
|
<TableLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:shrinkColumns="1">
|
|
|
|
<TableRow>
|
|
<TextView
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:text="@string/identity5"
|
|
android:layout_marginRight="7dip" />
|
|
<TextView
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:typeface="monospace"
|
|
android:id="@+id/identity_fingerprint"
|
|
android:text=""
|
|
android:padding="3dip" />
|
|
</TableRow>
|
|
|
|
<TableRow>
|
|
<LinearLayout android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_span="2">
|
|
|
|
<Button android:id="@+id/compare_button"
|
|
android:layout_margin="10dip"
|
|
android:padding="5dip"
|
|
android:layout_width="100dip"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/qr_code" />
|
|
|
|
<Button android:id="@+id/ok_button"
|
|
android:layout_margin="10dip"
|
|
android:padding="5dip"
|
|
android:layout_width="100dip"
|
|
android:layout_height="wrap_content"
|
|
android:text="@android:string/ok"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
|
</ScrollView> |