How to optimize 'class name' in Android XML Layout ?
- by Mac
Hello,
I am using some custom components in my project for that I am using following code.
<view
class="com.android.mypackage.myclass"
id="@+id/button"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@android:drawable/button"
android:padding="10dip"
/>
Its working perfectly fine, I am using this code near about 35 times in my application. so while creating new clone application from same project, I need to update package name in 35 places. Is there any way to reduce these efforts? I had tried with "class="@string/class_name" but its not working.