Commit 12a0488f authored by sunzheng's avatar sunzheng

init

parent bee01dc7
<?xml version="1.0" encoding="utf-8"?>
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="200"
android:fromYDelta="100%"
android:toYDelta="0" />
<?xml version="1.0" encoding="utf-8"?>
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="200"
android:fromYDelta="0"
android:toYDelta="100%" />
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/decelerate_interpolator">
<!--减速度加速器-->
<translate
android:duration="250"
android:fromYDelta="100%"
android:toYDelta="0"/>
</set>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_interpolator">
<!--加速度插值器-->
<translate
android:duration="250"
android:fromYDelta="0"
android:startOffset="100"
android:toYDelta="100%"/>
</set>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@mipmap/doodling_bar_pressed" android:state_pressed="true"/>
<item android:drawable="@mipmap/doodling_bar_pressed" android:state_selected="true"/>
<item android:drawable="@mipmap/doodling_bar_pressed" android:state_checked="true"/>
<item android:drawable="@mipmap/doodling_bar_normal"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@mipmap/right_bar_pressed" android:state_pressed="true"/>
<item android:drawable="@mipmap/right_bar_pressed" android:state_selected="true"/>
<item android:drawable="@mipmap/right_bar_pressed" android:state_checked="true"/>
<item android:drawable="@mipmap/right_bar_normal"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@mipmap/rotate_bar_pressed" android:state_pressed="true"/>
<item android:drawable="@mipmap/rotate_bar_pressed" android:state_selected="true"/>
<item android:drawable="@mipmap/rotate_bar_pressed" android:state_checked="true"/>
<item android:drawable="@mipmap/rotate_bar_normal"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@mipmap/rubber_bar_pressed" android:state_pressed="true"/>
<item android:drawable="@mipmap/rubber_bar_pressed" android:state_selected="true"/>
<item android:drawable="@mipmap/rubber_bar_pressed" android:state_checked="true"/>
<item android:drawable="@mipmap/rubber_bar_normal"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="360dp" />
<solid android:color="@color/color_8fc131" />
<stroke
android:width="1dp"
android:color="@color/white"></stroke>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="360dp" />
<solid android:color="#0089FF" />
<stroke
android:width="3dp"
android:color="@color/white" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="360dp" />
<solid android:color="#0089FF" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="360dp" />
<solid android:color="@color/white" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="360dp" />
<stroke
android:width="3dp"
android:color="@color/white"></stroke>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="360dp" />
<solid android:color="@color/color_86999b" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="6dp" />
<solid android:color="#0089FF" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?><!--
Copyright (C) 2009 Teleca Poland Sp. z o.o. <android@teleca.com> Licensed
under the Apache License, Version 2.0 (the "License"); you may not use this
file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by
applicable law or agreed to in writing, software distributed under the License
is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
-->
<!-- <selector xmlns:android="http://schemas.android.com/apk/res/android"> -->
<!-- <item> -->
<!-- <shape android:shape="rectangle"> -->
<!-- <gradient android:startColor="#3C3D3F" android:endColor="#3C3D3F" -->
<!-- android:angle="270" /> -->
<!-- <corners android:radius="2dp" /> -->
<!-- </shape> -->
<!-- </item> -->
<!-- <item android:state_pressed="true"> -->
<!-- <shape android:shape="rectangle"> -->
<!-- <gradient android:startColor="#FF9000" android:endColor="#FF9000" -->
<!-- android:angle="270" /> -->
<!-- <corners android:radius="2dp" /> -->
<!-- </shape> -->
<!--
gradient 主体渐变 startColor开始颜色,endColor结束颜色 ,angle开始渐变的角度(值只能为90的倍数,0时为左到右渐变,90时为下到上渐变,依次逆时针类推)
stroke 边框 width 边框宽度,color 边框颜色
corners 圆角 radius 半径,0为直角
padding text值的相对位置
-->
<!-- </selector> -->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<solid android:color="#F3F4F5" />
</shape>
</item>
<item android:state_pressed="false">
<shape>
<solid android:color="@color/white" />
</shape>
</item>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/doodle_hide_panel_pressed" android:state_selected="true"/>
<item android:drawable="@drawable/doodle_hide_panel"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/doodle_shape_rect_stroke_pressed" />
<item android:state_selected="true" android:drawable="@drawable/doodle_shape_rect_stroke_pressed"/>
<item android:drawable="@drawable/doodle_shape_rect_stroke_normal" />
</selector>
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/doodle_shape_rect_pressed_black" android:state_pressed="true" />
<item android:drawable="@drawable/doodle_shape_rect_pressed_black" android:state_selected="true" />
<item android:drawable="@drawable/doodle_shape_rect_pressed_black" android:state_checked="true" />
</selector>
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copySelected of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
<item android:drawable="@drawable/bg_normal" />
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/doodle_shape_circle_pressed" />
<item android:state_selected="true" android:drawable="@drawable/doodle_shape_circle_pressed"/>
<item android:drawable="@drawable/doodle_shape_circle_normal" />
</selector>
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@android:id/background">
<nine-patch
android:src="@drawable/doodle_bar_background"/>
</item>
<item
android:id="@android:id/progress">
<clip xmlns:android="http://schemas.android.com/apk/res/android"
android:clipOrientation="horizontal"
android:gravity="left">
<nine-patch
android:src="@drawable/doodle_bar_progress"/>
</clip>
</item>
</layer-list>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval"
android:useLevel="false">
<stroke
android:width="0.5dp"
android:color="@color/doodle_btn_border" />
<solid android:color="#ffffff" /> <!-- 定义填充的颜色值 -->
<!--<gradient android:startColor="#dfeeeeee"-->
<!--android:endColor="#dfcccccc" -->
<!--android:angle="270"-->
<!--android:gradientRadius="90"/>-->
</shape>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval"
android:useLevel="false">
<stroke
android:width="0.5dp"
android:color="@color/doodle_btn_border" />
<solid android:color="@color/doodle_btn_pressed_color" /> <!-- 定义填充的颜色值 -->
</shape>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:useLevel="false">
<solid android:color="#A67D3D"/> <!-- 定义填充的颜色值 -->
<corners android:radius="1dp"/>
</shape>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:useLevel="false" >
<solid android:color="#ffffff" />
<!-- 定义填充的颜色值 -->
<stroke
android:width="0.5dp"
android:color="@color/doodle_btn_border" />
<corners android:radius="3dp" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:useLevel="false">
<solid android:color="@color/doodle_btn_pressed_color" /> <!-- 定义填充的颜色值 -->
<stroke
android:width="0.5dp"
android:color="@color/doodle_btn_border" />
<corners android:radius="3dp" />
</shape>
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"
android:drawable="@drawable/doodle_thumb_pressed" />
<!-- 焦点状态 -->
<item android:state_focused="true"
android:drawable="@drawable/doodle_thumb_normal" />
<!-- 默认状态 -->
<item android:drawable="@drawable/doodle_thumb_normal" />
</selector>
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@mipmap/icon_wrong_pressed" android:state_pressed="true"/>
<item android:drawable="@mipmap/icon_wrong_pressed" android:state_selected="true"/>
<item android:drawable="@mipmap/icon_wrong_pressed" android:state_checked="true"/>
<item android:drawable="@mipmap/icon_wrong_normal"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@mipmap/icon_right_pressed" android:state_pressed="true"/>
<item android:drawable="@mipmap/icon_right_pressed" android:state_selected="true"/>
<item android:drawable="@mipmap/icon_right_pressed" android:state_checked="true"/>
<item android:drawable="@mipmap/icon_right_normal"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@mipmap/icon_righ_half_pressed" android:state_pressed="true"/>
<item android:drawable="@mipmap/icon_righ_half_pressed" android:state_selected="true"/>
<item android:drawable="@mipmap/icon_righ_half_pressed" android:state_checked="true"/>
<item android:drawable="@mipmap/icon_righ_half_normal"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@mipmap/icon_check" android:state_pressed="true"/>
<item android:drawable="@mipmap/icon_check" android:state_selected="true"/>
<item android:drawable="@mipmap/icon_check" android:state_checked="true"/>
<item android:drawable="@mipmap/icon_no_check"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/bg_color_check" android:state_pressed="true" />
<item android:drawable="@drawable/bg_color_check" android:state_selected="true" />
<item android:drawable="@drawable/bg_color_check" android:state_checked="true" />
<item android:drawable="@drawable/bg_color_normal" />
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/color_0089ff" android:state_checked="true" />
<item android:color="@color/color_0089ff" android:state_selected="true" />
<item android:color="@color/color_0089ff" android:state_focused="true" />
<item android:color="@color/color_0089ff" android:state_pressed="true" />
<item android:color="@color/color_0089ff" android:state_active="true" />
<item android:color="@color/color_0089ff" android:state_activated="true" />
<item android:color="@color/textColor" android:state_checked="false" />
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/rl_title"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_alignParentTop="true"
android:background="#000000"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingLeft="16dp"
android:paddingRight="16dp">
<TextView
android:id="@+id/tv_cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:padding="10dp"
android:text="取消"
android:textColor="@color/white"
android:textSize="16sp" />
<TextView
android:id="@+id/tv_save"
android:layout_width="70dp"
android:layout_height="35dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:background="@drawable/btn_background_blue"
android:gravity="center"
android:text="保存"
android:textColor="@color/white"
android:textSize="16sp" />
</RelativeLayout>
<FrameLayout
android:id="@+id/doodle_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/rl_title"
android:background="#000000" />
<!--<com.reactlibrary.DoodleView-->
<!--android:id="@+id/doodle_view"-->
<!--android:layout_width="match_parent"-->
<!--android:visibility="gone"-->
<!--android:layout_below="@id/rl_title"-->
<!--android:layout_height="match_parent"/>-->
<LinearLayout
android:id="@+id/ll_right_wrong"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/rg_type"
android:background="#60777a"
android:orientation="vertical">
<RadioGroup
android:id="@+id/rg_error"
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_alignParentBottom="true"
android:layout_marginTop="20dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="4dp">
<RadioButton
android:id="@+id/rb_correct"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@null"
android:button="@null"
android:drawableTop="@drawable/icon_right"
android:gravity="center"
android:textSize="0sp" />
<RadioButton
android:id="@+id/rb_right_half"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@null"
android:button="@null"
android:drawableTop="@drawable/icon_right_half"
android:gravity="center"
android:textSize="0sp" />
<RadioButton
android:id="@+id/rb_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@null"
android:button="@null"
android:drawableTop="@drawable/icon_error"
android:gravity="center"
android:textSize="0sp" />
</RadioGroup>
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_question"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginTop="20dp"
android:layout_marginBottom="15dp"
android:scrollbars="none" />
</LinearLayout>
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_stroke_color"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/rg_type"
android:layout_marginBottom="15dp"
android:scrollbars="none"
android:visibility="gone" />
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_rubber_size"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/rg_type"
android:background="@android:color/transparent"
android:paddingBottom="15dp"
android:scrollbars="none"
android:visibility="gone" />
<LinearLayout
android:id="@+id/ll_rotate"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_above="@+id/rg_type"
android:background="#60777a"
android:gravity="center"
android:orientation="horizontal"
android:visibility="gone">
<TextView
android:id="@+id/tv_rotate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:padding="10dp"
android:text="旋转"
android:textColor="@color/white"
android:textSize="16sp" />
<View
android:layout_width="50dp"
android:layout_height="10dp" />
<TextView
android:id="@+id/tv_use"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:padding="10dp"
android:text="应用"
android:textColor="@color/white"
android:textSize="16sp" />
</LinearLayout>
<RadioGroup
android:id="@+id/rg_type"
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_alignParentBottom="true"
android:background="#000000"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="4dp">
<RadioButton
android:id="@+id/rb_right_error"
style="@style/style_home_RadioButton"
android:checked="true"
android:drawableTop="@drawable/bar_right_wrong"
android:text="对错" />
<RadioButton
android:id="@+id/rb_doodling"
style="@style/style_home_RadioButton"
android:drawableTop="@drawable/bar_doodling"
android:text="涂鸦" />
<RadioButton
android:id="@+id/rb_rubber"
style="@style/style_home_RadioButton"
android:drawableTop="@drawable/bar_rubber"
android:text="清除" />
<RadioButton
android:id="@+id/rb_rotate"
style="@style/style_home_RadioButton"
android:drawableTop="@drawable/bar_rotate"
android:text="旋转" />
</RadioGroup>
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.reactlibrary.widget.ViewPagerFixed
android:id="@+id/view_pager"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<TextView
android:id="@+id/tv_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp"
android:text="1/2"
android:textColor="@color/white" />
<TextView
android:id="@+id/tv_more"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:padding="10dp"
android:text="更多"
android:textColor="@color/white" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_loading"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true"
android:layout_centerHorizontal="true"
android:gravity="center"
android:orientation="vertical"
android:visibility="gone">
<ProgressBar
android:id="@+id/progress_bar"
android:layout_width="20dp"
android:layout_height="20dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/progress_bar"
android:layout_gravity="center"
android:layout_marginTop="5dp"
android:gravity="center"
android:lineSpacingExtra="3dp"
android:text="请稍候..."
android:textColor="@color/white"
android:textSize="10sp" />
</RelativeLayout>
</FrameLayout>
<?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:background="@color/white"
android:orientation="vertical">
<TextView
android:id="@+id/tv_edit"
android:layout_width="match_parent"
android:layout_height="45dp"
android:background="@drawable/btn_white_check1"
android:gravity="center"
android:padding="10dp"
android:text="编辑"
android:textColor="@color/textColor"
android:textSize="14sp" />
<View style="@style/line_match" />
<TextView
android:id="@+id/tv_save"
android:layout_width="match_parent"
android:layout_height="45dp"
android:background="@drawable/btn_white_check1"
android:gravity="center"
android:padding="10dp"
android:text="保存到相册"
android:textColor="@color/textColor"
android:textSize="14sp" />
<View style="@style/line_match" />
<TextView
android:id="@+id/tv_cancel"
android:layout_width="match_parent"
android:layout_height="45dp"
android:background="@drawable/btn_white_check1"
android:gravity="center"
android:padding="10dp"
android:text="取消"
android:textColor="@color/textColor"
android:textSize="14sp" />
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#cc000000">
<LinearLayout
android:id="@+id/doodle_color_selector_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:clickable="true"
android:gravity="center_horizontal"
android:orientation="vertical">
<LinearLayout
android:id="@+id/doodle_shader_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:background="#ffffff"
android:padding="1dp"
android:scaleType="centerCrop"
android:src="@drawable/doodle_shader1"/>
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginLeft="5dp"
android:background="#ffffff"
android:padding="1dp"
android:scaleType="centerCrop"
android:src="@drawable/doodle_shader2"/>
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginLeft="5dp"
android:background="#ffffff"
android:padding="1dp"
android:scaleType="centerCrop"
android:src="@drawable/doodle_shader3"/>
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginLeft="5dp"
android:background="#ffffff"
android:padding="1dp"
android:scaleType="centerCrop"
android:src="@drawable/doodle_shader4"/>
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginLeft="5dp"
android:background="#ffffff"
android:padding="1dp"
android:scaleType="centerCrop"
android:src="@drawable/doodle_shader5"/>
</LinearLayout>
<EditText
android:id="@+id/doodle_txtview_size"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:background="@android:color/transparent"
android:gravity="center"
android:inputType="numberDecimal"
android:minWidth="150dp"
android:padding="5dp"
android:text="999"
android:textColor="#fff"
android:textSize="16dp"/>
<LinearLayout
android:id="@+id/doodle_txtview_reduce"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="center_vertical"
android:gravity="center"
android:text="-"
android:textColor="#ffffff"
android:textSize="14dp"
/>
<SeekBar
android:id="@+id/doodle_seekbar_size"
android:layout_width="260dp"
android:layout_height="33dp"
android:max="100"
android:maxHeight="33dp"
android:minHeight="33dp"
android:progressDrawable="@drawable/doodle_seekbar_bg"
android:thumb="@drawable/doodle_thumb_seekbarr"
android:thumbOffset="0dp"/>
<TextView
android:id="@+id/doodle_txtview_add"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="center_vertical"
android:gravity="center"
android:text="+"
android:textColor="#ffffff"
android:textSize="14dp"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:background="#88000000"
android:orientation="horizontal">
<com.reactlibrary.widget.androids.STextView
android:id="@+id/dialog_enter_btn_01"
android:layout_width="wrap_content"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:layout_weight="1"
android:background="#00000000"
android:gravity="center"
android:text="@string/doodle_cancel"
android:textColor="#bebebe"
android:textSize="20dp"
app:stv_text_color_pressed="#88bebebe"/>
<com.reactlibrary.widget.androids.STextView
android:id="@+id/dialog_enter_btn_02"
android:layout_width="wrap_content"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:layout_weight="1"
android:background="#00000000"
android:gravity="center"
android:text="@string/doodle_enter"
android:textColor="#11cfff"
android:textSize="20dp"
app:stv_text_color_pressed="#8811cfff"/>
</LinearLayout>
</FrameLayout>
\ No newline at end of file
<?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="match_parent"
android:orientation="vertical">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"/>
<FrameLayout
android:id="@+id/doodle_image_selector_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:clickable="true"/>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="vertical">
<EditText
android:id="@+id/doodle_selectable_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:background="#88000000"
android:padding="10dp"
android:textColor="#ffffff"
android:textSize="26dp" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_gravity="bottom"
android:background="#ffffff"
android:clickable="true"
android:paddingLeft="5dp"
android:paddingRight="5dp">
<TextView
android:id="@+id/doodle_text_cancel_btn"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="bottom|left"
android:gravity="center"
android:padding="10dp"
android:text="@string/doodle_cancel"
android:textColor="#232323"
android:textSize="16dp" />
<TextView
android:id="@+id/doodle_text_enter_btn"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="bottom|right"
android:gravity="center"
android:padding="10dp"
android:text="@string/doodle_enter"
android:textColor="#232323"
android:textSize="16dp" />
</FrameLayout>
</LinearLayout>
</FrameLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/dialog_bg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#88000000"
android:fitsSystemWindows="true"
android:paddingTop="10dp"
android:paddingBottom="10dp">
<com.reactlibrary.widget.androids.SLinearLayout
android:layout_width="280dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="10dp"
android:clickable="true"
android:minWidth="280dp"
android:orientation="vertical"
android:paddingTop="0dp"
android:paddingBottom="3.5dp"
app:sel_background="#ffffff"
app:sel_background_corners="5dp">
<TextView
android:id="@+id/dialog_title"
android:layout_width="wrap_content"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:ellipsize="middle"
android:gravity="center"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:singleLine="true"
android:text=""
android:textColor="#2b2b2b"
android:textSize="20dp"
android:textStyle="bold" />
<FrameLayout
android:id="@+id/dialog_list_title_divider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#dfdfdf" />
<TextView
android:id="@+id/dialog_enter_msg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="center_vertical"
android:minWidth="50dp"
android:padding="20dp"
android:textColor="#2b2b2b"
android:textSize="16dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<com.reactlibrary.widget.androids.STextView
android:id="@+id/dialog_enter_btn_01"
android:layout_width="wrap_content"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:layout_weight="1"
android:background="#00000000"
android:gravity="center"
android:text=""
android:textColor="#bebebe"
android:textSize="20dp"
app:stv_text_color_pressed="#88bebebe" />
<com.reactlibrary.widget.androids.STextView
android:id="@+id/dialog_enter_btn_02"
android:layout_width="wrap_content"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:layout_weight="1"
android:background="#00000000"
android:gravity="center"
android:text=""
android:textColor="#11cfff"
android:textSize="20dp"
app:stv_text_color_pressed="#8811cfff" />
</LinearLayout>
</com.reactlibrary.widget.androids.SLinearLayout>
</FrameLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.reactlibrary.widget.androids.RatioImageView
android:id="@+id/doodle_image"
android:layout_width="match_parent"
android:layout_height="0dp"
android:scaleType="centerCrop"
app:riv_height_to_width_ratio="1"
/>
<ImageView
android:id="@+id/doodle_image_selected"
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_marginRight="10dp"
android:layout_marginTop="10dp"
android:scaleType="fitXY"
android:src="@drawable/doodle_imageselector_image_selected"
/>
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#232323"
android:fitsSystemWindows="true"
android:orientation="vertical">
<FrameLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<include
android:id="@+id/doodle_title_bar"
layout="@layout/doodle_title_bar" />
<FrameLayout
android:id="@+id/doodle_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/doodle_title_bar_height" />
<FrameLayout
android:id="@+id/doodle_panel"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginTop="@dimen/doodle_title_bar_height">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
android:padding="@dimen/doodle_margin">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:id="@+id/pen_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/doodle_margin"
android:clickable="true"
android:orientation="horizontal">
<ImageView
android:id="@+id/btn_pen_hand"
android:layout_width="@dimen/doodle_btn_pen_size"
android:layout_height="@dimen/doodle_btn_pen_size"
android:layout_marginRight="5dp"
android:background="@drawable/doodle_btn_effect_round"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_pen"
android:visibility="visible" />
<ImageView
android:id="@+id/btn_pen_mosaic"
android:layout_width="@dimen/doodle_btn_pen_size"
android:layout_height="@dimen/doodle_btn_pen_size"
android:layout_marginRight="5dp"
android:background="@drawable/doodle_btn_effect_round"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_mosaic"
android:visibility="visible" />
<ImageView
android:id="@+id/btn_pen_copy"
android:layout_width="@dimen/doodle_btn_pen_size"
android:layout_height="@dimen/doodle_btn_pen_size"
android:layout_marginRight="5dp"
android:background="@drawable/doodle_btn_effect_round"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_copy"
android:visibility="visible" />
<ImageView
android:id="@+id/btn_pen_eraser"
android:layout_width="@dimen/doodle_btn_pen_size"
android:layout_height="@dimen/doodle_btn_pen_size"
android:layout_marginRight="5dp"
android:background="@drawable/doodle_btn_effect_round"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_eraser"
android:visibility="visible" />
<ImageView
android:id="@+id/btn_pen_text"
android:layout_width="@dimen/doodle_btn_pen_size"
android:layout_height="@dimen/doodle_btn_pen_size"
android:layout_marginRight="5dp"
android:background="@drawable/doodle_btn_effect_round"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_text"
android:visibility="visible" />
<ImageView
android:id="@+id/btn_pen_bitmap"
android:layout_width="@dimen/doodle_btn_pen_size"
android:layout_height="@dimen/doodle_btn_pen_size"
android:layout_marginRight="5dp"
android:background="@drawable/doodle_btn_effect_round"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_texture"
android:visibility="visible" />
</LinearLayout>
<LinearLayout
android:id="@+id/shape_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/doodle_margin"
android:clickable="true"
android:orientation="horizontal">
<ImageView
android:id="@+id/btn_hand_write"
android:layout_width="@dimen/doodle_btn_shape_size"
android:layout_height="@dimen/doodle_btn_shape_size"
android:layout_marginRight="5dp"
android:background="@drawable/doodle_btn_effect_rect_line"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_handwrite" />
<ImageView
android:id="@+id/btn_arrow"
android:layout_width="@dimen/doodle_btn_shape_size"
android:layout_height="@dimen/doodle_btn_shape_size"
android:layout_marginRight="5dp"
android:background="@drawable/doodle_btn_effect_rect_line"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_arrow" />
<ImageView
android:id="@+id/btn_line"
android:layout_width="@dimen/doodle_btn_shape_size"
android:layout_height="@dimen/doodle_btn_shape_size"
android:layout_marginRight="5dp"
android:background="@drawable/doodle_btn_effect_rect_line"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_line" />
<ImageView
android:id="@+id/btn_holl_circle"
android:layout_width="@dimen/doodle_btn_shape_size"
android:layout_height="@dimen/doodle_btn_shape_size"
android:layout_marginRight="5dp"
android:background="@drawable/doodle_btn_effect_rect_line"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_hollow_circle" />
<ImageView
android:id="@+id/btn_fill_circle"
android:layout_width="@dimen/doodle_btn_shape_size"
android:layout_height="@dimen/doodle_btn_shape_size"
android:layout_marginRight="5dp"
android:background="@drawable/doodle_btn_effect_rect_line"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_fill_circle" />
<ImageView
android:id="@+id/btn_holl_rect"
android:layout_width="@dimen/doodle_btn_shape_size"
android:layout_height="@dimen/doodle_btn_shape_size"
android:layout_marginRight="5dp"
android:background="@drawable/doodle_btn_effect_rect_line"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_hollow_rect" />
<ImageView
android:id="@+id/btn_fill_rect"
android:layout_width="@dimen/doodle_btn_shape_size"
android:layout_height="@dimen/doodle_btn_shape_size"
android:layout_marginRight="5dp"
android:background="@drawable/doodle_btn_effect_rect_line"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_fill_rect" />
</LinearLayout>
<FrameLayout
android:id="@+id/size_container"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:layout_marginLeft="5dp"
android:gravity="center_horizontal"
android:orientation="vertical">
<SeekBar
android:id="@+id/doodle_seekbar_size"
android:layout_width="230dp"
android:layout_height="33dp"
android:layout_gravity="bottom"
android:max="100"
android:maxHeight="33dp"
android:minHeight="33dp"
android:progressDrawable="@drawable/doodle_seekbar_bg"
android:thumb="@drawable/doodle_thumb_seekbarr"
android:thumbOffset="0dp" />
<TextView
android:id="@+id/paint_size_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#88444444"
android:gravity="center"
android:paddingLeft="3dp"
android:paddingRight="3dp"
android:text=""
android:textColor="#ffffff"
android:textSize="12dp" />
</FrameLayout>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:gravity="right"
android:orientation="vertical">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="@dimen/doodle_btn_pen_size"
android:layout_marginBottom="@dimen/doodle_margin"
android:clickable="true"
android:orientation="horizontal">
<ImageView
android:id="@+id/btn_undo"
android:layout_width="@dimen/doodle_btn_pen_size"
android:layout_height="@dimen/doodle_btn_pen_size"
android:layout_marginRight="5dp"
android:background="@drawable/doodle_btn_effect_round"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_undo" />
<ImageView
android:id="@+id/btn_zoomer"
android:layout_width="@dimen/doodle_btn_pen_size"
android:layout_height="@dimen/doodle_btn_pen_size"
android:background="@drawable/doodle_btn_effect_round"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_zoomer" />
</LinearLayout>
<ImageView
android:id="@+id/doodle_btn_brush_edit"
android:layout_width="@dimen/doodle_btn_pen_size"
android:layout_height="@dimen/doodle_btn_pen_size"
android:layout_marginBottom="@dimen/doodle_margin"
android:background="@drawable/doodle_btn_effect_round"
android:onClick="onClick"
android:padding="5dp"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_move"
android:visibility="visible" />
<FrameLayout
android:id="@+id/btn_set_color_container"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginTop="@dimen/doodle_margin"
android:background="@drawable/doodle_btn_effect_rect_line"
android:onClick="onClick"
android:padding="2dp">
<ImageView
android:id="@+id/btn_set_color"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#f00" />
</FrameLayout>
</LinearLayout>
</FrameLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_gravity="bottom"
android:gravity="center"
android:orientation="vertical"
android:visibility="visible">
<include layout="@layout/view_eidt_layout" />
</LinearLayout>
<LinearLayout
android:id="@+id/doodle_selectable_edit_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_gravity="bottom"
android:gravity="center"
android:orientation="vertical"
android:visibility="visible">
<TextView
android:id="@+id/item_scale"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="5dp"
android:background="#88444444"
android:gravity="center"
android:minWidth="40dp"
android:padding="5dp"
android:paddingLeft="3dp"
android:paddingRight="3dp"
android:text="100%"
android:textColor="#ffffff"
android:textSize="12dp"
android:visibility="gone" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/doodle_title_bar_height"
android:background="#88000000"
android:orientation="horizontal"
android:visibility="gone">
<TextView
android:id="@+id/doodle_selectable_edit"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/doodle_btn_effect_rect_pressed_black"
android:gravity="center"
android:onClick="onClick"
android:text="@string/doodle_edit"
android:textColor="#ffffff"
android:textSize="16dp" />
<TextView
android:id="@+id/doodle_selectable_bottom"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/doodle_btn_effect_rect_pressed_black"
android:gravity="center"
android:onClick="onClick"
android:text="@string/doodle_bottom"
android:textColor="#ffffff"
android:textSize="16dp" />
<TextView
android:id="@+id/doodle_selectable_top"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/doodle_btn_effect_rect_pressed_black"
android:gravity="center"
android:onClick="onClick"
android:text="@string/doodle_top"
android:textColor="#ffffff"
android:textSize="16dp" />
<TextView
android:id="@+id/doodle_selectable_remove"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/doodle_btn_effect_rect_pressed_black"
android:gravity="center"
android:onClick="onClick"
android:text="@string/doodle_remove"
android:textColor="#ffffff"
android:textSize="16dp" />
</LinearLayout>
</LinearLayout>
<!-- mosaic menu-->
<LinearLayout
android:id="@+id/mosaic_menu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:clickable="true"
android:orientation="vertical"
android:visibility="gone">
<Button
android:id="@+id/btn_mosaic_level1"
android:layout_width="35dp"
android:layout_height="30dp"
android:layout_marginBottom="3dp"
android:background="@drawable/doodle_btn_effect_rect_line"
android:onClick="onClick"
android:text="x1" />
<Button
android:id="@+id/btn_mosaic_level2"
android:layout_width="35dp"
android:layout_height="30dp"
android:layout_marginBottom="3dp"
android:background="@drawable/doodle_btn_effect_rect_line"
android:onClick="onClick"
android:text="x2" />
<Button
android:id="@+id/btn_mosaic_level3"
android:layout_width="35dp"
android:layout_height="30dp"
android:layout_marginBottom="3dp"
android:background="@drawable/doodle_btn_effect_rect_line"
android:onClick="onClick"
android:text="x3" />
</LinearLayout>
</FrameLayout>
</FrameLayout>
</FrameLayout>
\ No newline at end of file
<?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="match_parent"
android:background="#dddddd"
android:orientation="vertical"
>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#ffffff"
android:fitsSystemWindows="true"
>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="45dp">
<TextView
android:id="@+id/btn_back"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:gravity="center_vertical"
android:text="@string/doodle_cancel"
android:textColor="#000000"
android:textSize="16dp"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="45dp"
android:layout_centerInParent="true"
android:gravity="center"
android:text="@string/doodle_select_image"
android:textColor="@android:color/black"
android:textSize="18dp"
android:textStyle="normal"
/>
<TextView
android:id="@+id/btn_enter"
android:layout_width="wrap_content"
android:layout_height="45dp"
android:layout_alignParentRight="true"
android:layout_marginRight="10dp"
android:gravity="center"
android:text="@string/doodle_enter"
android:textColor="@android:color/black"
android:textSize="16dp"
android:textStyle="normal"
android:visibility="visible"
/>
</RelativeLayout>
</RelativeLayout>
<FrameLayout
android:layout_width="fill_parent"
android:layout_height="1dp"
android:background="#aaaaaa"/>
<GridView
android:id="@+id/doodle_list_image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:cacheColorHint="@android:color/transparent"
android:horizontalSpacing="1dp"
android:listSelector="@android:color/transparent"
android:numColumns="3"
android:verticalSpacing="1dp"/>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#181818"
android:fitsSystemWindows="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/doodle_title_bar_height"
android:gravity="center_vertical"
android:orientation="horizontal">
<com.reactlibrary.widget.androids.MaskImageView
android:id="@+id/doodle_btn_back"
android:layout_width="@dimen/doodle_title_bar_height"
android:layout_height="match_parent"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_btn_back"
android:visibility="visible"
app:miv_is_ignore_alpha="true"
app:miv_mask_color="#a8a8a8" />
<FrameLayout
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginBottom="15dp"
android:layout_marginTop="15dp"
android:background="#101010" />
<com.reactlibrary.widget.androids.STextView
android:id="@+id/doodle_txt_title"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginLeft="12dp"
android:layout_weight="1"
android:ellipsize="end"
android:gravity="center_vertical"
android:maxLines="1"
android:singleLine="true"
android:text="作业批改"
android:textColor="#ffffff"
android:textSize="18dp"
app:stv_text_color_pressed="#aaffffff" />
<com.reactlibrary.widget.androids.MaskImageView
android:id="@+id/doodle_btn_rotate"
android:layout_width="@dimen/doodle_title_bar_height"
android:layout_height="@dimen/doodle_title_bar_height"
android:onClick="onClick"
android:visibility="gone"
android:padding="5dp"
android:scaleType="fitXY"
android:src="@drawable/doodle_rotate"
android:textSize="20dp"
app:miv_is_ignore_alpha="true"
app:miv_mask_color="#a8a8a8" />
<com.reactlibrary.widget.androids.MaskImageView
android:id="@+id/doodle_btn_hide_panel"
android:layout_width="@dimen/doodle_title_bar_height"
android:layout_height="@dimen/doodle_title_bar_height"
android:onClick="onClick"
android:padding="13dp"
android:scaleType="fitCenter"
android:src="@drawable/doodle_btn_effect_panel"
android:visibility="gone"
app:miv_is_ignore_alpha="true"
app:miv_mask_color="#a8a8a8" />
<com.reactlibrary.widget.androids.MaskImageView
android:id="@+id/doodle_btn_finish"
android:layout_width="@dimen/doodle_title_bar_height"
android:layout_height="match_parent"
android:onClick="onClick"
android:scaleType="centerCrop"
android:src="@drawable/doodle_btn_finish"
android:visibility="visible"
app:miv_is_ignore_alpha="true"
app:miv_mask_color="#a8a8a8" />
</LinearLayout>
</FrameLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ll_color"
android:layout_width="45dp"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:id="@+id/ll_bg"
android:layout_width="23dp"
android:layout_height="23dp"
android:layout_gravity="center"
android:layout_marginLeft="10dp"
android:background="@drawable/bg_white_circle"
android:gravity="center">
<View
android:id="@+id/view_color"
android:layout_width="20dp"
android:layout_height="20dp"
android:background="@drawable/bg_color" />
</LinearLayout>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<com.reactlibrary.photoview.PhotoView
android:id="@+id/iv_ig"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<ProgressBar
android:id="@+id/progress_bar"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_gravity="center"
android:visibility="gone" />
</FrameLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ll_question"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_question"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="10dp"
android:paddingTop="5dp"
android:paddingRight="10dp"
android:paddingBottom="5dp"
android:text="题目2"
android:textColor="@color/white"
android:textSize="14sp" />
<View
android:layout_width="2px"
android:layout_height="match_parent"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:background="@color/white" />
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ll_view_size"
android:layout_width="50dp"
android:layout_height="50dp"
android:gravity="center"
android:orientation="vertical">
<View
android:id="@+id/view_size"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:background="@drawable/bg_white" />
</LinearLayout>
\ No newline at end of file
<?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="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/ll_right_wrong"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/rg_type"
android:background="#60777a"
android:orientation="vertical">
<RadioGroup
android:id="@+id/rg_error"
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_alignParentBottom="true"
android:layout_marginTop="20dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="4dp">
<RadioButton
android:id="@+id/rb_correct"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@null"
android:button="@null"
android:drawableTop="@drawable/icon_right"
android:gravity="center"
android:textSize="0sp" />
<RadioButton
android:id="@+id/rb_right_half"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@null"
android:button="@null"
android:drawableTop="@drawable/icon_right_half"
android:gravity="center"
android:textSize="0sp" />
<RadioButton
android:id="@+id/rb_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@null"
android:button="@null"
android:drawableTop="@drawable/icon_error"
android:gravity="center"
android:textSize="0sp" />
</RadioGroup>
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_question"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginBottom="15dp"
android:layout_marginTop="20dp"
android:scrollbars="none" />
</LinearLayout>
<RelativeLayout
android:id="@+id/rl_color"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/rg_type"
android:visibility="gone"
android:orientation="horizontal">
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_stroke_color"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="15dp"
android:scrollbars="none" />
<ImageView
android:id="@+id/btn_undo"
android:layout_width="23dp"
android:layout_height="23dp"
android:layout_alignParentRight="true"
android:layout_marginRight="10dp"
android:background="@drawable/doodle_btn_effect_round"
android:onClick="onClick"
android:scaleType="centerInside"
android:src="@drawable/doodle_ic_undo" />
</RelativeLayout>
<RadioGroup
android:id="@+id/rg_type"
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_alignParentBottom="true"
android:background="#000000"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="4dp">
<RadioButton
android:id="@+id/rb_right_error"
style="@style/style_home_RadioButton"
android:checked="true"
android:drawableTop="@drawable/bar_right_wrong"
android:text="对错" />
<RadioButton
android:id="@+id/rb_doodling"
style="@style/style_home_RadioButton"
android:drawableTop="@drawable/bar_doodling"
android:text="涂鸦" />
<RadioButton
android:id="@+id/rb_rubber"
style="@style/style_home_RadioButton"
android:drawableTop="@drawable/bar_rubber"
android:text="清除" />
<RadioButton
android:id="@+id/rb_rotate"
style="@style/style_home_RadioButton"
android:drawableTop="@drawable/bar_rotate"
android:text="旋转" />
</RadioGroup>
</LinearLayout>
\ No newline at end of file
<resources>
<string name="doodle_app_name">Doodle</string>
<string name="doodle_clear_screen">Clear</string>
<string name="doodle_cant_undo_after_clearing">Are you sure to clear all?</string>
<string name="doodle_saving_picture">Save all before exiting</string>
<string name="doodle_enter">Enter</string>
<string name="doodle_cancel">Cancel</string>
<string name="doodle_save">Save</string>
<string name="doodle_edit">Edit</string>
<string name="doodle_remove">Delete</string>
<string name="doodle_top">Top</string>
<string name="doodle_bottom">Bottom</string>
<string name="doodle_select_image">Select a image</string>
<string name="doodle_edit_mode">Edit mode</string>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="SelectorAttrs">
<!-- selector相关属性-->
<!-- 背景状态 -->
<attr name="sel_background_pressed" format="reference|color" />
<attr name="sel_background_selected" format="reference|color" />
<attr name="sel_background_disable" format="reference|color" />
<!-- 背景形状 -->
<attr name="sel_background_shape" format="enum">
<enum name="rect" value="0" />
<enum name="oval" value="1" />
<enum name="line" value="2" />
<enum name="ring" value="3" />
</attr>
<!-- 背景圆角 -->
<attr name="sel_background_corners" format="dimension" />
<attr name="sel_background_corner_topLeft" format="dimension" />
<attr name="sel_background_corner_topRight" format="dimension" />
<attr name="sel_background_corner_bottomLeft" format="dimension" />
<attr name="sel_background_corner_bottomRight" format="dimension" />
<!-- 背景边框默认状态 -->
<attr name="sel_background_border_color" format="color" />
<attr name="sel_background_border_width" format="dimension" />
<!-- 背景边框状态 -->
<attr name="sel_background_border_pressed" format="color" />
<attr name="sel_background_border_selected" format="color" />
<attr name="sel_background_border_disable" format="color" />
<!-- ripple水波纹效果-->
<attr name="sel_background_ripple" format="reference|color" />
<attr name="sel_background_ripple_mask" format="reference|color" />
<!-- ripple mask形状(仅在sel_background_ripple_mask为color时生效)-->
<attr name="sel_background_ripple_mask_shape" format="enum">
<enum name="rect" value="0" />
<enum name="oval" value="1" />
<enum name="line" value="2" />
<enum name="ring" value="3" />
</attr>
<!-- ripple mask圆角 -->
<attr name="sel_background_ripple_mask_corners" format="dimension" />
<attr name="sel_background_ripple_mask_corner_topLeft" format="dimension" />
<attr name="sel_background_ripple_mask_corner_topRight" format="dimension" />
<attr name="sel_background_ripple_mask_corner_bottomLeft" format="dimension" />
<attr name="sel_background_ripple_mask_corner_bottomRight" format="dimension" />
<!--该属性已过时,被废弃-->
<attr name="sel_background" format="color" />
</declare-styleable>
<!--ImageView的padding相关设置, layout_width/height为精确值下列属性才生效-->
<declare-styleable name="PaddingViewAttrs">
<!--src content的确切宽度,必填-->
<attr name="vp_content_width" format="dimension" />
<!--src content的确切高度,必填-->
<attr name="vp_content_height" format="dimension" />
<!--src content的padding,在未设置的情况下默认为居中效果-->
<attr name="vp_content_padding_left" format="dimension" />
<attr name="vp_content_padding_top" format="dimension" />
<attr name="vp_content_padding_right" format="dimension" />
<attr name="vp_content_padding_bottom" format="dimension" />
</declare-styleable>
<declare-styleable name="RatioImageView">
<!-- 宽度是否根据src图片的比例来测量(高度已知) -->
<attr name="riv_is_width_fix_drawable_size_ratio" format="boolean" />
<!-- 高度是否根据src图片的比例来测量(宽度已知) -->
<attr name="riv_is_height_fix_drawable_size_ratio" format="boolean" />
<!--当mIsWidthFitDrawableSizeRatio生效时,最大宽度-->
<attr name="riv_max_width_when_width_fix_drawable" format="dimension" />
<!--当mIsHeightFitDrawableSizeRatio生效时-->
<attr name="riv_max_height_when_height_fix_drawable" format="dimension" />
<!-- 高度设置,参考宽度,如0.5 , 表示 高度=宽度×0.5 -->
<attr name="riv_height_to_width_ratio" format="float" />
<!-- 宽度设置,参考高度,如0.5 , 表示 宽度=高度×0.5 -->
<attr name="riv_width_to_height_ratio" format="float" />
<!--宽度和高度,避免layout_width/layout_height会在超过屏幕尺寸时特殊处理的情况-->
<attr name="riv_width" format="dimension" />
<attr name="riv_height" format="dimension" />
<attr name="sel_background" />
<attr name="sel_background_pressed" />
<attr name="sel_background_selected" />
<attr name="sel_background_disable" />
<attr name="sel_background_shape" />
<attr name="sel_background_corners" />
<attr name="sel_background_corner_topLeft" />
<attr name="sel_background_corner_topRight" />
<attr name="sel_background_corner_bottomLeft" />
<attr name="sel_background_corner_bottomRight" />
<attr name="sel_background_border_color" />
<attr name="sel_background_border_width" />
<attr name="sel_background_border_pressed" />
<attr name="sel_background_border_selected" />
<attr name="sel_background_border_disable" />
<attr name="sel_background_ripple" />
<attr name="sel_background_ripple_mask" />
<attr name="sel_background_ripple_mask_shape" />
<attr name="sel_background_ripple_mask_corners" />
<attr name="sel_background_ripple_mask_corner_topLeft" />
<attr name="sel_background_ripple_mask_corner_topRight" />
<attr name="sel_background_ripple_mask_corner_bottomLeft" />
<attr name="sel_background_ripple_mask_corner_bottomRight" />
</declare-styleable>
<declare-styleable name="MaskImageView">
<!-- 遮罩的层面:背景\前景图-->
<attr name="miv_mask_level" format="enum">
<enum name="background" value="1" />
<enum name="foreground" value="2" />
</attr>
<!-- 设置了setClickable(true)才生效,默认开启遮罩-->
<attr name="miv_is_show_mask_on_click" format="boolean" />
<attr name="miv_mask_color" format="color" />
<!--是否忽略图片的透明度,默认为true,透明部分不显示遮罩 -->
<attr name="miv_is_ignore_alpha" format="boolean" />
<!--按下时view的透明度-->
<attr name="miv_pressed_alpha" format="float" />
<attr name="sel_background" />
<attr name="sel_background_pressed" />
<attr name="sel_background_selected" />
<attr name="sel_background_disable" />
<attr name="sel_background_shape" />
<attr name="sel_background_corners" />
<attr name="sel_background_corner_topLeft" />
<attr name="sel_background_corner_topRight" />
<attr name="sel_background_corner_bottomLeft" />
<attr name="sel_background_corner_bottomRight" />
<attr name="sel_background_border_color" />
<attr name="sel_background_border_width" />
<attr name="sel_background_border_pressed" />
<attr name="sel_background_border_selected" />
<attr name="sel_background_border_disable" />
<attr name="sel_background_ripple" />
<attr name="sel_background_ripple_mask" />
<attr name="sel_background_ripple_mask_shape" />
<attr name="sel_background_ripple_mask_corners" />
<attr name="sel_background_ripple_mask_corner_topLeft" />
<attr name="sel_background_ripple_mask_corner_topRight" />
<attr name="sel_background_ripple_mask_corner_bottomLeft" />
<attr name="sel_background_ripple_mask_corner_bottomRight" />
</declare-styleable>
<declare-styleable name="ShapeImageView">
<attr name="siv_shape" format="enum">
<enum name="rect" value="1" />
<enum name="circle" value="2" />
<enum name="oval" value="3" />
</attr>
<attr name="siv_round_radius" format="dimension" />
<attr name="siv_round_radius_leftTop" format="dimension" />
<attr name="siv_round_radius_leftBottom" format="dimension" />
<attr name="siv_round_radius_rightTop" format="dimension" />
<attr name="siv_round_radius_rightBottom" format="dimension" />
<attr name="siv_border_size" format="dimension" />
<attr name="siv_border_color" format="color" />
<attr name="sel_background" />
<attr name="sel_background_pressed" />
<attr name="sel_background_selected" />
<attr name="sel_background_disable" />
<attr name="sel_background_shape" />
<attr name="sel_background_corners" />
<attr name="sel_background_corner_topLeft" />
<attr name="sel_background_corner_topRight" />
<attr name="sel_background_corner_bottomLeft" />
<attr name="sel_background_corner_bottomRight" />
<attr name="sel_background_border_color" />
<attr name="sel_background_border_width" />
<attr name="sel_background_border_pressed" />
<attr name="sel_background_border_selected" />
<attr name="sel_background_border_disable" />
<attr name="sel_background_ripple" />
<attr name="sel_background_ripple_mask" />
<attr name="sel_background_ripple_mask_shape" />
<attr name="sel_background_ripple_mask_corners" />
<attr name="sel_background_ripple_mask_corner_topLeft" />
<attr name="sel_background_ripple_mask_corner_topRight" />
<attr name="sel_background_ripple_mask_corner_bottomLeft" />
<attr name="sel_background_ripple_mask_corner_bottomRight" />
</declare-styleable>
<!--滚动选择器通用属性-->
<declare-styleable name="ScrollPickerView">
<!-- 中间item的背景-->
<attr name="spv_center_item_background" format="reference|color" />
<!-- 可见的item数量,默认为3个-->
<attr name="spv_visible_item_count" format="integer" />
<!-- 中间item的位置,默认为 mVisibleItemCount / 2-->
<attr name="spv_center_item_position" format="integer" />
<!-- 是否循环滚动,默认为true,开启-->
<attr name="spv_is_circulation" format="boolean" />
<!-- 不允许父组件拦截触摸事件,设置为true为不允许拦截,此时该设置才生效 -->
<attr name="spv_disallow_intercept_touch" format="boolean" />
<!-- 滚动的方向-->
<attr name="spv_orientation" format="string">
<enum name="horizontal" value="1" />
<enum name="vertical" value="2" />
</attr>
</declare-styleable>
<!--文字选择器-->
<declare-styleable name="StringScrollPicker">
<!--文字渐变大小-->
<attr name="spv_min_text_size" format="dimension" />
<attr name="spv_max_text_size" format="dimension" />
<!--文字渐变颜色-->
<attr name="spv_start_color" format="color" />
<attr name="spv_end_color" format="color" />
<!--文字最大行宽-->
<attr name="spv_max_line_width" format="dimension" />
<!--文字对齐方式-->
<attr name="spv_alignment" format="enum">
<enum name="center" value="1" />
<enum name="left" value="2" />
<enum name="right" value="3" />
</attr>
</declare-styleable>
<!--图片选择器-->
<declare-styleable name="BitmapScrollPicker">
<!-- 绘制图片的方式-->
<attr name="spv_draw_bitmap_mode" format="string">
<enum name="fill" value="1" />
<enum name="center" value="2" />
<enum name="size" value="3" />
</attr>
<!-- 绘制图片的方式为size时,指定的图片绘制大小-->
<attr name="spv_draw_bitmap_width" format="dimension" />
<attr name="spv_draw_bitmap_height" format="dimension" />
<!-- item内容缩放倍数-->
<attr name="spv_min_scale" format="float" />
<attr name="spv_max_scale" format="float" />
</declare-styleable>
<declare-styleable name="RoundProgressBar">
<attr name="rpb_background" format="color" />
<attr name="rpb_background_width" format="dimension" />
<attr name="rpb_color" format="color" />
<attr name="rpb_width" format="dimension" />
<attr name="rpb_max_progress" format="float" />
<attr name="rpb_progress" format="float" />
</declare-styleable>
<!--字体颜色遮罩-->
<declare-styleable name="STextView">
<attr name="stv_text_color_selected" format="color" />
<attr name="stv_text_color_pressed" format="color" />
<attr name="stv_text_color_disable" format="color" />
<!-- 过时的配置,等于stv开头的属性-->
<attr name="mtv_text_color_pressed" format="color" />
<attr name="mtv_text_color_disable" format="color" />
<attr name="sel_background" />
<attr name="sel_background_pressed" />
<attr name="sel_background_selected" />
<attr name="sel_background_disable" />
<attr name="sel_background_shape" />
<attr name="sel_background_corners" />
<attr name="sel_background_corner_topLeft" />
<attr name="sel_background_corner_topRight" />
<attr name="sel_background_corner_bottomLeft" />
<attr name="sel_background_corner_bottomRight" />
<attr name="sel_background_border_color" />
<attr name="sel_background_border_width" />
<attr name="sel_background_border_pressed" />
<attr name="sel_background_border_selected" />
<attr name="sel_background_border_disable" />
<attr name="sel_background_ripple" />
<attr name="sel_background_ripple_mask" />
<attr name="sel_background_ripple_mask_shape" />
<attr name="sel_background_ripple_mask_corners" />
<attr name="sel_background_ripple_mask_corner_topLeft" />
<attr name="sel_background_ripple_mask_corner_topRight" />
<attr name="sel_background_ripple_mask_corner_bottomLeft" />
<attr name="sel_background_ripple_mask_corner_bottomRight" />
</declare-styleable>
<declare-styleable name="SFrameLayout">
<attr name="sel_background" />
<attr name="sel_background_pressed" />
<attr name="sel_background_selected" />
<attr name="sel_background_disable" />
<attr name="sel_background_shape" />
<attr name="sel_background_corners" />
<attr name="sel_background_corner_topLeft" />
<attr name="sel_background_corner_topRight" />
<attr name="sel_background_corner_bottomLeft" />
<attr name="sel_background_corner_bottomRight" />
<attr name="sel_background_border_color" />
<attr name="sel_background_border_width" />
<attr name="sel_background_border_pressed" />
<attr name="sel_background_border_selected" />
<attr name="sel_background_border_disable" />
<attr name="sel_background_ripple" />
<attr name="sel_background_ripple_mask" />
<attr name="sel_background_ripple_mask_shape" />
<attr name="sel_background_ripple_mask_corners" />
<attr name="sel_background_ripple_mask_corner_topLeft" />
<attr name="sel_background_ripple_mask_corner_topRight" />
<attr name="sel_background_ripple_mask_corner_bottomLeft" />
<attr name="sel_background_ripple_mask_corner_bottomRight" />
</declare-styleable>
<declare-styleable name="SLinearLayout">
<attr name="sel_background" />
<attr name="sel_background_pressed" />
<attr name="sel_background_selected" />
<attr name="sel_background_disable" />
<attr name="sel_background_shape" />
<attr name="sel_background_corners" />
<attr name="sel_background_corner_topLeft" />
<attr name="sel_background_corner_topRight" />
<attr name="sel_background_corner_bottomLeft" />
<attr name="sel_background_corner_bottomRight" />
<attr name="sel_background_border_color" />
<attr name="sel_background_border_width" />
<attr name="sel_background_border_pressed" />
<attr name="sel_background_border_selected" />
<attr name="sel_background_border_disable" />
<attr name="sel_background_ripple" />
<attr name="sel_background_ripple_mask" />
<attr name="sel_background_ripple_mask_shape" />
<attr name="sel_background_ripple_mask_corners" />
<attr name="sel_background_ripple_mask_corner_topLeft" />
<attr name="sel_background_ripple_mask_corner_topRight" />
<attr name="sel_background_ripple_mask_corner_bottomLeft" />
<attr name="sel_background_ripple_mask_corner_bottomRight" />
</declare-styleable>
<declare-styleable name="SRelativeLayout">
<attr name="sel_background" />
<attr name="sel_background_pressed" />
<attr name="sel_background_selected" />
<attr name="sel_background_disable" />
<attr name="sel_background_shape" />
<attr name="sel_background_corners" />
<attr name="sel_background_corner_topLeft" />
<attr name="sel_background_corner_topRight" />
<attr name="sel_background_corner_bottomLeft" />
<attr name="sel_background_corner_bottomRight" />
<attr name="sel_background_border_color" />
<attr name="sel_background_border_width" />
<attr name="sel_background_border_pressed" />
<attr name="sel_background_border_selected" />
<attr name="sel_background_border_disable" />
<attr name="sel_background_ripple" />
<attr name="sel_background_ripple_mask" />
<attr name="sel_background_ripple_mask_shape" />
<attr name="sel_background_ripple_mask_corners" />
<attr name="sel_background_ripple_mask_corner_topLeft" />
<attr name="sel_background_ripple_mask_corner_topRight" />
<attr name="sel_background_ripple_mask_corner_bottomLeft" />
<attr name="sel_background_ripple_mask_corner_bottomRight" />
</declare-styleable>
<declare-styleable name="PaddingImageView">
<attr name="vp_content_width" />
<attr name="vp_content_height" />
<attr name="vp_content_padding_left" />
<attr name="vp_content_padding_top" />
<attr name="vp_content_padding_right" />
<attr name="vp_content_padding_bottom" />
</declare-styleable>
<declare-styleable name="PaddingTextView">
<attr name="vp_content_width" />
<attr name="vp_content_height" />
<attr name="vp_content_padding_left" />
<attr name="vp_content_padding_top" />
<attr name="vp_content_padding_right" />
<attr name="vp_content_padding_bottom" />
</declare-styleable>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="doodle_btn_pressed_color">#ffffd943</color>
<color name="doodle_btn_border">#88cccccc</color>
<color name="colorPrimary">#008577</color>
<color name="colorPrimaryDark">#00574B</color>
<color name="colorAccent">#D81B60</color>
<color name="color_0089ff">#0089FF</color>
<color name="textColor">#333333</color>
<color name="color_abb8b9">#abb8b9</color>
<color name="white">#ffffff</color>
<color name="black">#000000</color>
<color name="color_f27d7a">#f27d7a</color>
<color name="color_f3a536">#f3a536</color>
<color name="color_8fc131">#8fc131</color>
<color name="color_458cfb">#458cfb</color>
<color name="color_ad5afb">#ad5afb</color>
<color name="color_86999b">#86999b</color>
<color name="color_F47C7C">#F47C7C</color>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="doodle_title_bar_height">50dp</dimen>
<dimen name="doodle_btn_pen_size">32dp</dimen>
<dimen name="doodle_btn_shape_size">30dp</dimen>
<dimen name="doodle_margin">5dp</dimen>
<dimen name="androids_api27_config_minScalingSpan">27mm</dimen>
</resources>
\ No newline at end of file
<resources>
<string name="app_name">picedit</string>
<string name="doodle_app_name">涂鸦</string>
<string name="doodle_clear_screen">清屏</string>
<string name="doodle_cant_undo_after_clearing">清屏后不可撤销</string>
<string name="doodle_saving_picture">保存图片</string>
<string name="doodle_enter">确定</string>
<string name="doodle_cancel">取消</string>
<string name="doodle_save">保存</string>
<string name="doodle_edit">编辑</string>
<string name="doodle_remove">移除</string>
<string name="doodle_top">置顶</string>
<string name="doodle_bottom">置底</string>
<string name="doodle_select_image">选择图片</string>
<string name="doodle_edit_mode">编辑模式</string>
</resources>
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="style_home_RadioButton">
<item name="android:layout_width">0dp</item>
<item name="android:layout_weight">1</item>
<item name="android:layout_height">match_parent</item>
<item name="android:button">@null</item>
<item name="android:background">@null</item>
<item name="android:gravity">center</item>
<item name="android:textColor">@drawable/selector_main_menu</item>
<item name="android:drawablePadding">2dp</item>
<item name="android:textSize">13sp</item>
<item name="android:layout_gravity">center</item>
</style>
<style name="line_match">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">1px</item>
<item name="android:background">#e5e5e5</item>
</style>
<style name="MyDialogStyleBottom" parent="android:Theme.Dialog">
<item name="android:windowAnimationStyle">@style/AnimBottom</item>
<item name="android:windowFrame">@null</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:backgroundDimEnabled">true</item>
</style>
<style name="AnimBottom" parent="@android:style/Animation">
<item name="android:windowEnterAnimation">@anim/actionsheet_dialog_in</item>
<item name="android:windowExitAnimation">@anim/actionsheet_dialog_out</item>
</style>
<style name="topDialogStyle">
<item name="android:windowEnterAnimation">@anim/dialog_top_enter</item>
<item name="android:windowExitAnimation">@anim/dialog_top_exit</item>
</style>
</resources>
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