拷贝APP_Bck20250119项目源码,移除libjc/jcc/libs/android-29.jar文件。
This commit is contained in:
35
libaes/src/main/res/anim/normal_dialog_enter_center.xml
Normal file
35
libaes/src/main/res/anim/normal_dialog_enter_center.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shareInterpolator="false">
|
||||
<scale
|
||||
android:interpolator="@android:anim/accelerate_decelerate_interpolator"
|
||||
android:fromXScale="0.1"
|
||||
android:toXScale="1.0"
|
||||
android:fromYScale="0.1"
|
||||
android:toYScale="1.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:fillAfter="false"
|
||||
android:duration="300" />
|
||||
<set android:interpolator="@android:anim/decelerate_interpolator">
|
||||
<scale
|
||||
android:fromXScale="1.0"
|
||||
android:toXScale="1.0"
|
||||
android:fromYScale="1.0"
|
||||
android:toYScale="1.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:startOffset="700"
|
||||
android:duration="100"
|
||||
android:fillBefore="false" />
|
||||
<rotate
|
||||
android:fromDegrees="0"
|
||||
android:toDegrees="0"
|
||||
android:toYScale="0.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:startOffset="700"
|
||||
android:duration="100" />
|
||||
</set>
|
||||
</set>
|
||||
15
libaes/src/main/res/anim/normal_dialog_enter_corner.xml
Normal file
15
libaes/src/main/res/anim/normal_dialog_enter_corner.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shareInterpolator="false">
|
||||
<scale
|
||||
android:interpolator="@android:anim/accelerate_decelerate_interpolator"
|
||||
android:fromXScale="0.1"
|
||||
android:toXScale="1.0"
|
||||
android:fromYScale="0.1"
|
||||
android:toYScale="1.0"
|
||||
android:pivotX="@dimen/dialogPivotX"
|
||||
android:pivotY="@dimen/dialogPivotY"
|
||||
android:fillAfter="false"
|
||||
android:duration="500" />
|
||||
</set>
|
||||
35
libaes/src/main/res/anim/normal_dialog_exit_center.xml
Normal file
35
libaes/src/main/res/anim/normal_dialog_exit_center.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shareInterpolator="false">
|
||||
<scale
|
||||
android:interpolator="@android:anim/accelerate_decelerate_interpolator"
|
||||
android:fromXScale="1.0"
|
||||
android:toXScale="1.0"
|
||||
android:fromYScale="1.0"
|
||||
android:toYScale="1.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:fillAfter="false"
|
||||
android:duration="100" />
|
||||
<set android:interpolator="@android:anim/decelerate_interpolator">
|
||||
<scale
|
||||
android:fromXScale="1.0"
|
||||
android:toXScale="0.1"
|
||||
android:fromYScale="1.0"
|
||||
android:toYScale="0.1"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:startOffset="700"
|
||||
android:duration="100"
|
||||
android:fillBefore="false" />
|
||||
<rotate
|
||||
android:fromDegrees="0"
|
||||
android:toDegrees="0"
|
||||
android:toYScale="0.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:startOffset="700"
|
||||
android:duration="100" />
|
||||
</set>
|
||||
</set>
|
||||
14
libaes/src/main/res/anim/normal_dialog_exit_corner.xml
Normal file
14
libaes/src/main/res/anim/normal_dialog_exit_corner.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shareInterpolator="false">
|
||||
<scale
|
||||
android:fromXScale="1.0"
|
||||
android:toXScale="0.1"
|
||||
android:fromYScale="1.0"
|
||||
android:toYScale="0.1"
|
||||
android:pivotX="@dimen/dialogPivotX"
|
||||
android:pivotY="@dimen/dialogPivotY"
|
||||
android:duration="500"
|
||||
android:fillBefore="false" />
|
||||
</set>
|
||||
62
libaes/src/main/res/drawable/acard_frame_main.xml
Normal file
62
libaes/src/main/res/drawable/acard_frame_main.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<!-- 边框阴影部分 -->
|
||||
<!-- 相对边框的Offset设置(android:left, top, right, bottom) -->
|
||||
<item
|
||||
android:left="0dp"
|
||||
android:top="0dp"
|
||||
android:right="0dp"
|
||||
android:bottom="0dp">
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:startColor="@color/colorACardShadow"
|
||||
android:centerColor="@color/colorACardShadow"
|
||||
android:endColor="@color/colorACardShadow"/>
|
||||
<corners
|
||||
android:bottomLeftRadius="6dip"
|
||||
android:bottomRightRadius="6dip"
|
||||
android:topLeftRadius="6dip"
|
||||
android:topRightRadius="6dip" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 边框部分 -->
|
||||
<item
|
||||
android:left="0dp"
|
||||
android:top="0dp"
|
||||
android:right="1dp"
|
||||
android:bottom="2dp">
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:startColor="@color/colorACardFrame"
|
||||
android:centerColor="@color/colorACardFrame"
|
||||
android:endColor="@color/colorACardFrame"/>
|
||||
<corners
|
||||
android:bottomLeftRadius="6dip"
|
||||
android:bottomRightRadius="6dip"
|
||||
android:topLeftRadius="6dip"
|
||||
android:topRightRadius="6dip" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 背景主体部分 -->
|
||||
<item
|
||||
android:left="2dp"
|
||||
android:top="2dp"
|
||||
android:right="3dp"
|
||||
android:bottom="3dp">
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:type="linear"
|
||||
android:angle="90"
|
||||
android:startColor="@color/colorACardBackgroung"
|
||||
android:centerColor="@color/colorACardBackgroung"
|
||||
android:endColor="@color/colorACardBackgroung"/>
|
||||
<corners
|
||||
android:bottomLeftRadius="6dip"
|
||||
android:bottomRightRadius="6dip"
|
||||
android:topLeftRadius="6dip"
|
||||
android:topRightRadius="6dip" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
62
libaes/src/main/res/drawable/atoolbar_frame.xml
Normal file
62
libaes/src/main/res/drawable/atoolbar_frame.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<!-- 边框阴影部分 -->
|
||||
<!-- 相对边框的Offset设置(android:left, top, right, bottom) -->
|
||||
<item
|
||||
android:left="0dp"
|
||||
android:top="0dp"
|
||||
android:right="0dp"
|
||||
android:bottom="2dp">
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:startColor="?attr/attrAToolbarEndColor"
|
||||
android:centerColor="?attr/attrAToolbarCenterColor"
|
||||
android:endColor="?attr/attrAToolbarStartColor"/>
|
||||
<corners
|
||||
android:bottomLeftRadius="6dip"
|
||||
android:bottomRightRadius="6dip"
|
||||
android:topLeftRadius="6dip"
|
||||
android:topRightRadius="6dip" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 边框部分 -->
|
||||
<item
|
||||
android:left="2dp"
|
||||
android:top="2dp"
|
||||
android:right="2dp"
|
||||
android:bottom="4dp">
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:startColor="?attr/attrAToolbarCenterColor"
|
||||
android:centerColor="?attr/attrAToolbarCenterColor"
|
||||
android:endColor="?attr/attrAToolbarCenterColor"/>
|
||||
<corners
|
||||
android:bottomLeftRadius="6dip"
|
||||
android:bottomRightRadius="6dip"
|
||||
android:topLeftRadius="6dip"
|
||||
android:topRightRadius="6dip" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 背景主体部分 -->
|
||||
<item
|
||||
android:left="4dp"
|
||||
android:top="4dp"
|
||||
android:right="4dp"
|
||||
android:bottom="6dp">
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:type="linear"
|
||||
android:angle="90"
|
||||
android:startColor="?attr/attrAToolbarStartColor"
|
||||
android:centerColor="?attr/attrAToolbarCenterColor"
|
||||
android:endColor="?attr/attrAToolbarEndColor"/>
|
||||
<corners
|
||||
android:bottomLeftRadius="6dip"
|
||||
android:bottomRightRadius="6dip"
|
||||
android:topLeftRadius="6dip"
|
||||
android:topRightRadius="6dip" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
7
libaes/src/main/res/drawable/btn_style.xml
Normal file
7
libaes/src/main/res/drawable/btn_style.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/pressed_shape" android:state_pressed="true"></item>
|
||||
<item android:drawable="@drawable/default_shape"></item>
|
||||
|
||||
</selector>
|
||||
27
libaes/src/main/res/drawable/default_shape.xml
Normal file
27
libaes/src/main/res/drawable/default_shape.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<!-- 颜色填充方式绘画按钮 -->
|
||||
<!--<solid android:color="?attr/colorPrimaryDark" />-->
|
||||
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="?attr/colorPrimary" />
|
||||
|
||||
<corners android:radius="15dp" />
|
||||
|
||||
<!-- 颜色线性渐变方式绘画按钮 -->
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:startColor="?attr/colorAccent"
|
||||
android:centerColor="?attr/colorPrimary"
|
||||
android:endColor="?attr/colorPrimaryDark"/>
|
||||
|
||||
<padding
|
||||
android:left="5dp"
|
||||
android:top="5dp"
|
||||
android:right="5dp"
|
||||
android:bottom="5dp" />
|
||||
|
||||
</shape>
|
||||
11
libaes/src/main/res/drawable/ic_arrow_left_right_bold.xml
Normal file
11
libaes/src/main/res/drawable/ic_arrow_left_right_bold.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportHeight="24"
|
||||
android:viewportWidth="24">
|
||||
<path
|
||||
android:fillColor="#ff000000"
|
||||
android:pathData="M8,14V18L2,12L8,6V10H16V6L22,12L16,18V14H8Z"/>
|
||||
|
||||
</vector>
|
||||
11
libaes/src/main/res/drawable/ic_arrow_up_circle_outline.xml
Normal file
11
libaes/src/main/res/drawable/ic_arrow_up_circle_outline.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportHeight="24"
|
||||
android:viewportWidth="24">
|
||||
<path
|
||||
android:fillColor="#ff000000"
|
||||
android:pathData="M13,18H11V10L7.5,13.5L6.08,12.08L12,6.16L17.92,12.08L16.5,13.5L13,10V18M12,2A10,10 0,0 1,22 12A10,10 0,0 1,12 22A10,10 0,0 1,2 12A10,10 0,0 1,12 2M12,4A8,8 0,0 0,4 12A8,8 0,0 0,12 20A8,8 0,0 0,20 12A8,8 0,0 0,12 4Z"/>
|
||||
|
||||
</vector>
|
||||
43
libaes/src/main/res/drawable/ohpcts_frame.xml
Normal file
43
libaes/src/main/res/drawable/ohpcts_frame.xml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<!-- 进度条背景色 -->
|
||||
<item android:id="@android:id/background">
|
||||
<shape>
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:centerY="0.75"
|
||||
android:startColor="@color/colorOHPCTSBackground"
|
||||
android:centerColor="@color/colorOHPCTSBackground"
|
||||
android:endColor="@color/colorOHPCTSBackground"/>
|
||||
<corners android:radius="6dip"/>
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 第二进度条 -->
|
||||
<item android:id="@android:id/secondaryProgress">
|
||||
<clip>
|
||||
<shape>
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:centerY="0.75"
|
||||
android:startColor="@color/colorOHPCTSSecondaryProgress"
|
||||
android:centerColor="@color/colorOHPCTSSecondaryProgress"
|
||||
android:endColor="@color/colorOHPCTSSecondaryProgress"/>
|
||||
<corners android:radius="6dip"/>
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
<!-- 第一进度条 -->
|
||||
<item android:id="@android:id/progress">
|
||||
<clip>
|
||||
<shape>
|
||||
<gradient
|
||||
android:type="linear"
|
||||
android:angle="90"
|
||||
android:startColor="@color/colorOHPCTSProgress"
|
||||
android:centerColor="@color/colorOHPCTSProgress"
|
||||
android:endColor="@color/colorOHPCTSProgress"/>
|
||||
<corners android:radius="6dip"/>
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
</layer-list>
|
||||
22
libaes/src/main/res/drawable/pressed_shape.xml
Normal file
22
libaes/src/main/res/drawable/pressed_shape.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<!-- 颜色填充方式绘画按钮 -->
|
||||
<solid android:color="?attr/colorPrimaryDark" />
|
||||
<!-- 边框 -->
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="?attr/colorPrimaryDark" />
|
||||
<!-- 定义成圆角的 -->
|
||||
<corners android:radius="15dp" />
|
||||
|
||||
<!-- 颜色线性渐变方式绘画按钮 -->
|
||||
<!--<gradient
|
||||
android:angle="270"
|
||||
android:startColor="?attr/colorAccent"
|
||||
android:centerColor="?attr/colorPrimary"
|
||||
android:endColor="?attr/colorPrimaryDark"/>
|
||||
-->
|
||||
|
||||
</shape>
|
||||
62
libaes/src/main/res/drawable/toast_frame.xml
Normal file
62
libaes/src/main/res/drawable/toast_frame.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<!-- 边框阴影部分 -->
|
||||
<!-- 相对边框的Offset设置(android:left, top, right, bottom) -->
|
||||
<item
|
||||
android:left="0dp"
|
||||
android:top="0dp"
|
||||
android:right="0dp"
|
||||
android:bottom="0dp">
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:startColor="@color/colorToastShadow"
|
||||
android:centerColor="@color/colorToastShadow"
|
||||
android:endColor="@color/colorToastShadow"/>
|
||||
<corners
|
||||
android:bottomLeftRadius="10dip"
|
||||
android:bottomRightRadius="10dip"
|
||||
android:topLeftRadius="10dip"
|
||||
android:topRightRadius="10dip" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 边框部分 -->
|
||||
<item
|
||||
android:left="0dp"
|
||||
android:top="0dp"
|
||||
android:right="1dp"
|
||||
android:bottom="2dp">
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:startColor="@color/colorToastFrame"
|
||||
android:centerColor="@color/colorToastFrame"
|
||||
android:endColor="@color/colorToastFrame"/>
|
||||
<corners
|
||||
android:bottomLeftRadius="10dip"
|
||||
android:bottomRightRadius="10dip"
|
||||
android:topLeftRadius="10dip"
|
||||
android:topRightRadius="10dip" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 背景主体部分 -->
|
||||
<item
|
||||
android:left="2dp"
|
||||
android:top="2dp"
|
||||
android:right="3dp"
|
||||
android:bottom="3dp">
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:type="linear"
|
||||
android:angle="90"
|
||||
android:startColor="@color/colorToastBackgroung"
|
||||
android:centerColor="@color/colorToastBackgroung"
|
||||
android:endColor="@color/colorToastBackgroung"/>
|
||||
<corners
|
||||
android:bottomLeftRadius="10dip"
|
||||
android:bottomRightRadius="10dip"
|
||||
android:topLeftRadius="10dip"
|
||||
android:topRightRadius="10dip" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
57
libaes/src/main/res/layout/activity_drawer.xml
Normal file
57
libaes/src/main/res/layout/activity_drawer.xml
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/activitydrawerASupportToolbar1"/>
|
||||
|
||||
<androidx.drawerlayout.widget.DrawerLayout
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/activitydrawerDrawerLayout1">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1.0"
|
||||
android:id="@+id/activitydrawerLinearLayout1"/>
|
||||
</LinearLayout>
|
||||
|
||||
<com.baoyz.widget.PullRefreshLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:background="?attr/colorAccent"
|
||||
android:choiceMode="singleChoice"
|
||||
android:divider="#FFFFFF"
|
||||
android:dividerHeight="1dp"
|
||||
android:id="@+id/activitydrawerPullRefreshLayout1">
|
||||
|
||||
<cc.winboll.studio.libaes.views.DrawerMenuListView
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:background="?attr/colorAccent"
|
||||
android:choiceMode="singleChoice"
|
||||
android:divider="#FFFFFF"
|
||||
android:dividerHeight="1dp"
|
||||
android:id="@+id/activitydrawerDrawerMenuListView1"/>
|
||||
|
||||
</com.baoyz.widget.PullRefreshLayout>
|
||||
|
||||
</androidx.drawerlayout.widget.DrawerLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
58
libaes/src/main/res/layout/activity_drawerfragment.xml
Normal file
58
libaes/src/main/res/layout/activity_drawerfragment.xml
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/activitydrawerfragmentASupportToolbar1"/>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1.0">
|
||||
|
||||
<androidx.drawerlayout.widget.DrawerLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/activitydrawerfragmentDrawerLayout1">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/activitydrawerfragmentFrameLayout1"/>
|
||||
|
||||
<com.baoyz.widget.PullRefreshLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:background="?attr/colorAccent"
|
||||
android:choiceMode="singleChoice"
|
||||
android:divider="#FFFFFF"
|
||||
android:dividerHeight="1dp"
|
||||
android:id="@+id/activitydrawerfragmentPullRefreshLayout1">
|
||||
|
||||
<cc.winboll.studio.libaes.views.ADrawerMenuListView
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:background="?attr/colorAccent"
|
||||
android:choiceMode="singleChoice"
|
||||
android:divider="#FFFFFF"
|
||||
android:dividerHeight="1dp"
|
||||
android:id="@+id/activitydrawerfragmentDrawerMenuListView1"/>
|
||||
|
||||
</com.baoyz.widget.PullRefreshLayout>
|
||||
|
||||
</androidx.drawerlayout.widget.DrawerLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
14
libaes/src/main/res/layout/activity_library.xml
Normal file
14
libaes/src/main/res/layout/activity_library.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/activitylibraryFrameLayout1"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
15
libaes/src/main/res/layout/activity_secondarylibrary.xml
Normal file
15
libaes/src/main/res/layout/activity_secondarylibrary.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="SecondaryLibraryActivity"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
15
libaes/src/main/res/layout/activity_test_aboutfragment.xml
Normal file
15
libaes/src/main/res/layout/activity_test_aboutfragment.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/activitytestaboutfragmentFrameLayout1"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
15
libaes/src/main/res/layout/activity_testasupporttoolbar.xml
Normal file
15
libaes/src/main/res/layout/activity_testasupporttoolbar.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/activitytestasupporttoolbarASupportToolbar1"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
15
libaes/src/main/res/layout/activity_testatoolbar.xml
Normal file
15
libaes/src/main/res/layout/activity_testatoolbar.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<cc.winboll.studio.libaes.views.AToolbar
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/activitytestatoolbarAToolbar1"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
43
libaes/src/main/res/layout/dialog_storagepath.xml
Normal file
43
libaes/src/main/res/layout/dialog_storagepath.xml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Storage Path Dialog"/>
|
||||
|
||||
<EditText
|
||||
android:layout_width="match_parent"
|
||||
android:ems="10"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="text"
|
||||
android:autofillHints=""
|
||||
android:hint="text 1"/>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="end">
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Cancel"
|
||||
android:textAllCaps="false"/>
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="OK"
|
||||
android:textAllCaps="false"
|
||||
android:id="@+id/dialogstoragepathButton1"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
20
libaes/src/main/res/layout/fragment_abutton.xml
Normal file
20
libaes/src/main/res/layout/fragment_abutton.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="AButton"/>
|
||||
|
||||
<cc.winboll.studio.libaes.views.AButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="32dp"
|
||||
android:text="确定"
|
||||
android:id="@+id/fragmentabuttonAButton1"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
15
libaes/src/main/res/layout/fragment_secondarylibrary.xml
Normal file
15
libaes/src/main/res/layout/fragment_secondarylibrary.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#FF0A9FA6">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="SecondaryLibraryFragment"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
15
libaes/src/main/res/layout/fragment_test1.xml
Normal file
15
libaes/src/main/res/layout/fragment_test1.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#FF0A9FA6">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="TestFragment1"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
15
libaes/src/main/res/layout/fragment_test2.xml
Normal file
15
libaes/src/main/res/layout/fragment_test2.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#FF0A9FA6">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="TestFragment2"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
60
libaes/src/main/res/layout/fragment_viewpage.xml
Normal file
60
libaes/src/main/res/layout/fragment_viewpage.xml
Normal file
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="AOHPCTCSeekBar"/>
|
||||
|
||||
<cc.winboll.studio.libaes.views.AOHPCTCSeekBar
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/fragmentviewpageAOHPCTCSeekBar1"/>
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1.0"
|
||||
android:id="@+id/fragmentviewpageViewPager1"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center"
|
||||
android:id="@+id/fragmentviewpageLinearLayout1">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
tools:ignore="ContentDescription"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
tools:ignore="ContentDescription"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
tools:ignore="ContentDescription"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
tools:ignore="ContentDescription"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
28
libaes/src/main/res/layout/listview_drawermenu.xml
Normal file
28
libaes/src/main/res/layout/listview_drawermenu.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:focusable="false"
|
||||
android:id="@+id/listviewdrawermenuImageView1"
|
||||
tools:ignore="ContentDescription"/>
|
||||
|
||||
<TextView
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_toEndOf="@id/listviewdrawermenuImageView1"
|
||||
android:textSize="18sp"
|
||||
android:text="AndroidGoodies"
|
||||
android:id="@+id/listviewdrawermenuTextView1"/>
|
||||
|
||||
</RelativeLayout>
|
||||
35
libaes/src/main/res/layout/view_toast.xml
Normal file
35
libaes/src/main/res/layout/view_toast.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal"
|
||||
android:background="@drawable/toast_frame"
|
||||
android:padding="10dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold"
|
||||
android:id="@+id/customtoastTextView1"
|
||||
android:background="#FFFFFFFF"
|
||||
android:gravity="center_horizontal"/>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="#FFE8E8E8"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:text="Text"
|
||||
android:id="@+id/customtoastTextView2"
|
||||
android:background="#FFFFFFFF"
|
||||
android:gravity="center_horizontal"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
18
libaes/src/main/res/layout/viewpage_acard.xml
Normal file
18
libaes/src/main/res/layout/viewpage_acard.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="ACard"/>
|
||||
|
||||
<cc.winboll.studio.libaes.views.ACard
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="200dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
18
libaes/src/main/res/layout/viewpage_aohpctccard.xml
Normal file
18
libaes/src/main/res/layout/viewpage_aohpctccard.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="AOHPCTSCard"/>
|
||||
|
||||
<cc.winboll.studio.libaes.views.AOHPCTSCard
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
16
libaes/src/main/res/layout/viewpage_aohpctcsb.xml
Normal file
16
libaes/src/main/res/layout/viewpage_aohpctcsb.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="AOHPCTCSeekBar"/>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
22
libaes/src/main/res/layout/viewpage_atickprogressbar.xml
Normal file
22
libaes/src/main/res/layout/viewpage_atickprogressbar.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="ATickProgressBar"/>
|
||||
|
||||
<cc.winboll.studio.libaes.views.ATickProgressBar
|
||||
style="@android:style/Widget.ProgressBar.Horizontal"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="200dp"/>
|
||||
<ProgressBar
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="200dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
26
libaes/src/main/res/menu/toolbar_apptheme.xml
Normal file
26
libaes/src/main/res/menu/toolbar_apptheme.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item android:title="@string/text_AppTheme">
|
||||
<menu >
|
||||
<item
|
||||
android:id="@+id/item_defaulttheme"
|
||||
android:title="@string/text_DefaultTheme"/>
|
||||
<item
|
||||
android:id="@+id/item_depththeme"
|
||||
android:title="@string/text_DepthTheme"/>
|
||||
<item
|
||||
android:id="@+id/item_skytheme"
|
||||
android:title="@string/text_SkyTheme"/>
|
||||
<item
|
||||
android:id="@+id/item_goldentheme"
|
||||
android:title="@string/text_GoldenTheme"/>
|
||||
<item
|
||||
android:id="@+id/item_memortheme"
|
||||
android:title="@string/text_MemorTheme"/>
|
||||
<item
|
||||
android:id="@+id/item_taotheme"
|
||||
android:title="@string/text_TaoTheme"/>
|
||||
</menu>
|
||||
</item>
|
||||
</menu>
|
||||
15
libaes/src/main/res/menu/toolbar_drawerbase.xml
Normal file
15
libaes/src/main/res/menu/toolbar_drawerbase.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item android:title="Develop">
|
||||
<menu >
|
||||
<item
|
||||
android:id="@+id/item_testappcrash"
|
||||
android:title="TestAppCrash"/>
|
||||
</menu>
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/item_about"
|
||||
android:title="About"/>
|
||||
</menu>
|
||||
32
libaes/src/main/res/menu/toolbar_library.xml
Normal file
32
libaes/src/main/res/menu/toolbar_library.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/item_log"
|
||||
android:title="LogActivity"/>
|
||||
<item
|
||||
android:id="@+id/item_colordialog"
|
||||
android:title="ColorDialog"/>
|
||||
<item
|
||||
android:id="@+id/item_dialogstoragepath"
|
||||
android:title="StoragePathDialog"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/item_localfileselectdialog"
|
||||
android:title="LocalFileSelectDialog"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/item_atoolbar"
|
||||
android:title="Test AToolbar"/>
|
||||
<item
|
||||
android:id="@+id/item_asupporttoolbar"
|
||||
android:title="Test ASupportToolbar"/>
|
||||
<item
|
||||
android:id="@+id/item_atoast"
|
||||
android:title="Test AToast"/>
|
||||
<item
|
||||
android:id="@+id/item_secondarylibraryactivity"
|
||||
android:title="Test SecondaryLibraryActivity"/>
|
||||
<item
|
||||
android:id="@+id/item_drawerfragmentactivity"
|
||||
android:title="Test DrawerFragmentActivity"/>
|
||||
</menu>
|
||||
9
libaes/src/main/res/menu/toolbar_secondarylibrary.xml
Normal file
9
libaes/src/main/res/menu/toolbar_secondarylibrary.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/item_test"
|
||||
android:title="TestItem"/>
|
||||
|
||||
</menu>
|
||||
16
libaes/src/main/res/values-zh/string.xml
Normal file
16
libaes/src/main/res/values-zh/string.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="lib_name">libaes</string>
|
||||
<string name="lib_description">云宝APP应用安卓元素类库示例。源码仅供调试参考,请勿直接引用。(WinBoll APP application Android element class library example. The source is just for demo debug test, Do not quote directly.)</string>
|
||||
<string name="lib_home">https://winboll.cc/aes</string>
|
||||
<string name="text_about">关于</string>
|
||||
<string name="text_AppTheme">应用主题</string>
|
||||
<string name="text_DefaultTheme">默认主题</string>
|
||||
<string name="text_DepthTheme">深奥主题</string>
|
||||
<string name="text_SkyTheme">天空主题</string>
|
||||
<string name="text_GoldenTheme">辉煌主题</string>
|
||||
<string name="text_MemorTheme">梦箩主题</string>
|
||||
<string name="text_TaoTheme">黑白主题</string>
|
||||
|
||||
</resources>
|
||||
55
libaes/src/main/res/values/attrs.xml
Normal file
55
libaes/src/main/res/values/attrs.xml
Normal file
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<attr name="colorTextColor" format="color" />
|
||||
<attr name="colorPrimary" format="color" />
|
||||
<attr name="colorPrimaryDark" format="color" />
|
||||
<attr name="colorAccent" format="color" />
|
||||
|
||||
<attr name="aToolbar" format="reference"/>
|
||||
<attr name="attrAToolbarTitleTextColor" format="color" />
|
||||
<attr name="attrAToolbarStartColor" format="color" />
|
||||
<attr name="attrAToolbarCenterColor" format="color" />
|
||||
<attr name="attrAToolbarEndColor" format="color" />
|
||||
|
||||
<declare-styleable name="AToolbar">
|
||||
<attr name="attrAToolbarTitleTextColor"/>
|
||||
<attr name="attrAToolbarStartColor"/>
|
||||
<attr name="attrAToolbarCenterColor"/>
|
||||
<attr name="attrAToolbarEndColor"/>
|
||||
</declare-styleable>
|
||||
|
||||
<attr name="aSupportToolbar" format="reference"/>
|
||||
<attr name="attrASupportToolbarTitleTextColor" format="color" />
|
||||
<attr name="attrASupportToolbarStartColor" format="color" />
|
||||
<attr name="attrASupportToolbarCenterColor" format="color" />
|
||||
<attr name="attrASupportToolbarEndColor" format="color" />
|
||||
|
||||
<declare-styleable name="ASupportToolbar">
|
||||
<attr name="attrASupportToolbarTitleTextColor"/>
|
||||
<attr name="attrASupportToolbarStartColor"/>
|
||||
<attr name="attrASupportToolbarCenterColor"/>
|
||||
<attr name="attrASupportToolbarEndColor"/>
|
||||
</declare-styleable>
|
||||
|
||||
<attr name="ActionSheetList" format="reference"/>
|
||||
<!--<declare-styleable name="AToolbarStyle">
|
||||
<attr name="attrAToolbarStartColor" format="color" />
|
||||
<attr name="attrAToolbarCenterColor" format="color" />
|
||||
<attr name="attrAToolbarEndColor" format="color" />
|
||||
</declare-styleable>-->
|
||||
<declare-styleable name="ACard">
|
||||
<attr name="attrACardBackgroudColor" format="color" />
|
||||
<attr name="attrACardShadowColor" format="color" />
|
||||
<attr name="attrACardFrameColor" format="color" />
|
||||
</declare-styleable>
|
||||
<declare-styleable name="ATickProgressBar">
|
||||
<attr name="attrATickProgressBarBackgroudColor" format="color" />
|
||||
<attr name="attrATickProgressBarProgressColor" format="color" />
|
||||
</declare-styleable>
|
||||
<declare-styleable name="OneHundredPercantClickToSendProgressBar">
|
||||
<attr name="attrOHPCTSBackgroundColor" format="color" />
|
||||
<attr name="attrOHPCTSSecondaryProgressColor" format="color" />
|
||||
<attr name="attrOHPCTSProgressColor" format="color" />
|
||||
</declare-styleable>
|
||||
</resources>
|
||||
43
libaes/src/main/res/values/colors.xml
Normal file
43
libaes/src/main/res/values/colors.xml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- 默认方案 -->
|
||||
<color name="colorPrimary">#FF03AB4E</color>
|
||||
<color name="colorPrimaryDark">#FF027C39</color>
|
||||
<color name="colorAccent">#FF3DDC84</color>
|
||||
<color name="colorToastFrame">#FFA9A9A9</color>
|
||||
<color name="colorToastShadow">#FF000000</color>
|
||||
<color name="colorToastBackgroung">#FFFFFFFF</color>
|
||||
<color name="colorAToolbarStartColor">#FF7D3F12</color>
|
||||
<color name="colorAToolbarCenterColor">#FFCC6E2B</color>
|
||||
<color name="colorAToolbarEndColor">#FFF4B98F</color>
|
||||
|
||||
<color name="colorACardShadow">@color/colorPrimaryDark</color>
|
||||
<color name="colorACardFrame">@color/colorPrimary</color>
|
||||
<color name="colorACardBackgroung">@color/colorAccent</color>
|
||||
|
||||
<color name="colorATickProgressBarBackgroung">@color/colorAccent</color>
|
||||
<color name="colorATickProgressBarProgress">@color/colorPrimary</color>
|
||||
|
||||
<color name="colorOHPCTSBackground">@color/colorAccent</color>
|
||||
<color name="colorOHPCTSSecondaryProgress">@color/colorPrimary</color>
|
||||
<color name="colorOHPCTSProgress">@color/colorPrimaryDark</color>
|
||||
|
||||
<!-- -->
|
||||
|
||||
<!-- 调试方案
|
||||
<color name="colorPrimary">#FF727272</color>
|
||||
<color name="colorPrimaryDark">#FF444444</color>
|
||||
<color name="colorAccent">#FF9EA19F</color>
|
||||
|
||||
<color name="colorAToolbarStartColor">#FF4776EB</color>
|
||||
<color name="colorAToolbarCenterColor">#FF0D4BE7</color>
|
||||
<color name="colorAToolbarEndColor">#FF8FA7E3</color>
|
||||
|
||||
<color name="colorACardShadow">#FF22A200</color>
|
||||
<color name="colorACardFrame">#FF3FCC19</color>
|
||||
<color name="colorACardBackgroung">#FF88F16B</color>
|
||||
|
||||
<color name="colorATickProgressBarBackgroung">#FF6DC4E2</color>
|
||||
<color name="colorATickProgressBarProgress">#FF22B0E1</color>
|
||||
-->
|
||||
</resources>
|
||||
16
libaes/src/main/res/values/dimens.xml
Normal file
16
libaes/src/main/res/values/dimens.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!--<item name="top_weight" type="dimen" format="integer">5</item>
|
||||
要在xml中引用上述定义的dimens,可以使用@dimen/text_line_spacing。
|
||||
要在代码中引用上述定义的dimens,可以使用如下代码。
|
||||
TypedValue outValue = new TypedValue();
|
||||
getResources().getValue(R.dimen.text_line_spacing, outValue, true);
|
||||
float value = outValue.getFloat();
|
||||
注意:不能通过getResources().getDimension(R.dimen.text_line_spacing);方式来引用,如果用这种方式引用上述方法定义的dimens,编译时不会报错,但是运行时会抛出NotFoundException。
|
||||
参考:https://blog.csdn.net/qluojieq/article/details/49591535?app_version=5.15.7&code=app_1562916241&csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%2249591535%22%2C%22source%22%3A%22weixin_38986226%22%7D&uLinkId=usr1mkqgl919blen&utm_source=app
|
||||
-->
|
||||
<item name="dialogPivotX" type="dimen" format="integer">900</item>
|
||||
<item name="dialogPivotY" type="dimen" format="integer">-900</item>
|
||||
<!--<item name="buttonHeight" type="dimen">100px</item>-->
|
||||
|
||||
</resources>
|
||||
16
libaes/src/main/res/values/strings.xml
Normal file
16
libaes/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="lib_name">libaes</string>
|
||||
<string name="lib_description">云宝APP应用安卓元素类库示例。源码仅供调试参考,请勿直接引用。(WinBoll APP application Android element class library example. The source is just for demo debug test, Do not quote directly.)</string>
|
||||
<string name="lib_home">https://winboll.cc/libaes</string>
|
||||
<string name="text_about">About</string>
|
||||
<string name="text_AppTheme">AppTheme</string>
|
||||
<string name="text_DefaultTheme">DefaultTheme</string>
|
||||
<string name="text_DepthTheme">DepthTheme</string>
|
||||
<string name="text_SkyTheme">SkyTheme</string>
|
||||
<string name="text_GoldenTheme">GoldenTheme</string>
|
||||
<string name="text_MemorTheme">MemorTheme</string>
|
||||
<string name="text_TaoTheme">TaoTheme</string>
|
||||
|
||||
</resources>
|
||||
210
libaes/src/main/res/values/styles.xml
Normal file
210
libaes/src/main/res/values/styles.xml
Normal file
@@ -0,0 +1,210 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="AESTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="colorTextColor">#FF000000</item>
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<item name="android:textColor">#FF000000</item>
|
||||
<item name="aToolbar">@style/AESAToolbar</item>
|
||||
<item name="aSupportToolbar">@style/AESASupportToolbar</item>
|
||||
</style>
|
||||
|
||||
<style name="AESAToolbar">
|
||||
<item name="attrAToolbarTitleTextColor">?attr/colorTextColor</item>
|
||||
<item name="attrAToolbarStartColor">?attr/colorPrimaryDark</item>
|
||||
<item name="attrAToolbarCenterColor">?attr/colorPrimary</item>
|
||||
<item name="attrAToolbarEndColor">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="AESASupportToolbar">
|
||||
<item name="attrASupportToolbarTitleTextColor">?attr/colorTextColor</item>
|
||||
<item name="attrASupportToolbarStartColor">?attr/colorPrimaryDark</item>
|
||||
<item name="attrASupportToolbarCenterColor">?attr/colorPrimary</item>
|
||||
<item name="attrASupportToolbarEndColor">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="DefaultAESTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="colorTextColor">#FF000000</item>
|
||||
<item name="colorPrimary">#FF03AB4E</item>
|
||||
<item name="colorPrimaryDark">#FF027C39</item>
|
||||
<item name="colorAccent">#FF3DDC84</item>
|
||||
<item name="android:textColor">#FF000000</item>
|
||||
<item name="aToolbar">@style/DefaultAToolbar</item>
|
||||
<item name="aSupportToolbar">@style/DefaultASupportToolbar</item>
|
||||
</style>
|
||||
|
||||
<style name="DefaultAToolbar">
|
||||
<item name="attrAToolbarTitleTextColor">?attr/colorTextColor</item>
|
||||
<item name="attrAToolbarStartColor">?attr/colorPrimaryDark</item>
|
||||
<item name="attrAToolbarCenterColor">?attr/colorPrimary</item>
|
||||
<item name="attrAToolbarEndColor">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="DefaultASupportToolbar">
|
||||
<item name="attrASupportToolbarTitleTextColor">?attr/colorTextColor</item>
|
||||
<item name="attrASupportToolbarStartColor">?attr/colorPrimaryDark</item>
|
||||
<item name="attrASupportToolbarCenterColor">?attr/colorPrimary</item>
|
||||
<item name="attrASupportToolbarEndColor">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="DepthAESTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="colorTextColor">#FF000000</item>
|
||||
<item name="colorPrimary">#FF2566FE</item>
|
||||
<item name="colorPrimaryDark">#FF1359FF</item>
|
||||
<item name="colorAccent">#FF8BAEFF</item>
|
||||
<item name="android:textColor">#FF000000</item>
|
||||
<item name="aToolbar">@style/DepthAToolbar</item>
|
||||
<item name="aSupportToolbar">@style/DepthASupportToolbar</item>
|
||||
</style>
|
||||
|
||||
<style name="DepthAToolbar">
|
||||
<item name="attrAToolbarTitleTextColor">?attr/colorTextColor</item>
|
||||
<item name="attrAToolbarStartColor">?attr/colorPrimaryDark</item>
|
||||
<item name="attrAToolbarCenterColor">?attr/colorPrimary</item>
|
||||
<item name="attrAToolbarEndColor">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="DepthASupportToolbar">
|
||||
<item name="attrASupportToolbarTitleTextColor">?attr/colorTextColor</item>
|
||||
<item name="attrASupportToolbarStartColor">?attr/colorPrimaryDark</item>
|
||||
<item name="attrASupportToolbarCenterColor">?attr/colorPrimary</item>
|
||||
<item name="attrASupportToolbarEndColor">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="SkyAESTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="colorTextColor">#FF000000</item>
|
||||
<item name="colorPrimary">#FF1E98D4</item>
|
||||
<item name="colorPrimaryDark">#FF046A9C</item>
|
||||
<item name="colorAccent">#FF8CD9FF</item>
|
||||
<item name="android:textColor">#FF000000</item>
|
||||
<item name="aToolbar">@style/SkyAToolbar</item>
|
||||
<item name="aSupportToolbar">@style/SkyASupportToolbar</item>
|
||||
</style>
|
||||
|
||||
<style name="SkyAToolbar">
|
||||
<item name="attrAToolbarTitleTextColor">?attr/colorTextColor</item>
|
||||
<item name="attrAToolbarStartColor">?attr/colorPrimaryDark</item>
|
||||
<item name="attrAToolbarCenterColor">?attr/colorPrimary</item>
|
||||
<item name="attrAToolbarEndColor">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="SkyASupportToolbar">
|
||||
<item name="attrASupportToolbarTitleTextColor">?attr/colorTextColor</item>
|
||||
<item name="attrASupportToolbarStartColor">?attr/colorPrimaryDark</item>
|
||||
<item name="attrASupportToolbarCenterColor">?attr/colorPrimary</item>
|
||||
<item name="attrASupportToolbarEndColor">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="GoldenAESTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="colorTextColor">#FF000000</item>
|
||||
<item name="colorPrimary">#FFFFE22A</item>
|
||||
<item name="colorPrimaryDark">#FFAE9600</item>
|
||||
<item name="colorAccent">#FFFFED78</item>
|
||||
<item name="android:textColor">#FF000000</item>
|
||||
<item name="aToolbar">@style/GoldenAToolbar</item>
|
||||
<item name="aSupportToolbar">@style/GoldenASupportToolbar</item>
|
||||
</style>
|
||||
|
||||
<style name="GoldenAToolbar">
|
||||
<item name="attrAToolbarTitleTextColor">?attr/colorTextColor</item>
|
||||
<item name="attrAToolbarStartColor">?attr/colorPrimaryDark</item>
|
||||
<item name="attrAToolbarCenterColor">?attr/colorPrimary</item>
|
||||
<item name="attrAToolbarEndColor">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="GoldenASupportToolbar">
|
||||
<item name="attrASupportToolbarTitleTextColor">?attr/colorTextColor</item>
|
||||
<item name="attrASupportToolbarStartColor">?attr/colorPrimaryDark</item>
|
||||
<item name="attrASupportToolbarCenterColor">?attr/colorPrimary</item>
|
||||
<item name="attrASupportToolbarEndColor">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="MemorAESTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="colorTextColor">#FF000000</item>
|
||||
<item name="colorPrimary">#FFCE1ED4</item>
|
||||
<item name="colorPrimaryDark">#FFB500BC</item>
|
||||
<item name="colorAccent">#FFE653EB</item>
|
||||
<item name="android:textColor">#FF000000</item>
|
||||
<item name="aToolbar">@style/MemorAToolbar</item>
|
||||
<item name="aSupportToolbar">@style/MemorASupportToolbar</item>
|
||||
</style>
|
||||
|
||||
<style name="MemorAToolbar">
|
||||
<item name="attrAToolbarTitleTextColor">?attr/colorTextColor</item>
|
||||
<item name="attrAToolbarStartColor">?attr/colorPrimaryDark</item>
|
||||
<item name="attrAToolbarCenterColor">?attr/colorPrimary</item>
|
||||
<item name="attrAToolbarEndColor">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="MemorASupportToolbar">
|
||||
<item name="attrASupportToolbarTitleTextColor">?attr/colorTextColor</item>
|
||||
<item name="attrASupportToolbarStartColor">?attr/colorPrimaryDark</item>
|
||||
<item name="attrASupportToolbarCenterColor">?attr/colorPrimary</item>
|
||||
<item name="attrASupportToolbarEndColor">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="TaoAESTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="colorTextColor">#FF000000</item>
|
||||
<item name="colorPrimary">#FF9F9F9F</item>
|
||||
<item name="colorPrimaryDark">#FF5E5E5E</item>
|
||||
<item name="colorAccent">#FFD9D9D9</item>
|
||||
<item name="android:textColor">#FF000000</item>
|
||||
<item name="aToolbar">@style/TaoAToolbar</item>
|
||||
<item name="aSupportToolbar">@style/TaoASupportToolbar</item>
|
||||
</style>
|
||||
|
||||
<style name="TaoAToolbar">
|
||||
<item name="attrAToolbarTitleTextColor">?attr/colorTextColor</item>
|
||||
<item name="attrAToolbarStartColor">?attr/colorPrimaryDark</item>
|
||||
<item name="attrAToolbarCenterColor">?attr/colorPrimary</item>
|
||||
<item name="attrAToolbarEndColor">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="TaoASupportToolbar">
|
||||
<item name="attrASupportToolbarTitleTextColor">?attr/colorTextColor</item>
|
||||
<item name="attrASupportToolbarStartColor">?attr/colorPrimaryDark</item>
|
||||
<item name="attrASupportToolbarCenterColor">?attr/colorPrimary</item>
|
||||
<item name="attrASupportToolbarEndColor">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<!--<style name="AToolbar">
|
||||
<item name="attrAToolbarTitleTextColor">#FF2DDA27</item>
|
||||
<item name="attrAToolbarStartColor">#FF2DDA27</item>
|
||||
<item name="attrAToolbarCenterColor">#FF2DDA27</item>
|
||||
<item name="attrAToolbarEndColor">#FF2DDA27</item>
|
||||
</style>-->
|
||||
|
||||
<!--对话框的样式-->
|
||||
<style name="NormalDialogStyle">
|
||||
<!--对话框背景 -->
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<!--边框 -->
|
||||
<item name="android:windowFrame">@null</item>
|
||||
<!--没有标题 -->
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<!-- 是否浮现在Activity之上 -->
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<!--背景透明 -->
|
||||
<item name="android:windowIsTranslucent">false</item>
|
||||
<!-- 是否有覆盖 -->
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<!--进出的显示动画 -->
|
||||
<item name="android:windowAnimationStyle">@style/cornerDialogAnim</item>
|
||||
<!--背景变暗-->
|
||||
<item name="android:backgroundDimEnabled">true</item>
|
||||
</style>
|
||||
<!--对话框动画,中间弹出-->
|
||||
<style name="centerDialogAnim" parent="android:Animation">
|
||||
<item name="@android:windowEnterAnimation">@anim/normal_dialog_enter_center</item>
|
||||
<item name="@android:windowExitAnimation">@anim/normal_dialog_exit_center</item>
|
||||
</style>
|
||||
<!--对话框动画,角落弹出-->
|
||||
<style name="cornerDialogAnim" parent="android:Animation">
|
||||
<item name="@android:windowEnterAnimation">@anim/normal_dialog_enter_corner</item>
|
||||
<item name="@android:windowExitAnimation">@anim/normal_dialog_exit_corner</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user