更改包名

mem
Matthew 6 months ago
parent e70e8d7b0f
commit 24e7d32b8f

@ -1,4 +1,4 @@
package com.xypower.camera2raw; package com.xypower.mppreview;
import android.content.Context; import android.content.Context;

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
package="com.xypower.camera2raw"> package="com.xypower.mppreview">
<uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
@ -19,10 +19,10 @@
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.Camera2Raw" android:theme="@style/Theme.MpPreview"
tools:targetApi="31"> tools:targetApi="31">
<activity <activity
android:name=".MainActivity" android:name="com.xypower.mppreview.MainActivity"
android:exported="true"> android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package com.xypower.camera2raw; package com.xypower.mppreview;
import android.content.Context; import android.content.Context;
import android.util.AttributeSet; import android.util.AttributeSet;

@ -1,4 +1,4 @@
package com.xypower.camera2raw; package com.xypower.mppreview;
import android.Manifest; import android.Manifest;
import android.app.Activity; import android.app.Activity;

@ -1,4 +1,4 @@
package com.xypower.camera2raw; package com.xypower.mppreview;
import android.graphics.Matrix; import android.graphics.Matrix;
import android.graphics.Rect; import android.graphics.Rect;

@ -1,10 +1,9 @@
package com.xypower.camera2raw; package com.xypower.mppreview;
import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle; import android.os.Bundle;
import android.util.Log;
import android.view.Menu; import android.view.Menu;
import android.view.MenuItem; import android.view.MenuItem;

@ -1,6 +1,5 @@
package com.xypower.camera2raw; package com.xypower.mppreview;
import android.content.Context;
import android.graphics.Bitmap; import android.graphics.Bitmap;
import android.graphics.BitmapFactory; import android.graphics.BitmapFactory;

@ -8,7 +8,7 @@
<androidx.fragment.app.FragmentContainerView <androidx.fragment.app.FragmentContainerView
android:id="@+id/container" android:id="@+id/container"
android:name="com.xypower.camera2raw.Camera2RawFragment" android:name="com.xypower.mppreview.Camera2RawFragment"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:layout_editor_absoluteX="190dp" tools:layout_editor_absoluteX="190dp"

@ -6,7 +6,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context=".Camera2RawFragment"> tools:context=".Camera2RawFragment">
<com.xypower.camera2raw.AutoFitTextureView <com.xypower.mppreview.AutoFitTextureView
android:id="@+id/texture" android:id="@+id/texture"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />

@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools"> <resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. --> <!-- Base application theme. -->
<style name="Theme.Camera2Raw" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> <style name="Theme.MpPreview" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. --> <!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_200</item> <item name="colorPrimary">@color/purple_200</item>
<item name="colorPrimaryVariant">@color/purple_700</item> <item name="colorPrimaryVariant">@color/purple_700</item>

@ -1,5 +1,5 @@
<resources> <resources>
<string name="app_name">Camera2Raw</string> <string name="app_name">微拍预览</string>
<!-- TODO: Remove or change this placeholder text --> <!-- TODO: Remove or change this placeholder text -->
<string name="hello_blank_fragment">Hello blank fragment</string> <string name="hello_blank_fragment">Hello blank fragment</string>
<string name="picture">Picture</string> <string name="picture">Picture</string>

@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools"> <resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. --> <!-- Base application theme. -->
<style name="Theme.Camera2Raw" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> <style name="Theme.MpPreview" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. --> <!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item> <item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item> <item name="colorPrimaryVariant">@color/purple_700</item>

@ -1,4 +1,4 @@
package com.xypower.camera2raw; package com.xypower.mppreview;
import org.junit.Test; import org.junit.Test;
Loading…
Cancel
Save