android-view
Android: Implement azimuth orientation sliding view
I am trying to create a ruler view based on azimuth compass orientation value. The idea is to place a small view at the bottom of a camera view which slides to the left or to the right according to th[详细]
2023-04-07 04:11 分类:问答Get margin of a View
How can I get the margin value of a View from an Activity? The View can be of any type. After a bit of searching I found out ways to get padding of a view, but couldn\'t find anything on Margin. Can[详细]
2023-04-06 00:02 分类:问答Trying to understand view hierarchy
I\'m writing an app with the sole purpose of trying to understand how the view hierarchy in Android works.I am having some really harsh problems in it right now.I\'ll try to be concise in my explanati[详细]
2023-04-05 17:13 分类:问答Make bitmap drawable tile in x but stretch in y
I have an image which I\'m using as a background for a RelativeLayout.The image needs to be tiled horizontally to make a pattern.[详细]
2023-04-05 16:27 分类:问答How to retrieve view id from application compiled and obfuscated by proguard?
I\'m writing tests for application that is compiled and obfuscated. Currently to access View I use Id form /res/values/public.xml[详细]
2023-04-05 06:46 分类:问答Touch Listeners for Parent and Child Views
I have a HorizontalScrollView inside a ViewPager , I have disabled the ontouchevent of the view pager, but the problem is horizontal scroll view is disturbed by this. It doesn\'t work properly, only m[详细]
2023-04-04 19:11 分类:问答Android TimePicker - How to change to AM/PM when the time gets past 12 in 12h mode?
Is there a way to change the time from AM to PM(and vice versa) when the user clicks the \'+\' or \'-\' buttons of a TimePicker View, and the time gets past 12?[详细]
2023-04-04 10:38 分类:问答What is the purpose of setContentDescription() of a view?
I was in a dialemma on how to associate a string information to 开发者_JAVA百科a view. I came across two methods[详细]
2023-04-04 07:16 分类:问答How to display string response from db as one by one in Android?
I am new developer in android.开发者_如何学C I am working with soap object in my application for communicate with the .net db services.I am getting response as strings from DB server. But my intention[详细]
2023-04-04 05:20 分类:问答How to display text with two-color background?
I need to create an app for android, where the 2-color text will be displayed on the 2-color background. See picture on the left. Then, the line should be moved with animation and result image should[详细]
2023-04-04 03:40 分类:问答