80,359
社区成员
发帖
与我相关
我的任务
分享
fullscreenRL=(RelativeLayout)findViewById(R.id.FLBottom);
fullscreenRL.getBackground().setAlpha(100);
fullscreenRL.setVisibility(View.GONE);
//fullscreenRL.setVisibility(View.VISIBLE);
<FrameLayout
android:id="@+id/mainFL"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<com.jht.playvideo.VideoView android:id="@+id/fsSurface"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<RelativeLayout
android:id="@+id/FLBottom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:background="@drawable/fullscreenbottombg">
<SeekBar
android:id="@+id/fsseekbar"
android:layout_width="500dp"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:maxHeight="5dp"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:progressDrawable="@drawable/fullseekbar"
android:thumb="@drawable/fullseekbarslid"/>
<TextView android:id="@+id/fulldurationtime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/fsseekbar"
android:layout_centerVertical="true"/>
<Button
android:id="@+id/playorpausebtn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/fulldurationtime"
android:layout_marginRight="10dp"
android:background="@drawable/suspendbtnstor"
android:layout_centerVertical="true" />
<TextView android:id="@+id/fulltotaltime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/fsseekbar"
android:layout_centerVertical="true"/>
<ImageView
android:id="@+id/soundimg"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="10dp"
android:layout_toRightOf="@+id/fulltotaltime"
android:background="@drawable/voice" />
<SeekBar
android:id="@+id/soundseekbar"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/soundimg"
android:maxHeight="5dp"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:progressDrawable="@drawable/voicebarbg"
android:thumb="@drawable/voiceslid" />
</RelativeLayout>
</FrameLayout>