android - How to solve rendering problems in AndroidStudio? -
i have started developing app android studio
, , now, no apparent reason, 1 of content xml files having rendering problems, seemingly missing theme or something. in both files, 1 working , 1 not working, there no reference theme in file.
i totally confused. not make sense me. please let me know files should post can take look!
content of file seems miss theme, or whatever:
android:layout_width="match_parent" android:layout_height="match_parent" android:usedefaultmargins="true" android:alignmentmode="alignbounds" android:columnorderpreserved="false" android:columncount="4" > <textview android:text="@string/maintitle" android:textsize="32dip" android:layout_columnspan="4" android:layout_gravity="center_horizontal" android:id="@+id/textview1" /> <textview android:text="you can configure email in few steps:" android:textsize="16dip" android:layout_columnspan="4" android:layout_gravity="left" /> <textview android:text="email address:" android:layout_gravity="right" /> <edittext android:ems="10" /> <textview android:text="password:" android:layout_column="0" android:layout_gravity="right" /> <edittext android:ems="8" /> <space android:layout_row="4" android:layout_column="0" android:layout_columnspan="3" android:layout_gravity="fill" /> <button android:text="next" android:id="@+id/imagebutton1" android:layout_row="5" android:layout_column="3" /> </gridlayout>
error:
rendering problems missing styles. correct theme chosen layout? use theme combo box above layout choose different layout, or fix theme style references. failed find style 'textviewstyle' in current theme (28 similar errors not shown)
i have run issue before well, , if remember correctly, error caused not having selected android api level (e.g., api 21: lollipop) in project settings.
Comments
Post a Comment