0
votes
0answers
70 views

How do I implement this appwidget layout correctly so that the image scales as expected on all devices?

Pretty simple App widget layout below that I am looking at as an end result that should display exactly the same way on all devices irrespective of size,density etc. Here is what I have done. ...
0
votes
1answer
27 views

How can we give link to another activity when i press some numbers(example 645378) in dial pad?

How can we give link to another activity when i press some numbers(example 645378) in dial pad? and after entering this number in dial pad and when call button is pressed then i want to go for another ...
1
vote
1answer
59 views

Button being cast to a checkbox for some strange reason?

I'm trying to get 2 columns of checkboxes (not with a table-layout) with a button at the bottom of each row. Trouble is that when i do this the button (in the first column) looks like it is being ...
0
votes
2answers
45 views

How to get the index of an item at a specific offset from the top in Android ListView

Is there a simple way for getting the index of a list item which is in a specific offset from the top? For example, get the index of an item which appears 150 pixels from the top.
0
votes
2answers
86 views

How to align widgets with some position on background, and also display right on different devices?

I'm not a designer but recently, I have been asked to change Login Screen UI for the app of my company. I have got a background image from a designer. This image is a complete login screen. That ...
0
votes
0answers
88 views

Selection animation for ListView item is larger than the Widget containing it

I am trying to create a scrollable home screen widget. All the widget is required to do is display a text view and open the app when tapped. The widget is scrollable as the text will be changing ...
0
votes
1answer
182 views

Following Android drag and drop example, error “btn_default_pressed cannot be resolved or is not a field”

Working in min API 15, I'm trying to find how I can drag and drop one item element out of a ListView list onto a TextView above it (just to copy the text into it). I'm trying to follow this example: ...
0
votes
1answer
131 views

ViewPager Screen Slides strange artifacts

I followed the example here from Android dev site for my GridView fragment photo app (photos layout in gridview, when clicked a photo will start slideable fullscreen). I got this strange artifact ...
0
votes
1answer
186 views

Android Absolute Position

I want to draw a splash screen with a centered image on load of my application to cover my initial UI. I then want to fade the background color the splash screen out into my app while animating the ...
0
votes
2answers
522 views

ListView row height and another interesting issue of selective focus (when the parent is scrolled)

First of all, excuse me if it sounds duplicate. I have visited so many threads but couldn't find a suitable answer of my problem. I have tried ScrollingMovementMethod, android:scrollbar, wrap_content ...
1
vote
2answers
1k views

Android spinner adapter setDropDownViewResource custom layout with radiobutton

I use Spinner in Dialog Mode. I set SimpleCursorAdapter for the Spinner with setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); That works fine. Now instead of ...
0
votes
0answers
22 views

Styling only TextViews on android

I have two themes defined. For every theme; i want all my TextView widgets textColor attribute set to a specific color. The style must be applied for only the TextView widgets. How can i manage this?
1
vote
1answer
2k views

Are there custom UI toolkits for Android? [closed]

The options that the standard UI palette, while OK, are not the most exciting. Before I go down the road of making some custom elements, I was wondering if there exist any UI toolkits for Android ...
0
votes
2answers
673 views

creating custom vertical seekbar, android

In my application I require a vertical seekbar, something like this: I dont know how to modify android's default seekbar to look like this ! also I dont know any external 3rd party library which ...
0
votes
2answers
577 views

EditText in Layout not full width

I have problem with xml. Why my EditText doesn't show for full screen width? It showing about 80% of screen width, but not all.. <ScrollView android:layout_width="match_parent" ...
0
votes
1answer
217 views

How to let users draw a circle on google map in android using touch event?

I have been working on an android application where I need to get radius as input from users. I have been searching for a way (with no luck) to let users draw a circle (maybe a polygon too) on goolge ...
3
votes
3answers
166 views

How to set Position of a Dialog to where user clicks on the MapView?

I'm using google maps MapView in my project. I need to create a Dialog like google map when user user clicks at a particular Marker on the map and I need to position that Dialog where user ...
0
votes
1answer
157 views

Library UI for android

Question: I want to make a wooden shelf which can hold magazine. I am going with the list view having wooden shelf as background image. I have used customized list with 3 image view in portrait mode ...
0
votes
1answer
77 views

Use of fragment in UI

Question: I have to create a tablet application. In this i want to make use of fragments.In one fragment there will be list and in the second fragment there will be grid. I have gone through the ...
1
vote
1answer
162 views

Android NumberPicker how to find amount changed?

I'd like to display the amount a number picker value changed from when a user starts scrolling to the final value. I've found the OnValueChangeListener but the problem is this gets called on every ...
0
votes
1answer
211 views

Android custom button sensitivity

I have created a custom button like this : <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item ...
22
votes
7answers
4k views

Open source Android libraries? Reusable Views, ViewGroups, Adapters etc?

Here's what I really want: a site collecting re-usable components for Android. I have found various small lists, the biggest being the Open Intents library list. Mark Murphy (hi, Mark) also lists the ...
0
votes
2answers
163 views

Can I create a android custom control using the xml attributes alone?

Is it possible to create a android UI custom control. I need three labels to be placed inside a single Linear Layout. Should I need to extend Linear Layout class for this purpose? Is it possible ...
0
votes
1answer
207 views

Which xml attribute is to be set to disable android seekbar

Please help me to disable the seekbar through the xml file rather than through the code <SeekBar ........ android:clickable="false" android:longClickable="false" ...
1
vote
2answers
759 views

How to make a reusable EditText with clear button?

I want to make a compound control that is a EditText with a clear button. Since the main functionality will be the EditText functionality, I want it to be declarable in layout xmls with all the ...
0
votes
1answer
55 views

what event listener to add to radio button when page is swiped in Android?

I am working on a page controller application. My logic involves placing custom radio buttons at the bottom of one page. I would like to create a listener on the radio button when the user swipes ...
0
votes
1answer
241 views

Is there a default Android view widget with textbox and 2 knobs?

Is there a default view that allows a number textbox, which can be changed by typing in the textbox or by two adjacent knobs by the textbox. So basically, in awesome ASCII graphics: [<] [textbox] ...
2
votes
2answers
814 views

Set Link Clickable in Java-Android

I am designing an App, where there is TextView, and based on some check condition, I want to make links / phone numbers in the TextView clickable in Java side. Can I do this, I don't want to make it ...
2
votes
2answers
207 views

Android Widgets Naming Standards

In my Android application, for example when I am inserting a Button and adding a static value for it as follows: android:text="MY BUTTON" It gives a warning saying Hardcoded string "MY BUTTON", ...
2
votes
4answers
90 views

what is the name of this widget and how can i use it in my app?

I want to know what is the name of this widget , and how to use it in my app, i've already see it in some apps in the Android market, but i don't know what is it's name and how to use it in some ...

1 2
15 30 50 per page