Skip to main content
1 vote
1 answer
67 views

I was under the impression that the value returned by View.getWidth() includes padding in it. I don't think I'm hallucinating things - a common line of code that Android developers write is something ...
riamse's user avatar
  • 371
0 votes
0 answers
46 views

I have a lottie Animation which i need to overflow outside the view. I have set clipChildren , clipToPadding, clipToOutilne as false for the view and its parents. But the lottie animation is still ...
Vidya Mohanraj's user avatar
0 votes
1 answer
64 views

So where i write Textview or imageview are real items so when i scroll the nested scroll will start scrolling specially all my 3 recycles are there i tried many ways did not really solve my problem so ...
wayne chirwa's user avatar
1 vote
1 answer
62 views

Yet another SO question about ConstraintLayout and positioning. I have been having trouble with a particular layout, so I decided to go back to the basics and see what I'm not understanding. Copied ...
Dan Davis's user avatar
  • 603
Advice
0 votes
0 replies
18 views

I'm new to Android and am making a simple app for personal use. The layout I want to get is a button on the top, followed by a scroll view, followed by 2 other buttons that are always locked at the ...
Aisaax's user avatar
  • 604
1 vote
0 answers
77 views

problem The time it takes to inflate is around 15ms ~ 8ms for a custom view, which is super long. long startTime = System.nanoTime(); LayoutInflater.from(context).inflate(R.layout.view_profile,...
Nor.Z's user avatar
  • 1,605
2 votes
1 answer
73 views

I’m trying to understand how VectorDrawable rendering works in Android in terms of performance. Suppose I have a vector resource defined like this: <vector xmlns:android="http://schemas....
Hussein Yaqoobi's user avatar
0 votes
1 answer
49 views

I'm trying to configure a watch face I am working on. I can't seem to make the condition work. The Condition documentation is hard for me to understand - with lack of examples (online and in-...
3kstc's user avatar
  • 1,984
0 votes
0 answers
53 views

I’m having an issue with a Frame Layout inside a Fragment that also contains a Google Map and a BottomNavigationView. Here’s my setup: A BottomNavigationView is anchored to the bottom of the screen. ...
Mr T's user avatar
  • 123
-1 votes
1 answer
53 views

I want to increase Multiline Text height when user adding new line. Currently I use contraint layout and put 2 Multiline Text in it. The 2 Multiline Text is put on 2 rows with default 3 line size. I ...
rheza 555's user avatar
0 votes
1 answer
87 views

I have a structure with a Toolbar, then an AppbarLayout containing a Tabbar and some additional area and below the AppbarLayout I use a Viewpager. The additional area should collapse when I scroll in ...
Sarah Multitasker's user avatar
0 votes
1 answer
65 views

I have six button in two Linear Layouts, three in each linear layout. But If I hide any button from any Linear layout they are rearranged accordingly in the same linear layout. But I required the If I ...
Asif Hussain's user avatar
0 votes
0 answers
64 views

My Android game (NativeActivity) opens a system dialog with an EditText field for text entry. The dialog opens fine and the text is editable, but when I select some text in order to cut/copy, the ...
Bungles's user avatar
  • 2,319
0 votes
1 answer
25 views

The following is in AndroidManifest.xml: <application android:theme="@style/FooAppThemeStyle" ... > In style.xml: <style name="FooAppThemeStyle&...
Hong's user avatar
  • 18.7k
0 votes
0 answers
11 views

I'm modifying some code (which I didn't write) which uses a MultiSelectListPreference defined with xml (I would have done it with code) like this:- <MultiSelectListPreference ...
Richard Parkins's user avatar

15 30 50 per page
1
2 3 4 5
3934