Fixed the Add Feature dialog title

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-05-24 12:06:20 -04:00
parent 5675683133
commit 0752cc1aa8

View File

@@ -143,7 +143,7 @@ public class FeatureListFragment extends Fragment implements OnClickListener, an
@Override @Override
public void onClick(View v) { public void onClick(View v) {
new AlertDialog.Builder(this.getActivity()) new AlertDialog.Builder(this.getActivity())
.setTitle(R.string.add_a_feature) .setTitle(R.string.add_feature)
// .setItems(R.array.features, this) // .setItems(R.array.features, this)
.setAdapter( .setAdapter(
new ArrayAdapter<String>(this.getActivity(), android.R.layout.simple_list_item_1, this.getResources().getStringArray(R.array.features)){ new ArrayAdapter<String>(this.getActivity(), android.R.layout.simple_list_item_1, this.getResources().getStringArray(R.array.features)){