Commit 92cf271e by 徐健

修复资源文件

parent 61ed3e25
...@@ -86,6 +86,7 @@ class FMSurfaceView(context: Context?, attrs: AttributeSet?) : SurfaceView(conte ...@@ -86,6 +86,7 @@ class FMSurfaceView(context: Context?, attrs: AttributeSet?) : SurfaceView(conte
} }
private fun drawAnimate() { private fun drawAnimate() {
synchronized(this) {
mHolder?.let { mHolder?.let {
canvas = mHolder?.lockCanvas() canvas = mHolder?.lockCanvas()
canvas?.let { canvas?.let {
...@@ -122,6 +123,7 @@ class FMSurfaceView(context: Context?, attrs: AttributeSet?) : SurfaceView(conte ...@@ -122,6 +123,7 @@ class FMSurfaceView(context: Context?, attrs: AttributeSet?) : SurfaceView(conte
} }
} }
} }
}
private fun drawPath(point: Point, pointRadius: Float) { private fun drawPath(point: Point, pointRadius: Float) {
path = Path() path = Path()
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
android:id="@+id/tb_title" android:id="@+id/tb_title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/title_bar_height" android:layout_height="@dimen/title_bar_height"
app:pa_left_start_icon="@drawable/platform_toolbar_back" app:pa_left_start_icon_color="@color/google_green"
app:pa_title_text="心灵电台" /> app:pa_title_text="心灵电台" />
<FrameLayout <FrameLayout
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment