بروز خطا
[message]
اشتراک در سوال
رای ها
[dataList]
تعریف یک ویدئو ویو در اکتیویتی دیگر
سلام دوستان اگه بخوام از ویدئو ویو ای در یک اکتیویتی در اکتیویتی دیگر استفاده کنم باید چیکار کنم>>>>>>>>>>
برای این سوال 5 پاسخ وجود دارد.
پاسخ به سوال
Sajad HP
11 سال پیش
+1
0
باید برای ویدیو ویو یه اکتیویتی جدا ساخته بشه و هر جا خواستید ازش استفاده کنید کافیه از تگ include استفاده کنید.
پاسخ به سوال
Sajad HP
11 سال پیش
0
0
پاسخ به سوال
cormen2
11 سال پیش
0
0
باز نویسی کد دوست عزیزمون :
create file titlebar.xml <FrameLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width=”match_parent”
android:layout_height="wrap_content"android:background="@color/titlebar_bg"><ImageViewandroid:layout_width=
"wrap_content"android:layout_height="wrap_content"android:src="@drawable/gafricalogo"/></FrameLayout> In main layout : <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:orientation="vertical"android:layout_width
=”match_parent”android:layout_height=”match_parent”android:background="@color/app_bg"android:gravity="center_horizontal">
<includelayout="@layout/titlebar"/><TextViewandroid:layout_width=”match_parent”android:layout_height="wrap_content"android:text
="@string/hello"android:padding="10dp"
پاسخ به سوال
Sajad HP
11 سال پیش
0
0
<FrameLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:layout_width=”match_parent” android:layout_height="wrap_content" android:background="@color/titlebar_bg"> <ImageViewandroid:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/gafricalogo"/> </FrameLayout> <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width=”match_parent” android:layout_height=”match_parent” android:background="@color/app_bg" android:gravity="center_horizontal"> <includelayout="@layout/titlebar"/> <TextViewandroid:layout_width=”match_parent” android:layout_height="wrap_content" android:text="@string/hello" android:padding="10dp"/> </LinearLayout>
پاسخگویی و مشاهده پاسخ های این سوال تنها برای اعضای ویژه سایت امکان پذیر است .
چنانچه تمایل دارید به همه بخش ها دسترسی داشته باشید میتوانید از این بخش لایسنس این آموزش را خریداری نمایید .