提交 a6242fa6 编写于 作者: B Blankj

see 12/11 log

上级 dbfd7a9d
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="demo_flashlight">FlashlightUtils Demo</string>
<string name="demo_brightness">Brightness Demo</string>
<string name="demo_flashlight">FlashlightUtils Demo</string>
<string name="demo_location">LocationUtils Demo</string>
<string name="demo_pinyin">PinyinUtils Demo</string>
......
{
"CoreUtilActivity#start": "void com.blankj.utilcode.pkg.feature.CoreUtilActivity.start(android.content.Context)",
"AdaptScreenActivity#start": "void com.blankj.utilcode.pkg.feature.adaptScreen.AdaptScreenActivity.Companion.start(android.content.Context)"
"CoreUtilActivity#start": "void com.blankj.utilcode.pkg.feature.CoreUtilActivity.start(android.content.Context)"
}
\ No newline at end of file
......@@ -9,6 +9,7 @@ import android.view.View;
import com.blankj.base.BaseBackActivity;
import com.blankj.utilcode.R;
import com.blankj.utilcode.pkg.feature.activity.ActivityActivity;
import com.blankj.utilcode.pkg.feature.adaptScreen.AdaptScreenActivity;
import com.blankj.utilcode.pkg.feature.app.AppActivity;
import com.blankj.utilcode.pkg.feature.bar.BarActivity;
import com.blankj.utilcode.pkg.feature.clean.CleanActivity;
......@@ -84,7 +85,7 @@ public class CoreUtilActivity extends BaseBackActivity {
}
public void adaptScreenClick(View view) {
BusUtils.post("AdaptScreenActivity#start", this);
AdaptScreenActivity.Companion.start(this);
}
public void appClick(View view) {
......
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical"
android:padding="@dimen/spacing_16">
<TextView
android:id="@+id/tv_about_flashlight"
style="@style/TextStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<Button
android:id="@+id/btn_set_flashlight_on"
style="@style/WideBtnStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/flashlight_on" />
<Button
android:id="@+id/btn_set_flashlight_off"
style="@style/WideBtnStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/flashlight_off" />
</LinearLayout>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册