-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi all,
I respond to a button press on my appwidget in the onreceive method. When the button I pressed, I want to force the widget to call the onupdate method. How do I accomplish this?
Thanks in advance!
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi all,
I have a (hopefully) a relatively simple question. How do I tell Android which layout to use for portrait and which layout to use for landscape orientation on my AppWidget?
Thanks in advance!
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a ListFragment with a custom ArrayAdapter where I am overiding getView() to provide a custom View for the list item.
private class DirListAdaptor extends ArrayAdapter<DirItem> {
@Override
public View getView(int position, View convertView, ViewGroup parent) {
View aView…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Im trying to change height of Layouts through the code without success.
I've tried all of the examples i saw here and other site and my app just keep shutting down.
xml code:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main_lay"
android:orientation="vertical"
tools:context="…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've strange issue, that My application is working fine on some devices, But its crashing one of the client device(on Galaxy Nexus 4.1.1 v) at app starting screen. I get this stack trace from ACRA report.
java.lang.IndexOutOfBoundsException
at android.graphics.Paint.getTextRunAdvances(Paint…
>>> More