1.建立AndroidManifest.xml
2.res/layout/增加gl_root_group.xml
3.res/layout/layout-port/pano_review.xml
<com.android.camera.ui.RotateImageView android:id="@id/pano_review_cancel_button"改为
<com.android.camera.ui.RotateImageView android:id="@+id/pano_review_cancel_button"
4.res/xml/camera_preferences.xml
xmlns:camera="http://schemas.android.com/apk/res/com.android.gallery3d"改为xmlns:camera="http://schemas.android.com/apk/res/com.android.camera"
5.res/xml/camera_preferences.xml
xmlns:camera="http://schemas.android.com/apk/res/com.android.gallery3d"改为xmlns:camera="http://schemas.android.com/apk/res/com.android.camera"
6.去掉代码中import com.android.gallery3d.common.ApiHelper;使用
7.switch.java
this(context, attrs, R.attr.switchStyle);
增加:
styles.xml:20: <item name="switchStyle">@android:style/Widget.CompoundButton</item>
attrs.xml:19: <attr name="switchStyle" format="reference" />
gallery3d
1.ScreenNail
Gallery2/src/com/android/gallery3d/ui/ScreenNail.java