-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi everyone,
I have a layout which does almost what I want. There's just one bug regarding the button at the bottom. I should stay at the bottom at all times. But whenever I bring up the soft-keyboard the button will be displayed above the keyboard. This is not what I want but it should become covered…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've just created a prototype of interface for my android app and tried to run it. Unfortunately I get an error that my app has stopped unexpectedly (my reputation doesn't allow me to post images so follow my links):
screenshot of error message
This is layout mode of editing. Everything looks as…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I just updated my app and I am getting some odd complaints from people who update it. I am only getting complaints from people with non-stock android phones (phones that manufacturers have modified...HTC phones, cliq, pulse, etc), other phones like the Droid, Nexus work fine. My app (Photo Frame Deluxe)…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have problems getting some of my views aligned in a relative layout that I use inside a row of my listview.
Here is a screenshot from the layout builder in Eclipse, this is what I think it should look like:
The next image is from the emulator. Now the TestTestTest View is at the top and covers…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Whenever I use a RatingBar view in my layout, I suddenly get all kinds of compile errors. I'm using Android 2.0, but I've also tried 2.0.1, and 2.1, without joy. I also get a message: Shader 'android.graphics.BitmapShader' is not supported in Layout Editor, and an odd warning which may or maynot be…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to figure out what is the best way to go about creating dialogs. I can either create my own Dialog class (which, to me, is more clean and organized), or I can use AlertDialog.Builder (which would be done inline, and funky looking)... What are the positivies and negatives of either implementation…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello all,
Does anyone know how to change the in/out animations of an extended AlertDialog? I connot figure out how to do this. See below for what I have so far (it doesn't work though):
public class PauseMenu extends AlertDialog
{
private Context myContext;
public PauseMenu(Context context…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
In the Android docs on AlertDialog, it gives the following instruction and example for setting a custom view in an AlertDialog:
If you want to display a more complex view, look up the FrameLayout called "body" and add your view to it:
FrameLayout fl = (FrameLayout) findViewById(R.id.body);
fl.add(myView…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello everyone,
I was wondering if someone could help me out. I am trying to create a custom AlertDialog. In order to do this, I added the following line of code in styles.xml
@drawable/color_panel_background
color_panel_background.9.png is located in drawable folder. This is also available…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have the following code:
public void button_login(View view) {
// Instantiate an AlertDialog.Builder with its constructor
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() {
public void…
>>> More