关于Android mediaplayer s 采用按键点击无法快进问题 mediaplayerandroidtv遥控器seelbar 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 XML代码:<?xml version="1.0" encoding="utf-8"?><FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" > <SurfaceView android:id="@+id/mSurfaceView" android:layout_width="wrap_content" android:layout_height="wrap_content" > </SurfaceView> <ProgressBar android:id="@+id/pb" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" /> <Button android:layout_marginBottom="14dp" android:layout_gravity="bottom|center" android:id="@+id/play" android:layout_width="85dp" android:layout_height="35dp" android:background="@drawable/movie_stop_bt" android:focusable="true" android:focusableInTouchMode="true"/> <RelativeLayout android:id="@+id/rl2" android:layout_width="fill_parent" android:layout_height="55dp" android:background="#00000000" android:focusable="true" android:gravity="top" > <Button android:id="@+id/back" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" android:layout_marginLeft="5dp" android:background="@drawable/back_bt_seletor" android:paddingLeft="5dp" android:text="返回" android:textColor="#ffffff" android:textSize="10sp" /> <SeekBar android:id="@+id/seekbar" style="?android:attr/progressBarStyleHorizontal" android:layout_width="fill_parent" android:layout_height="12dp" android:layout_centerVertical="true" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:layout_toRightOf="@+id/back" android:background="@drawable/seek_bar" android:focusable="true" android:focusableInTouchMode="true" android:thumb="@drawable/seek_bar_seletor" /> </RelativeLayout> </FrameLayout> 求一个简单的java xmpp 发送端和接受端例子 按下返回键 不退出应用程序 从桌面点击再回来 类似腾讯微博 android出现错误,求指导!! OpenglES画立方体的时候的单位问题 跪求authoware简历 求助Android源码的主Makefile文件 请问android uboot 和 little kernel是什么关系? 哈哈,Seasons in the sun android自定义控件及特效资料 [StatusBar/SystemUI]懂状态栏的大侠我请你们喝酒 文卓爷模拟器与bluestacks安卓模拟器的优势 eclipse android sdk 无法更新解决办法
XML代码:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<SurfaceView
android:id="@+id/mSurfaceView"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
</SurfaceView> <ProgressBar
android:id="@+id/pb"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
/> <Button
android:layout_marginBottom="14dp"
android:layout_gravity="bottom|center"
android:id="@+id/play"
android:layout_width="85dp"
android:layout_height="35dp"
android:background="@drawable/movie_stop_bt"
android:focusable="true" android:focusableInTouchMode="true"/> <RelativeLayout
android:id="@+id/rl2"
android:layout_width="fill_parent"
android:layout_height="55dp"
android:background="#00000000"
android:focusable="true"
android:gravity="top" > <Button
android:id="@+id/back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:background="@drawable/back_bt_seletor"
android:paddingLeft="5dp"
android:text="返回"
android:textColor="#ffffff"
android:textSize="10sp" /> <SeekBar
android:id="@+id/seekbar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="fill_parent"
android:layout_height="12dp"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_toRightOf="@+id/back"
android:background="@drawable/seek_bar"
android:focusable="true"
android:focusableInTouchMode="true"
android:thumb="@drawable/seek_bar_seletor" /> </RelativeLayout> </FrameLayout>