- Androidプログラミング質問スレ revision51 [無断転載禁止]©2ch.net
512 :デフォルトの名無しさん[]:2016/09/11(日) 17:10:40.60 ID:SX8CQv3Z - 解像度1920x1080の画像をImageViewで表示させてその上にTextViewで文字を表示させたいんだけど
どこを修正したらいいのかわからないんで助けて・・・ 以下、エラーメッセージ Rendering Problems Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layout to choose a different layout, or fix the theme style references. Failed to find '?attr/textEditSuggestionItemLayout' in current theme. (6 similar errors not shown) 開発環境 AndroidStudio 2.1.3
|
- Androidプログラミング質問スレ revision51 [無断転載禁止]©2ch.net
515 :デフォルトの名無しさん[sage]:2016/09/11(日) 18:09:20.36 ID:SX8CQv3Z - <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_widthとheight="fill_parent" android:padding上下左右="0dp" tools:context="" style="@android:style/Theme.Black.NoTitleBar.Fullscreen"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/ivPlay" android:layout_VerticalとHorizontall="true" android:src="@drawable/background_play" android:contentDescription="@string/background_play"/> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceLarge" android:id="@+id/tvTimeCount" android:text="@string/label_time" style="@style/CommonTextView" android:layout_alignParentTop="true" android:layout_marginTop="30dp" android:layout_centerHorizontal="true"/> </RelativeLayout> TextViewが1つにつき3 similar erros not shownが出てるようですが、調べても何もヒットしない・・・
|
- Androidプログラミング質問スレ revision51 [無断転載禁止]©2ch.net
517 :デフォルトの名無しさん[sage]:2016/09/11(日) 20:31:19.28 ID:SX8CQv3Z - エミュでRUNしてもアプリ起動と同時に動作停止するんです・・・
|
- Androidプログラミング質問スレ revision51 [無断転載禁止]©2ch.net
518 :デフォルトの名無しさん[sage]:2016/09/11(日) 20:46:01.58 ID:SX8CQv3Z - 若干自己解決
起動時に落ちるのはAppCompatActivityでNoTitleBarFullScreenにしてるから? 継承をAppCompatActivity→Activityにしたら通った ここで新たな疑問、AppCompatActivity→Activityにしたことで何か弊害が発生しますか? もしくはAppCompatActivityでフルスクリーンにする方法はありますか?
|