Back to project page MyBarr-android.
The source code is released under:
/* Copyright (c) 2011 Rdio Inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the S...
If you think the Android project MyBarr-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.music.mybarr.activities; // w w w. j a v a2 s .co m import com.music.mybarr.R; import android.app.AlertDialog; import android.app.Dialog; import android.app.DialogFragment; import android.os.Bundle; import android.view.LayoutInflater; public class RdioProgress extends DialogFragment { @Override public Dialog onCreateDialog(Bundle savedInstanceState) { LayoutInflater inflater = getActivity().getLayoutInflater(); AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); String message = getArguments().getString("message"); builder.setMessage(message); builder.setView(inflater.inflate(R.layout.dialog_progress, null)); return builder.create(); } }