android-view
Android: why setVisibility(View.GONE); or setVisibility(View.INVISIBLE); do not work
I want my DatePicker and the button to be invisible in the b开发者_如何学运维egining. And when I press my magic button I want to setVisibility(View.Visible);[详细]
2023-04-03 07:34 分类:问答How to add a Button (like 'Clear History') below the expanded SearchView (showing 10 recent searches) in Android?
Can anyone please help in how to add a button to the expanded SearchView (placed in ActionBar) below the list of recent search suggestions the SearchView is showing?[详细]
2023-03-31 13:36 分类:问答How to change the color of listview "end of scroll" drag color?
I have a ListView that has a large number of items. If an attempt is made to scroll the ListView upwards when it already is at the top of the list, the following orangish gradient appears in the Listv[详细]
2023-03-31 03:36 分类:问答Android Layout Questions
I tried to create an edittext textbox that will compute the width a开发者_C百科nd height automatically by using the WRAP_CONTENT way. However, at some point of time I will need the actual height of th[详细]
2023-03-29 17:07 分类:问答When using setContentView, I see the system wallpaper for a second
I\'m switching a contentView to fullscreen mode, and when the view is being switched, I\'m able to see the system wallpaper for a couple sections开发者_开发技巧, before the view is actually changed, a[详细]
2023-03-29 14:38 分类:问答Get fragment's container view id
I have a fragment added using transaction.add(R.id.content, fragment, null); and I need to start new fragment from this one. But to do this I need to know first fragment\'s container view id (R.id.[详细]
2023-03-25 03:28 分类:问答Can not find a View with findViewById()
I cannot find a TextView by calling findViewById(), even though the ID does exist. OtherActivity: public class OtherActivity extends Activity {[详细]
2023-03-21 21:46 分类:问答Android admob ads ruin layout?
I am fairly new to android dev, and I am looking at implementing android admob ads into my app. I have never implemented ads before, so I was wondering if the ad squashes the layout on the screen or i[详细]
2023-03-12 01:51 分类:问答Possible to get reference to a View without setting the ContentView of an Activity
I want to be able to get reference to a RelativeLayout in the same way as RelativeLayout relative = (RelativeLayout)findView开发者_StackOverflowById(R.id.relative);[详细]
2023-03-04 05:41 分类:问答Whats up with setScaleX/setScaleY?
While trying to find a solution for the layout that I want, I came across the setScaleX/setScaleY methods, which are members of the View class.[详细]
2023-02-27 12:23 分类:问答