初始化项目框架

This commit is contained in:
2026-05-02 16:01:00 +08:00
parent f3b3036591
commit 8608f8be78
46 changed files with 1292 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="cc.winboll.studio.libcolorpickerdialogex" >
<application>
<activity
android:name="cc.winboll.studio.LibraryActivity"
android:label="@string/lib_name" >
</activity>
</application>
</manifest>

View File

@@ -0,0 +1,13 @@
package cc.winboll.studio;
import android.app.Activity;
import android.os.Bundle;
import cc.winboll.studio.libcolorpickerdialogex.R;
public class LibraryActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.library);
}
}

View File

@@ -0,0 +1,48 @@
package cc.winboll.studio.libcolorpickerdialogex;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import com.a4455jkjh.colorpicker.ColorPickerDialog;
import com.a4455jkjh.colorpicker.view.ColorPickerLayout;
import com.a4455jkjh.colorpicker.view.OnColorChangedListener;
import java.lang.CharSequence;
import java.lang.Object;
/**
* @Author 豆包&ZhanGSKen<zhangsken@qq.com>
* @Date 2026/05/02 15:14
*/
public class ColorPickerDialogEx extends com.a4455jkjh.colorpicker.ColorPickerDialog {
public static final String TAG = "ColorPickerDialog";
public ColorPickerDialogEx(Context context, int p) {
super(context, p);
}
public void dismiss() {
super.dismiss();
}
public void onClick(DialogInterface dialogInterface, int p) {
super.onClick(dialogInterface, p);
}
public ColorPickerDialog setOnColorChangedListener(OnColorChangedListener onColorChangedListener) {
return super.setOnColorChangedListener(onColorChangedListener);
}
public ColorPickerDialog setTitle(int p) {
return super.setTitle(p);
}
public ColorPickerDialog setTitle(CharSequence charSequence) {
return super.setTitle(charSequence);
}
public void show() {
super.show();
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -0,0 +1,11 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">
<TextView
android:text="@string/text_libraryactivity"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="@android:style/Theme.Material.Light">
</style>
</resources>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="lib_name">libdebugtemp</string>
<string name="hello_world">Hello world!</string>
<string name="text_libraryactivity">LibraryActivity</string>
</resources>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="@android:style/Theme.Holo.Light">
</style>
</resources>