Click here to Skip to main content
15,868,004 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I've had a similar problem before.
Progress bar is not showing any progress while recording the audio file .It is working for 2.3.3 version and 3.0 version and when i check for 4.0 version it is not showing any progress.Also when i click stop button it is closing the application.I have minimum target version as 10 and maximum target version as 16 in my application. This is the xml code which i have tried.
layer-list xmlns:android="http:schemas.android.comapkresandroid"

        item android:id="@android:idbackground"
            shape
                corners android:radius="5dip"
                gradient
                        android:startColor="#ff9d9e9d"
                        android:centerColor="#ff5a5d5a"
                        android:centerY="0.75"
                        android:endColor="#ff747674"
                        android:angle="270"

            shape
        item

        item android:id="@android:idsecondaryProgress"
            clip
                shape
                    corners android:radius="5dip"
                    gradient
                            android:startColor="#80ffd300"
                            android:centerColor="#80ffb600"
                            android:centerY="0.75"
                            android:endColor="#a0ffcb00"
                            android:angle="270"

                shape
            clip
        item

        item android:id="@android:idprogress"
            clip
                shape
                    corners android:radius="5dip"
                    gradient
                            android:startColor="#ffffd300"
                            android:centerColor="#ffffb600"
                            android:centerY="0.75"
                            android:endColor="#ffffcb00"
                            android:angle="270"

                shape
            clip
        item

    layer-list


What I have tried:

In fact, there is not much in the way
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900