edtitext default values comes in emulator not on device
I am having a weird problem, I have few EditText boxes in xml and I have
given them default values. I am using shared preferences too wherein I
save values entered by user.
Problem is that in Emulator EditText works fine but on real physical
device values are empty, am i missing something???
<EditText
android:id="@+id/etTRQPO"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="numberDecimal"
android:singleLine="true"
android:text="15">
</EditText>
No comments:
Post a Comment