Skip to content

Tag: android

Dynamic buttons look different than static buttons

I have a layout problem. In my XML, I have some static buttons: So this is a list of buttons and I would like to add some further buttons dynamically. This is how I do it: And this is how they look like: I am missing the spaces between the dynamic buttons. It looks like the buttons have been added

How to add tiny charts in TableView

I’m relatively new to android and want to know how they add very tiny line charts in table view controls. For example, as shown below: I have tried this so far: implementation ‘com.github.PhilJay:MPAndroidChart:v3.1.0’ But it does not show in LinearLayout Layout without chart: And result wit…

SetText in fragment from outside class

I have a fragment that displays data from APIs, but i dont want to be calling apis everytime the fragment is called.. so am making api call from a different class and and calling a method in the fragment to update UI (textViews) but am getting null exception for the textViews but data is 100% there and if i t…

inApp Update, download but not installed

I have a problem with inapp update. A new version window appears, when you press the “Update now” button, unfortunately nothing happens, the application downloads in the background, but nothing happens app is not updated. I would like to add that I am testing it on the “Open Test” in p…