Tagged Questions
42
votes
2answers
14k views
Show AlertDialog in any position of the screen
When we show an AlertDialog in android it shows in the center of the screen. Is there any way to change the position?
16
votes
1answer
7k views
How to make Android 4.0 apps backwards compatible?
Android 4.0 (ICS) has lots of new UI guidelines which are great. The problem is that going forward, I'm not sure how to build an app for Android 4.0 and make sure that the app looks the same/similar ...
10
votes
4answers
3k views
What View Component does the Google Plus App (Stream) use?
if you use the Google Plus App on Android and switch to the Stream, you get a view where you can swipe to the left and right between the All circles/Incoming/Nearby-Stream. What view component is used ...
10
votes
4answers
6k views
Android getMeasuredHeight returns wrong values !
I'm trying to determine the real dimension in pixels of some UI elements !
Those elements are inflated from a .xml file and are initialized with dip width and height so that the GUI will eventually ...
9
votes
5answers
18k views
How to add scroll bar to the Relative Layout?
I am new to the Android app development. Now I am designing an app, in that I have an Activity which is containing some content but these content is some what more so the content is out of the screen. ...
9
votes
4answers
18k views
Sizing an Android multi-line TextView
I have an Activity where I want to display a heading that takes up the top quarter of the app and displays a dynamic set of text. In some cases it'll all fit on one line and I'd like the font size to ...
8
votes
1answer
764 views
Theme dependent colors of selected widgets
I'm pretty sure that this question already has been answered somewhere. It just seems too common. But I can't find the answer. I can't also figure out the solution.
Here's the problem:
I want one of ...
7
votes
2answers
274 views
Slow loading of layout
I have a super class which is in a library. This library take care of initializing some basic layout components and other stuff. My problem is that it takes 1.x seconds to load the layout, and shows ...
7
votes
1answer
383 views
Inner shadow on circle Android Canvas
I need to make inner shadow and gradient on Circle which I draw in onDraw() method of my view see this (sorry, because of I'm new to StackOverflow I can't post images yet)
I figure out how to get ...
6
votes
7answers
9k views
How to align LinearLayout at the center of its parent?
I've looked through numerous similar questions here at SO, but nothing helps.
I have a hierarchy of different nested layouts, all have android:layout_width="fill_parent", and the inner-most layout has ...
5
votes
1answer
2k views
How to create Android Google Play's Grid View like Widget with different size images loaded dynamically
Hi
I have enclosed two app images which has grid view like widgets with different image heights and widths, loaded dynamically ,i need to create the same type of UI ,i could be glad if someone ...
5
votes
2answers
174 views
Android Universal App Approach
I want to develop an universal app . I am novice to this approach .That means a single apk for both tablet and phone application . I had go through
Support Library
Fragments
My aim is to build ...
5
votes
4answers
422 views
Reverse the direction of a LinearLayout
How can I reverse the direction of a linear layout?
for example, if my layout is [view1, view2, view3] I want to create [view3, view2, view1]. My goal is to inflate a left and a right handed ...
5
votes
4answers
2k views
How to show icons in ActionBar overflow menu?
I want to display icon in addition to menu item title in overflow dropdown menu.
Is is possible?
5
votes
3answers
406 views
Greeting Card Flip-View Animation
I'm working on greeting card application and i need card flip-view type of View. i've added images for same.
I've been through multiple flip-view like libraries and i found android-flipview
more ...