mohsen.hex
جمعه 15 فروردین 1393, 09:33 صبح
سلام دوستان
من میخام
satellite-menu (http://www.mediafire.com/download/1r3p91w9y36yvdr/android-satellite-menu-master.rar) رو به برنامم اضاف کنم ولی هرکار میکنم ارور دارم
ادرس برنامه (http://barnamenevis.org/showthread.php?401729-%D9%86%D9%85%D9%88%D9%86%D9%87-%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87-%D9%87%D8%A7%DB%8C-%DA%A9%D9%88%DA%86%DA%A9-%D9%88-%D9%85%D9%81%D9%8A%D8%AF-%D8%A7%D9%86%D8%AF%D8%B1%D9%88%DB%8C%D8%AF&p=1960037&viewfull=1#post1960037)
android-apt-compiler: [AtxDroid intelll] F:\android\intellij\AtxDroid\res\layout\activity_m ain.xml:17: error: No resource identifier found for attribute 'satelliteDistance' in package 'android.view.ext'
android-apt-compiler: [AtxDroid intelll] F:\android\intellij\AtxDroid\res\layout\activity_m ain.xml:17: error: No resource identifier found for attribute 'mainImage' in package 'android.view.ext'
android-apt-compiler: [AtxDroid intelll] F:\android\intellij\AtxDroid\res\layout\activity_m ain.xml:17: error: No resource identifier found for attribute 'totalSpacingDegree' in package 'android.view.ext'
android-apt-compiler: [AtxDroid intelll] F:\android\intellij\AtxDroid\res\layout\activity_m ain.xml:17: error: No resource identifier found for attribute 'closeOnClick' in package 'android.view.ext'
android-apt-compiler: [AtxDroid intelll] F:\android\intellij\AtxDroid\res\layout\activity_m ain.xml:17: error: No resource identifier found for attribute 'expandDuration' in package 'android.view.ext'
اول اومدم کل فایل های مربوط به برنامه رو ریختم کنار فایل های برنامه خودم و ارور گیری کردم تا رسیدم به این ارور ها و مرحله بعد برنامه ها رو گذاشتم کنار هم و وصل کردم ب هم دوباره همین ارور
روشون هم کلیک میکمک میاد روی این خط <android.view.ext.SatelliteMenu حالا اینو هر دستکاری میکنم جواب نمیده
ی سوال دیگه اینو xmlns:sat="http://schemas.android.com/apk/res/android.view.ext" چجوری باید تغیر بردم؟
اینم کل برنامه
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:sat="http://schemas.android.com/apk/res/android.view.ext"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
<ListView
android:id="@+id/listView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" >
</ListView>
<android.view.ext.SatelliteMenu
android:id="@+id/menu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|left"
android:layout_margin="8dp"
sat:satelliteDistance="170dp"
sat:mainImage="@drawable/ic_launcher"
sat:totalSpacingDegree="90"
sat:closeOnClick="true"
sat:expandDuration="500"/>
</RelativeLayout>
من میخام
satellite-menu (http://www.mediafire.com/download/1r3p91w9y36yvdr/android-satellite-menu-master.rar) رو به برنامم اضاف کنم ولی هرکار میکنم ارور دارم
ادرس برنامه (http://barnamenevis.org/showthread.php?401729-%D9%86%D9%85%D9%88%D9%86%D9%87-%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87-%D9%87%D8%A7%DB%8C-%DA%A9%D9%88%DA%86%DA%A9-%D9%88-%D9%85%D9%81%D9%8A%D8%AF-%D8%A7%D9%86%D8%AF%D8%B1%D9%88%DB%8C%D8%AF&p=1960037&viewfull=1#post1960037)
android-apt-compiler: [AtxDroid intelll] F:\android\intellij\AtxDroid\res\layout\activity_m ain.xml:17: error: No resource identifier found for attribute 'satelliteDistance' in package 'android.view.ext'
android-apt-compiler: [AtxDroid intelll] F:\android\intellij\AtxDroid\res\layout\activity_m ain.xml:17: error: No resource identifier found for attribute 'mainImage' in package 'android.view.ext'
android-apt-compiler: [AtxDroid intelll] F:\android\intellij\AtxDroid\res\layout\activity_m ain.xml:17: error: No resource identifier found for attribute 'totalSpacingDegree' in package 'android.view.ext'
android-apt-compiler: [AtxDroid intelll] F:\android\intellij\AtxDroid\res\layout\activity_m ain.xml:17: error: No resource identifier found for attribute 'closeOnClick' in package 'android.view.ext'
android-apt-compiler: [AtxDroid intelll] F:\android\intellij\AtxDroid\res\layout\activity_m ain.xml:17: error: No resource identifier found for attribute 'expandDuration' in package 'android.view.ext'
اول اومدم کل فایل های مربوط به برنامه رو ریختم کنار فایل های برنامه خودم و ارور گیری کردم تا رسیدم به این ارور ها و مرحله بعد برنامه ها رو گذاشتم کنار هم و وصل کردم ب هم دوباره همین ارور
روشون هم کلیک میکمک میاد روی این خط <android.view.ext.SatelliteMenu حالا اینو هر دستکاری میکنم جواب نمیده
ی سوال دیگه اینو xmlns:sat="http://schemas.android.com/apk/res/android.view.ext" چجوری باید تغیر بردم؟
اینم کل برنامه
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:sat="http://schemas.android.com/apk/res/android.view.ext"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
<ListView
android:id="@+id/listView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" >
</ListView>
<android.view.ext.SatelliteMenu
android:id="@+id/menu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|left"
android:layout_margin="8dp"
sat:satelliteDistance="170dp"
sat:mainImage="@drawable/ic_launcher"
sat:totalSpacingDegree="90"
sat:closeOnClick="true"
sat:expandDuration="500"/>
</RelativeLayout>