android - Edittext outline box not visible -
i have 2 edittext's in layout. reason, border outline shows in preview here(http://gyazo.com/7cb0d1d2c5807e65f65164957b4d13b8) doesn't show when run app on phone or on emulator(http://gyazo.com/428bb31a974e43ccb52aaaee61f3b355). see box outlines edittext's in preview screen.
if try , see issue is, great, thanks.
xml containing 2 edittext's:
<linearlayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/background_medium" android:paddingbottom="@dimen/activity_vertical_margin" android:paddingleft="@dimen/activity_horizontal_margin" android:paddingright="@dimen/activity_horizontal_margin" android:paddingtop="@dimen/activity_vertical_margin" tools:context=".list" > <linearlayout android:id="@+id/text1andtext2" android:layout_width="wrap_content" android:layout_height="wrap_content" > <edittext android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margintop="110dp" android:layout_weight="50" android:ems="10" android:hint="@string/text2" /> <edittext android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margintop="110dp" android:layout_weight="50" android:ems="10" android:hint="@string/text2" /> </linearlayout> </linearlayout>
this theme problem. device using holo theme. try change theme desire (ui.light /ui.dark)in application manifest.
Comments
Post a Comment