Anonymous
На f-droid посмотри
Anonymous
Оу
Delt@[•_•]
Помогите понять и сделать правильно разметку: https://gist.github.com/anonymous/3aeae0b8b7c819b02286b2a5a914df02
Anonymous
Доброго времени суток! Обновил Android Studio до 3.0.1 и после этого не могу запускать приложения на эмуляторе возникает вот такая ощибка: Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. > More than one file was found with OS independent path 'com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_ZA' не кто не решил такую проблему?
Mikhail
Mikhail
Mikhail
Как можно реализовать подобный view для "календаря"?
Mikhail
(верхняя белая часть, выезжающий список дней)
Anonymous
не могу понять почему мой код не работает LayoutInflater inflater = (LayoutInflater) authorized.this.getSystemService(Context.LAYOUT_INFLATER_SERVICE); LinearLayout nhm = (LinearLayout) inflater.inflate(R.layout.nav_header_main,null); ImageView UserImage = (ImageView) nhm.findViewById(R.id.imageView); Picasso.with(this) .load("http://content.bronity.ru/content/3/1-BBDTytk3sa1510429875.jpg") .placeholder(R.drawable.guest2) .error(R.drawable.ic_menu_camera) .into(UserImage); И тоже самое с TextView
Anonymous
Да,в корневом шаблоне работает
Anonymous
Тоже самое с TextView он тоже не обновляется
Anonymous
Работаю в одном потоке
Anonymous
Всем привет. Есть те кто пришел из жаба-ынтерпрайза или пилит его параллельно? Посоветуйте как в это все вникнуть? Смотрел видеокурс, но там разбираются потроха jdbc и спринга. Это конечно хорошо, но мне бы быстрее начать работать над проектом. Что гуглить?
Anonymous
Порешал несколько примеров со spring.io, понял только что аннотации наше все xD
B.
Про Spring boot посмотри на хабре, там очень много чего из коробки сразу для веба/вебсервисов, все довольно несложно..
Jacob
На вид огонь )) https://javalin.io/
Anonymous
Хи еще один броняш :) мы захватываем мир)
Anonymous
Aldres
Здравствуйте, есть такой вопрос - существует NumberPicker, ему назначены minValue 2006 и maxValue 2018, как можно исключить из этих значений одно-единственное?
Anonymous
hello, can I ask a question in English? i understand russian but unable to speak in it
Anonymous
Hi! let's try!😁👍
thanks a lot, i have got an android app problem that I must resolve pretty much as fast as possible
Глеб
thanks a lot, i have got an android app problem that I must resolve pretty much as fast as possible
Note: My english not very well too, but, I think we available for base understanding
Anonymous
the problem is with action bar.
Anonymous
i have an application with 2 activities and several fragments
Anonymous
the first activity is just a splash activity, the second one is the main logic
Глеб
ок
Anonymous
and, let's say that in the main activity i have many fragments, two of which are\
Anonymous
1) list of recipes that users uploaded
Anonymous
2) recipe details, like photo, description, ingredients
Anonymous
and, the second screen consists of a collapsing toolbar layout, as well as of view pager
Anonymous
let me show it:
Anonymous
Anonymous
Anonymous
folded up and expanded
Anonymous
now, can you already spot the problem?
Anonymous
it's that dark bar above
Anonymous
i was trying to hide action bar in multitude of ways
Artem
Are you using translucent status bar theme for current activity?
Anonymous
1) gestsupportactionbar().hide() 2) styles.xml 3) getWindow().requestFeature()
Artem
Theme.AppCompat
Could you show us theme modifiers you did in your styles.xml?
Anonymous
just a sec
Anonymous
oh, and the funniest thing is that
Anonymous
actually, hide() was working
Anonymous
but... 3 commits ago or so
Anonymous
i decided to get back the relevant files from 3 commits before
Anonymous
and all of them were the same, including styles.xml
Anonymous
but just a sec, i'll show u
Anonymous
https://gist.github.com/anonymous/23f991c1431133e381f0a7b8709a5bed ^ code of recipe_details.xml and RecipeDetailsFragment.java, styles.xml coming right up
Alex
you should use @style/Theme.AppCompat.Light.NoActionBar theme for your activity where you want to have no actionbar
Anonymous
https://gist.github.com/anonymous/061b5410a7a0daacb21a5786a2fb8d0f
Alex
like this <style name="NoActionBarTheme" parent="@style/Theme.AppCompat.Light.NoActionBar"> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAccent</item> </style>manifest: <activity android:name=".ui.newsample.NewSampleActivity" android:theme="@style/NoActionBarTheme" />makes sense?
Anonymous
yes, of course, but i managed to hide that bar dynamically with getsupportactionbar().hide()
Anonymous
and only SplashActivity used that NoActionBarTheme
Глеб
yes, of course, but i managed to hide that bar dynamically with getsupportactionbar().hide()
Programatically - bad idea, styles and temes - necessary for tunning
Глеб
hmm
Anonymous
Programatically - bad idea, styles and temes - necessary for tunning
i see, what if i want to hide action bar just for one fragment?
Anonymous
i want to do that because of that ViewPager and CollapsingToolbarLayout
Anonymous
CTL uses its own Toolbar
Anonymous
this is why 2 toolbars appear
Anonymous
still, it is definitely weird to me that it WORKED like 3 commits ago
Artem
Toolbar is just a regular view
Anonymous
of course, but 2 toolbars on a single screen?
Artem
You could add it to master fragment.
Artem
And remove from activity
Глеб
Your activity recives incorrect theme (that contain "native ab")...just a sec, pls
Anonymous
i understand
Anonymous
anyway, if it could be done by some sort of hack, as for now
Anonymous
just only for now
Anonymous
then i would have to accept this
Глеб
of course, but 2 toolbars on a single screen?
A bit discuss in Russian.... im sorry ))
Anonymous
it is an OOP course
Anonymous
A bit discuss in Russian.... im sorry ))
you can speak in russian to me actually