瀏覽代碼

GUI Layouting (Main Options Menu)

master
gitsvn 12 年之前
父節點
當前提交
2dbaad5395

+ 1
- 1
res/layout/rbs_spinner.xml 查看文件

android:id="@+id/spinner_view" android:id="@+id/spinner_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="bottom|left" android:gravity="bottom|left"
android:lines="1" android:lines="1"
android:paddingLeft="2dp" android:paddingLeft="2dp"
android:scrollHorizontally="true"
android:text="FontTextView" android:text="FontTextView"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="18sp" android:textSize="18sp"

+ 1
- 1
src/ch/spherIC/recurvebowsight/components/ArcerySetupArrayAdapter.java 查看文件

if (getItem(position).getId() != -999) { if (getItem(position).getId() != -999) {
textViewMain.setText(getItem(position).getName()); textViewMain.setText(getItem(position).getName());
textViewSub.setText(getItem(position).getRiser().toString() + " / " + getItem(position).getSight().toString());
textViewSub.setText(getItem(position).getRiser().toString() + " " + getItem(position).getSight().toString());
} else { } else {
textViewMain.setText("[ ]"); textViewMain.setText("[ ]");
textViewSub.setText(getContext().getString(R.string.caption_NoSelection)); textViewSub.setText(getContext().getString(R.string.caption_NoSelection));

+ 1
- 1
src/ch/spherIC/recurvebowsight/model/Riser.java 查看文件

if (this.id == -999) { if (this.id == -999) {
return getManufacturer(); return getManufacturer();
} }
return getManufacturer() + " " + getModel() + " " + DF.format(getSize()) + "\"";
return getManufacturer() + " " + getModel() + " " + DF.format(getSize()) + "\"";
} }
} }

+ 1
- 1
src/ch/spherIC/recurvebowsight/model/Sight.java 查看文件

if (this.id == -999) { if (this.id == -999) {
return getManufacturer(); return getManufacturer();
} }
return getManufacturer() + " " + getModel();
return getManufacturer() + " " + getModel();
} }
} }

Loading…
取消
儲存