Finalize
This commit is contained in:
parent
d70877787e
commit
683add9045
2 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
<ImageButton
|
||||
android:id="@+id/access_code"
|
||||
android:src="@drawable/ic_action_settings_dark"
|
||||
android:src="@drawable/ic_action_settings_light"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
|
|
@ -25,6 +25,7 @@ import android.graphics.Bitmap;
|
|||
import android.os.AsyncTask;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.view.inputmethod.EditorInfo;
|
||||
import android.widget.Button;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.EditText;
|
||||
|
@ -349,6 +350,7 @@ public class TourViewActivity extends SherlockFragmentActivity {
|
|||
Builder builder = new AlertDialog.Builder(this);
|
||||
builder.setTitle(R.string.enter_access_code);
|
||||
final EditText editText = new EditText(this);
|
||||
editText.setInputType(EditorInfo.TYPE_TEXT_FLAG_CAP_CHARACTERS);
|
||||
LinearLayout ll = new LinearLayout(this);
|
||||
ll.setPadding(5, 3, 5, 0);
|
||||
ll.addView(editText, new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
|
||||
|
|
Loading…
Reference in a new issue