|
Помогите "проявить" контролы на activity (Android Studio)
|
|||
---|---|---|---|
#18+
Приветствую! Поставил Android Studio, создал пустой проект с единственным activity для хеллоу ворда. Но один затык, в дизайнере формы активити не видно помешенных контролов. В эмуляторе они появляются, правда сверху. Вопрос: где затык, где я туплю? Заранее спасибо ... |
|||
:
Нравится:
Не нравится:
|
|||
16.06.2018, 23:46 |
|
Помогите "проявить" контролы на activity (Android Studio)
|
|||
---|---|---|---|
#18+
P.S. Или вот, взял за основу чистый проект с логин-маской. То же самое. ... |
|||
:
Нравится:
Не нравится:
|
|||
17.06.2018, 01:35 |
|
Помогите "проявить" контролы на activity (Android Studio)
|
|||
---|---|---|---|
#18+
Кроик СемёнВопрос: где затык, где я туплю? У меня такое было после кривого обновления... Я переставлял с нуля. ... |
|||
:
Нравится:
Не нравится:
|
|||
18.06.2018, 08:59 |
|
Помогите "проявить" контролы на activity (Android Studio)
|
|||
---|---|---|---|
#18+
Спасибо. Переставлю тогда. Главное ведь это свежая инсталляция (на Win 10, 64bit). ... |
|||
:
Нравится:
Не нравится:
|
|||
18.06.2018, 11:31 |
|
Помогите "проявить" контролы на activity (Android Studio)
|
|||
---|---|---|---|
#18+
Проблема решена, всё оказалось в теме оформления. Забил в гугле варнунги из нижней части IDE (те, которые с восклицательным знаком) и нашел ответ здесь . Вот что там один ответил: Q: 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 style mapViewStyle in current theme. ... A: I had the same problem and found it was the Theme dropdown at the top of the graphical layout editor. I changed from Holo to Theme and the layout displayed and error disappeared. ... |
|||
:
Нравится:
Не нравится:
|
|||
18.06.2018, 22:58 |
|
Помогите "проявить" контролы на activity (Android Studio)
|
|||
---|---|---|---|
#18+
... |
|||
:
Нравится:
Не нравится:
|
|||
18.06.2018, 22:58 |
|
Помогите "проявить" контролы на activity (Android Studio)
|
|||
---|---|---|---|
#18+
... |
|||
:
Нравится:
Не нравится:
|
|||
18.06.2018, 22:58 |
|
Помогите "проявить" контролы на activity (Android Studio)
|
|||
---|---|---|---|
#18+
Буквально вчера озадачился тем же самым вопросом. Новоустановленная android studio. Новый проект а одной activity по шаблону Basic Activity. В дизайне не отображает контролы на форме. При запуске всё на местах (тулбар сверху, посередине формы "Хэлло ворлд", снизу справа плавающая кнопка). Гуглил, нашел то же самое, что из-за тем скорее всего. Только вот изменение тем не помогает, перетыкал практически все - нет контролов в дизайне. Может кто что-нить подсказать? ... |
|||
:
Нравится:
Не нравится:
|
|||
18.07.2018, 08:25 |
|
Помогите "проявить" контролы на activity (Android Studio)
|
|||
---|---|---|---|
#18+
А какие warnings на панели "messages"? ... |
|||
:
Нравится:
Не нравится:
|
|||
21.07.2018, 12:06 |
|
Помогите "проявить" контролы на activity (Android Studio)
|
|||
---|---|---|---|
#18+
Кроик Семён, (Error) Render problem: Failed to find style 'coordinatorLayoutStyle' in current theme Tip: Try to refresh the layout. (Warning) Using private resources: The resource @string/appbar_scrolling_view_behavior is marked as private in com.android.support:design Private resources should not be referenced; the may not be present everywhere, and even where they are they may disappear without notice. To fix this, copy the resource into your own project instead. (Info) Missing styles: 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. (Info) Failed to instantiate one or more classes: The following classes could not be instantiated: - android.support.design.widget.CoordinatorLayout (Open Class, Show Exception, Clear Cache) - android.support.design.widget.AppBarLayout (Open Class, Show Exception, Clear Cache) Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE. If this is an unexpected error you can also try to build the project, then manually refresh the layout. Exception Details java.lang.ClassNotFoundException: android.view.View$OnUnhandledKeyEventListener Copy stack to clipboard ... |
|||
:
Нравится:
Не нравится:
|
|||
26.07.2018, 16:25 |
|
|
start [/forum/topic.php?fid=13&msg=39661630&tid=1330866]: |
0ms |
get settings: |
11ms |
get forum list: |
16ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
38ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
53ms |
get tp. blocked users: |
1ms |
others: | 236ms |
total: | 378ms |
0 / 0 |