アンドロイドの仮想マシーンの構成

最近アンドロイドで債権の値段を推定する製品を開発しています。
これが利子を予測して市場データを含めて複数な統計を表示します。この機能を実現するためにアンドロイドの使用を学ぶのが必要です。アンドロイド端末にアプリを起動させる場合に画面が出てきます。この画面に出るコントロールが自動的に仮想マシーンに作成されます。コントロールの詳細は普通のJAVAクラスではなくてXMLフアィルに保存されています。このXMLファイルのデータがandroid.R.layoutのメンバーになります。ファイル名はR$layout$simple_list_item_1ではなくてres/layout/simple_list_item_1.xmlです。These XML files are not mapped to subclasses or inner classes at compile time but to integer resource IDs in the R.layout class. At runtime, these XML resources are inflated to objects by whatever client of R.layout needs them (e.g. ArrayAdapter). For example, the simple_list_item_1 resource becomes a TextField object with a specified width, height, padding, text size, etc.
R$layoutのクラスが存在します。 曖昧ですがユーザーが作るパッケージにもRのクラスが自動的に作成されます。
更新:1. The simple_list_item_1 view displays text as white by default, but using the simple_spinner_item view instead displays black text.
2. It seems that font color of a view inflated from xml is specified in yet another XML file, either res/values/styles.xml or res/values/themes.xml. These files contain