提交 8001b191 编写于 作者: B Blankj

see 03/10 log

Signed-off-by: NBlankj <625783482@qq.com>
上级 d66340ce
...@@ -7,6 +7,7 @@ import android.widget.TextView; ...@@ -7,6 +7,7 @@ import android.widget.TextView;
import com.blankj.androidutilcode.R; import com.blankj.androidutilcode.R;
import com.blankj.utilcode.utils.ActivityUtils; import com.blankj.utilcode.utils.ActivityUtils;
import com.blankj.utilcode.utils.ToastUtils;
/** /**
* <pre> * <pre>
...@@ -46,7 +47,11 @@ public class ActivityActivity extends Activity ...@@ -46,7 +47,11 @@ public class ActivityActivity extends Activity
switch (view.getId()) { switch (view.getId()) {
case R.id.btn_launch_image_activity: case R.id.btn_launch_image_activity:
ActivityUtils.launchActivity(packageName, className); ActivityUtils.launchActivity(packageName, className);
break;
default:
break; break;
} }
} }
} }
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
...@@ -16,16 +15,14 @@ ...@@ -16,16 +15,14 @@
style="@style/BtnFont" style="@style/BtnFont"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/activity.start_imageActivity" android:text="@string/activity.start_imageActivity" />
/>
<TextView <TextView
android:id="@+id/tv_about_activity" android:id="@+id/tv_about_activity"
style="@style/Font" style="@style/Font"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:gravity="center" />
/>
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>
...@@ -21,7 +21,7 @@ public class CloseUtils { ...@@ -21,7 +21,7 @@ public class CloseUtils {
/** /**
* 关闭IO * 关闭IO
* *
* @param closeables closeable * @param closeables closeables
*/ */
public static void closeIO(Closeable... closeables) { public static void closeIO(Closeable... closeables) {
if (closeables == null) return; if (closeables == null) return;
...@@ -39,7 +39,7 @@ public class CloseUtils { ...@@ -39,7 +39,7 @@ public class CloseUtils {
/** /**
* 安静关闭IO * 安静关闭IO
* *
* @param closeables closeable * @param closeables closeables
*/ */
public static void closeIOQuietly(Closeable... closeables) { public static void closeIOQuietly(Closeable... closeables) {
if (closeables == null) return; if (closeables == null) return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册