Android:可以在Textview中嵌入静态水平进度条吗?

问题描述

| 我认为这不可能,但是可以在Textview中嵌入静态(确定的)水平进度条吗? Update1:​​我正在尝试创建类似于iPhone的进度条,但是我也需要在其上方添加文本。 这是一张图片:http://i.stack.imgur.com/aDFU9.png 更新2:
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"
    android:orientation=\"vertical\"
    android:layout_width=\"fill_parent\"
    android:layout_height=\"fill_parent\"
    >
<TextView  
    android:layout_width=\"fill_parent\" 
    android:layout_height=\"wrap_content\" 
    android:text=\"@string/hello\"
    />
<ProgressBar
    style=\"@android:style/Widget.ProgressBar.Horizontal\"
    android:id=\"@+id/pbar1\"
    android:layout_width=\"wrap_content\"
    android:layout_height=\"wrap_content\"
    android:max=\"100\"
    android:progress=\"45\"
    android:maxHeight=\"5sp\"
    android:layout_marginRight=\"5dp\" />
</LinearLayout>
这是图片:http://i.stack.imgur.com/ypimG.png 现在,我的目标是使外观看起来像上一张图​​片。     

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)