mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
67bca0dd4e
that. Instead use the English strings themselves as keys. Generate a java array of all R.string.whatever contants at build time, and use that at runtime to build a hashmap of localizable strings that may be found in UI widgets. When one is found and there's a translation, substitute.
20 lines
656 B
XML
20 lines
656 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="1"
|
|
>
|
|
<org.eehouse.android.xw4.BoardView
|
|
android:id="@+id/board_view"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="1"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:longClickable="true"
|
|
android:drawSelectorOnTop="false"
|
|
/>
|
|
|
|
</LinearLayout>
|