feat: 容器统一加灰色边框,borderCornerRadius 属性统一管理圆角
创建通用灰色边框 drawable(5 模块各一份):
- bg_container_border.xml:透明填充 + 1dp #B0B0B0 描边
- 自动应用到 80 个无背景容器的布局文件
深色模式 bg_frame 加边框:
- drawable-night/bg_frame.xml(mymessagemanager + aes):
背景 shape 添加 1dp #666666 描边,保留渐变蒙版
统一圆角为 6dp(borderCornerRadius 属性化):
- 5 模块 attrs.xml 声明 borderCornerRadius(dimension)
- 12 个主题(6 普通 + 6 深色)设置 borderCornerRadius=6dp
- 12 个 drawable 文件约 40 处 corners 改用 ?attr/borderCornerRadius
(bg_frame / bg_frame_black/white / bg_shadow / bg_border_round
bg_toolbar_log / acard_frame_main / atoolbar_frame / ohpcts_frame
bg_container_border 等)
- 3 个 Java 自定义控件(AToolbar / ASupportToolbar / AboutView)
从硬编码 px 改为读取 ?attr/borderCornerRadius
受益布局模块:libaes / libappbase / appbase / mymessagemanager / aes / winboll
This commit is contained in:
@@ -10,11 +10,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="#0F000000"
|
android:endColor="#0F000000"
|
||||||
android:startColor="#0F000000" />
|
android:startColor="#0F000000" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<item
|
<item
|
||||||
@@ -27,11 +23,10 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="#00000000"
|
android:endColor="#00000000"
|
||||||
android:startColor="#1AFFFFFF" />
|
android:startColor="#1AFFFFFF" />
|
||||||
<corners
|
<stroke
|
||||||
android:bottomLeftRadius="6dip"
|
android:width="1dp"
|
||||||
android:bottomRightRadius="6dip"
|
android:color="#FF666666" />
|
||||||
android:topLeftRadius="6dip"
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
@@ -12,11 +12,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="#0F000000"
|
android:endColor="#0F000000"
|
||||||
android:startColor="#0F000000" />
|
android:startColor="#0F000000" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<!-- 背景部分 -->
|
<!-- 背景部分 -->
|
||||||
@@ -31,11 +27,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="#0FFFFFFF"
|
android:endColor="#0FFFFFFF"
|
||||||
android:startColor="#FFFFFFFF" />
|
android:startColor="#FFFFFFFF" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ADsControlView
|
<cc.winboll.studio.libaes.views.ADsControlView
|
||||||
android:id="@+id/ads_control_view"
|
android:id="@+id/ads_control_view"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
6
appbase/src/main/res/drawable/bg_container_border.xml
Normal file
6
appbase/src/main/res/drawable/bg_container_border.xml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
||||||
|
<solid android:color="@android:color/transparent" />
|
||||||
|
<stroke android:width="1dp" android:color="#FFB0B0B0" />
|
||||||
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
|
</shape>
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<android.widget.Toolbar
|
<android.widget.Toolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:padding="16dp">
|
android:padding="16dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<android.widget.Toolbar
|
<android.widget.Toolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -14,14 +14,14 @@
|
|||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0">
|
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:spacing="12dp">
|
android:spacing="12dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
<attr name="borderCornerRadius" format="dimension" />
|
||||||
<declare-styleable name="AboutView">
|
<declare-styleable name="AboutView">
|
||||||
<attr name="app_name" format="string" />
|
<attr name="app_name" format="string" />
|
||||||
<attr name="app_apkfoldername" format="string" />
|
<attr name="app_apkfoldername" format="string" />
|
||||||
|
|||||||
@@ -49,6 +49,10 @@ public class ASupportToolbar extends Toolbar {
|
|||||||
// 工具栏描边
|
// 工具栏描边
|
||||||
int nStroke = 5;
|
int nStroke = 5;
|
||||||
|
|
||||||
|
TypedArray taBorder = getContext().obtainStyledAttributes(new int[]{R.attr.borderCornerRadius});
|
||||||
|
float cornerRadius = taBorder.getDimension(0, 6 * getResources().getDisplayMetrics().density);
|
||||||
|
taBorder.recycle();
|
||||||
|
|
||||||
//分别为开始颜色,中间夜色,结束颜色
|
//分别为开始颜色,中间夜色,结束颜色
|
||||||
int colors0[] = { mEndColor , mCenterColor, mStartColor};
|
int colors0[] = { mEndColor , mCenterColor, mStartColor};
|
||||||
GradientDrawable gradientDrawable0;
|
GradientDrawable gradientDrawable0;
|
||||||
@@ -57,7 +61,7 @@ public class ASupportToolbar extends Toolbar {
|
|||||||
gradientDrawable0.setShape(GradientDrawable.RECTANGLE);
|
gradientDrawable0.setShape(GradientDrawable.RECTANGLE);
|
||||||
gradientDrawable0.setColors(colors0); //添加颜色组
|
gradientDrawable0.setColors(colors0); //添加颜色组
|
||||||
gradientDrawable0.setGradientType(GradientDrawable.LINEAR_GRADIENT);//设置线性渐变
|
gradientDrawable0.setGradientType(GradientDrawable.LINEAR_GRADIENT);//设置线性渐变
|
||||||
gradientDrawable0.setCornerRadius(20);
|
gradientDrawable0.setCornerRadius(cornerRadius);
|
||||||
|
|
||||||
int colors1[] = { mCenterColor , mCenterColor, mCenterColor };
|
int colors1[] = { mCenterColor , mCenterColor, mCenterColor };
|
||||||
GradientDrawable gradientDrawable1;
|
GradientDrawable gradientDrawable1;
|
||||||
@@ -66,7 +70,7 @@ public class ASupportToolbar extends Toolbar {
|
|||||||
gradientDrawable1.setShape(GradientDrawable.RECTANGLE);
|
gradientDrawable1.setShape(GradientDrawable.RECTANGLE);
|
||||||
gradientDrawable1.setColors(colors1); //添加颜色组
|
gradientDrawable1.setColors(colors1); //添加颜色组
|
||||||
gradientDrawable1.setGradientType(GradientDrawable.LINEAR_GRADIENT);//设置线性渐变
|
gradientDrawable1.setGradientType(GradientDrawable.LINEAR_GRADIENT);//设置线性渐变
|
||||||
gradientDrawable1.setCornerRadius(20);
|
gradientDrawable1.setCornerRadius(cornerRadius);
|
||||||
|
|
||||||
int colors2[] = { mEndColor, mCenterColor, mStartColor };
|
int colors2[] = { mEndColor, mCenterColor, mStartColor };
|
||||||
GradientDrawable gradientDrawable2;
|
GradientDrawable gradientDrawable2;
|
||||||
@@ -75,7 +79,7 @@ public class ASupportToolbar extends Toolbar {
|
|||||||
gradientDrawable2.setShape(GradientDrawable.RECTANGLE);
|
gradientDrawable2.setShape(GradientDrawable.RECTANGLE);
|
||||||
gradientDrawable2.setColors(colors2); //添加颜色组
|
gradientDrawable2.setColors(colors2); //添加颜色组
|
||||||
gradientDrawable2.setGradientType(GradientDrawable.LINEAR_GRADIENT);//设置线性渐变
|
gradientDrawable2.setGradientType(GradientDrawable.LINEAR_GRADIENT);//设置线性渐变
|
||||||
gradientDrawable2.setCornerRadius(20);
|
gradientDrawable2.setCornerRadius(cornerRadius);
|
||||||
|
|
||||||
ld = new LayerDrawable(array); //参数为上面的Drawable数组
|
ld = new LayerDrawable(array); //参数为上面的Drawable数组
|
||||||
ld.setLayerInset(2, nStroke * 2, nStroke * 2, getWidth() + nStroke * 2, getHeight() + nStroke * 2);
|
ld.setLayerInset(2, nStroke * 2, nStroke * 2, getWidth() + nStroke * 2, getHeight() + nStroke * 2);
|
||||||
|
|||||||
@@ -51,6 +51,10 @@ public class AToolbar extends Toolbar {
|
|||||||
// 工具栏描边
|
// 工具栏描边
|
||||||
int nStroke = 5;
|
int nStroke = 5;
|
||||||
|
|
||||||
|
TypedArray taBorder = getContext().obtainStyledAttributes(new int[]{R.attr.borderCornerRadius});
|
||||||
|
float cornerRadius = taBorder.getDimension(0, 6 * getResources().getDisplayMetrics().density);
|
||||||
|
taBorder.recycle();
|
||||||
|
|
||||||
//分别为开始颜色,中间夜色,结束颜色
|
//分别为开始颜色,中间夜色,结束颜色
|
||||||
int colors0[] = { mEndColor , mCenterColor, mStartColor};
|
int colors0[] = { mEndColor , mCenterColor, mStartColor};
|
||||||
GradientDrawable gradientDrawable0;
|
GradientDrawable gradientDrawable0;
|
||||||
@@ -59,7 +63,7 @@ public class AToolbar extends Toolbar {
|
|||||||
gradientDrawable0.setShape(GradientDrawable.RECTANGLE);
|
gradientDrawable0.setShape(GradientDrawable.RECTANGLE);
|
||||||
gradientDrawable0.setColors(colors0); //添加颜色组
|
gradientDrawable0.setColors(colors0); //添加颜色组
|
||||||
gradientDrawable0.setGradientType(GradientDrawable.LINEAR_GRADIENT);//设置线性渐变
|
gradientDrawable0.setGradientType(GradientDrawable.LINEAR_GRADIENT);//设置线性渐变
|
||||||
gradientDrawable0.setCornerRadius(20);
|
gradientDrawable0.setCornerRadius(cornerRadius);
|
||||||
|
|
||||||
int colors1[] = { mCenterColor , mCenterColor, mCenterColor };
|
int colors1[] = { mCenterColor , mCenterColor, mCenterColor };
|
||||||
GradientDrawable gradientDrawable1;
|
GradientDrawable gradientDrawable1;
|
||||||
@@ -68,7 +72,7 @@ public class AToolbar extends Toolbar {
|
|||||||
gradientDrawable1.setShape(GradientDrawable.RECTANGLE);
|
gradientDrawable1.setShape(GradientDrawable.RECTANGLE);
|
||||||
gradientDrawable1.setColors(colors1); //添加颜色组
|
gradientDrawable1.setColors(colors1); //添加颜色组
|
||||||
gradientDrawable1.setGradientType(GradientDrawable.LINEAR_GRADIENT);//设置线性渐变
|
gradientDrawable1.setGradientType(GradientDrawable.LINEAR_GRADIENT);//设置线性渐变
|
||||||
gradientDrawable1.setCornerRadius(20);
|
gradientDrawable1.setCornerRadius(cornerRadius);
|
||||||
|
|
||||||
int colors2[] = { mEndColor, mCenterColor, mStartColor };
|
int colors2[] = { mEndColor, mCenterColor, mStartColor };
|
||||||
GradientDrawable gradientDrawable2;
|
GradientDrawable gradientDrawable2;
|
||||||
@@ -77,7 +81,7 @@ public class AToolbar extends Toolbar {
|
|||||||
gradientDrawable2.setShape(GradientDrawable.RECTANGLE);
|
gradientDrawable2.setShape(GradientDrawable.RECTANGLE);
|
||||||
gradientDrawable2.setColors(colors2); //添加颜色组
|
gradientDrawable2.setColors(colors2); //添加颜色组
|
||||||
gradientDrawable2.setGradientType(GradientDrawable.LINEAR_GRADIENT);//设置线性渐变
|
gradientDrawable2.setGradientType(GradientDrawable.LINEAR_GRADIENT);//设置线性渐变
|
||||||
gradientDrawable2.setCornerRadius(20);
|
gradientDrawable2.setCornerRadius(cornerRadius);
|
||||||
|
|
||||||
|
|
||||||
ld = new LayerDrawable(array); //参数为上面的Drawable数组
|
ld = new LayerDrawable(array); //参数为上面的Drawable数组
|
||||||
|
|||||||
@@ -13,11 +13,7 @@
|
|||||||
android:startColor="@color/colorACardShadow"
|
android:startColor="@color/colorACardShadow"
|
||||||
android:centerColor="@color/colorACardShadow"
|
android:centerColor="@color/colorACardShadow"
|
||||||
android:endColor="@color/colorACardShadow"/>
|
android:endColor="@color/colorACardShadow"/>
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<!-- 边框部分 -->
|
<!-- 边框部分 -->
|
||||||
@@ -32,11 +28,7 @@
|
|||||||
android:startColor="@color/colorACardFrame"
|
android:startColor="@color/colorACardFrame"
|
||||||
android:centerColor="@color/colorACardFrame"
|
android:centerColor="@color/colorACardFrame"
|
||||||
android:endColor="@color/colorACardFrame"/>
|
android:endColor="@color/colorACardFrame"/>
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<!-- 背景主体部分 -->
|
<!-- 背景主体部分 -->
|
||||||
@@ -52,11 +44,7 @@
|
|||||||
android:startColor="@color/colorACardBackgroung"
|
android:startColor="@color/colorACardBackgroung"
|
||||||
android:centerColor="@color/colorACardBackgroung"
|
android:centerColor="@color/colorACardBackgroung"
|
||||||
android:endColor="@color/colorACardBackgroung"/>
|
android:endColor="@color/colorACardBackgroung"/>
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
@@ -13,11 +13,7 @@
|
|||||||
android:startColor="?attr/attrAToolbarEndColor"
|
android:startColor="?attr/attrAToolbarEndColor"
|
||||||
android:centerColor="?attr/attrAToolbarCenterColor"
|
android:centerColor="?attr/attrAToolbarCenterColor"
|
||||||
android:endColor="?attr/attrAToolbarStartColor"/>
|
android:endColor="?attr/attrAToolbarStartColor"/>
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<!-- 边框部分 -->
|
<!-- 边框部分 -->
|
||||||
@@ -32,11 +28,7 @@
|
|||||||
android:startColor="?attr/attrAToolbarCenterColor"
|
android:startColor="?attr/attrAToolbarCenterColor"
|
||||||
android:centerColor="?attr/attrAToolbarCenterColor"
|
android:centerColor="?attr/attrAToolbarCenterColor"
|
||||||
android:endColor="?attr/attrAToolbarCenterColor"/>
|
android:endColor="?attr/attrAToolbarCenterColor"/>
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<!-- 背景主体部分 -->
|
<!-- 背景主体部分 -->
|
||||||
@@ -52,11 +44,7 @@
|
|||||||
android:startColor="?attr/attrAToolbarStartColor"
|
android:startColor="?attr/attrAToolbarStartColor"
|
||||||
android:centerColor="?attr/attrAToolbarCenterColor"
|
android:centerColor="?attr/attrAToolbarCenterColor"
|
||||||
android:endColor="?attr/attrAToolbarEndColor"/>
|
android:endColor="?attr/attrAToolbarEndColor"/>
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
6
libaes/src/main/res/drawable/bg_container_border.xml
Normal file
6
libaes/src/main/res/drawable/bg_container_border.xml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
||||||
|
<solid android:color="@android:color/transparent" />
|
||||||
|
<stroke android:width="1dp" android:color="#FFB0B0B0" />
|
||||||
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
|
</shape>
|
||||||
@@ -12,11 +12,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="#0F000000"
|
android:endColor="#0F000000"
|
||||||
android:startColor="#0F000000" />
|
android:startColor="#0F000000" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<!-- 背景部分 -->
|
<!-- 背景部分 -->
|
||||||
@@ -31,11 +27,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="@color/colorAccent"
|
android:endColor="@color/colorAccent"
|
||||||
android:startColor="@color/colorAccent" />
|
android:startColor="@color/colorAccent" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
android:startColor="@color/colorOHPCTSBackground"
|
android:startColor="@color/colorOHPCTSBackground"
|
||||||
android:centerColor="@color/colorOHPCTSBackground"
|
android:centerColor="@color/colorOHPCTSBackground"
|
||||||
android:endColor="@color/colorOHPCTSBackground"/>
|
android:endColor="@color/colorOHPCTSBackground"/>
|
||||||
<corners android:radius="6dip"/>
|
<corners android:radius="?attr/borderCornerRadius"/>
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<!-- 第二进度条 -->
|
<!-- 第二进度条 -->
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
android:startColor="@color/colorOHPCTSSecondaryProgress"
|
android:startColor="@color/colorOHPCTSSecondaryProgress"
|
||||||
android:centerColor="@color/colorOHPCTSSecondaryProgress"
|
android:centerColor="@color/colorOHPCTSSecondaryProgress"
|
||||||
android:endColor="@color/colorOHPCTSSecondaryProgress"/>
|
android:endColor="@color/colorOHPCTSSecondaryProgress"/>
|
||||||
<corners android:radius="6dip"/>
|
<corners android:radius="?attr/borderCornerRadius"/>
|
||||||
</shape>
|
</shape>
|
||||||
</clip>
|
</clip>
|
||||||
</item>
|
</item>
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
android:startColor="@color/colorOHPCTSProgress"
|
android:startColor="@color/colorOHPCTSProgress"
|
||||||
android:centerColor="@color/colorOHPCTSProgress"
|
android:centerColor="@color/colorOHPCTSProgress"
|
||||||
android:endColor="@color/colorOHPCTSProgress"/>
|
android:endColor="@color/colorOHPCTSProgress"/>
|
||||||
<corners android:radius="6dip"/>
|
<corners android:radius="?attr/borderCornerRadius"/>
|
||||||
</shape>
|
</shape>
|
||||||
</clip>
|
</clip>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -16,6 +16,6 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0"
|
android:layout_weight="1.0"
|
||||||
android:id="@+id/aboutviewroot_ll"/>
|
android:id="@+id/aboutviewroot_ll" android:background="@drawable/bg_container_border" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -19,13 +19,13 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0"
|
android:layout_weight="1.0"
|
||||||
android:id="@+id/activitydrawerLinearLayout1"/>
|
android:id="@+id/activitydrawerLinearLayout1" android:background="@drawable/bg_container_border" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<com.baoyz.widget.PullRefreshLayout
|
<com.baoyz.widget.PullRefreshLayout
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0">
|
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<androidx.drawerlayout.widget.DrawerLayout
|
<androidx.drawerlayout.widget.DrawerLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:id="@+id/activitydrawerfragmentFrameLayout1"/>
|
android:id="@+id/activitydrawerfragmentFrameLayout1" android:background="@drawable/bg_container_border" />
|
||||||
|
|
||||||
<com.baoyz.widget.PullRefreshLayout
|
<com.baoyz.widget.PullRefreshLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -4,12 +4,12 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:id="@+id/activitytestaboutfragmentFrameLayout1"/>
|
android:id="@+id/activitytestaboutfragmentFrameLayout1" android:background="@drawable/bg_container_border" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.AToolbar
|
<cc.winboll.studio.libaes.views.AToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_marginBottom="20dp">
|
android:layout_marginBottom="20dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:gravity="end">
|
android:gravity="end" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/btn_disagree"
|
android:id="@+id/btn_disagree"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="end">
|
android:gravity="end" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:gravity="center_vertical">
|
android:gravity="center_vertical" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
android:layout_height="60dp"
|
android:layout_height="60dp"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:id="@+id/fragmentviewpageLinearLayout1">
|
android:id="@+id/fragmentviewpageLinearLayout1" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="48dp"
|
android:layout_height="48dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
|
|||||||
@@ -4,12 +4,12 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:id="@+id/ads_container"
|
android:id="@+id/ads_container"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/ads_container"
|
android:id="@+id/ads_container"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"/>
|
android:orientation="vertical" android:background="@drawable/bg_container_border" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="16dp">
|
android:padding="16dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:layout_marginTop="0dp"> <!-- 移除顶部多余间距 -->
|
android:layout_marginTop="0dp"> <!-- 移除顶部多余间距 -- android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/iv_winboll_store"
|
android:id="@+id/iv_winboll_store"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:gravity="center">
|
android:gravity="center" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center">
|
android:gravity="center" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.AOHPCTCSeekBar
|
<cc.winboll.studio.libaes.views.AOHPCTCSeekBar
|
||||||
android:layout_width="300dp"
|
android:layout_width="300dp"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
|
<attr name="borderCornerRadius" format="dimension" />
|
||||||
<attr name="colorTextColor" format="color" />
|
<attr name="colorTextColor" format="color" />
|
||||||
<attr name="colorPrimary" format="color" />
|
<attr name="colorPrimary" format="color" />
|
||||||
<attr name="colorPrimaryDark" format="color" />
|
<attr name="colorPrimaryDark" format="color" />
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ package cc.winboll.studio.libappbase.views;
|
|||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.pm.PackageManager;
|
import android.content.pm.PackageManager;
|
||||||
|
import android.content.res.TypedArray;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.util.AttributeSet;
|
import android.util.AttributeSet;
|
||||||
import android.view.Gravity;
|
import android.view.Gravity;
|
||||||
@@ -421,8 +422,11 @@ public class AboutView extends LinearLayout {
|
|||||||
*/
|
*/
|
||||||
private android.graphics.drawable.Drawable create_item_background() {
|
private android.graphics.drawable.Drawable create_item_background() {
|
||||||
android.graphics.drawable.GradientDrawable drawable = new android.graphics.drawable.GradientDrawable();
|
android.graphics.drawable.GradientDrawable drawable = new android.graphics.drawable.GradientDrawable();
|
||||||
|
TypedArray taBorder = mItemContext.obtainStyledAttributes(new int[]{R.attr.borderCornerRadius});
|
||||||
|
float cornerRadius = taBorder.getDimension(0, 6 * mItemContext.getResources().getDisplayMetrics().density);
|
||||||
|
taBorder.recycle();
|
||||||
drawable.setStroke(1, mItemContext.getResources().getColor(R.color.gray_200));
|
drawable.setStroke(1, mItemContext.getResources().getColor(R.color.gray_200));
|
||||||
drawable.setCornerRadius(4);
|
drawable.setCornerRadius(cornerRadius);
|
||||||
drawable.setColor(mItemContext.getResources().getColor(android.R.color.white));
|
drawable.setColor(mItemContext.getResources().getColor(android.R.color.white));
|
||||||
return drawable;
|
return drawable;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,9 +5,5 @@
|
|||||||
android:width="1dp"
|
android:width="1dp"
|
||||||
android:color="#000000" /> <!-- 这里可调整边框宽度和颜色 -->
|
android:color="#000000" /> <!-- 这里可调整边框宽度和颜色 -->
|
||||||
<solid android:color="@android:color/transparent" />
|
<solid android:color="@android:color/transparent" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
|
|||||||
6
libappbase/src/main/res/drawable/bg_container_border.xml
Normal file
6
libappbase/src/main/res/drawable/bg_container_border.xml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
||||||
|
<solid android:color="@android:color/transparent" />
|
||||||
|
<stroke android:width="1dp" android:color="#FFB0B0B0" />
|
||||||
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
|
</shape>
|
||||||
@@ -12,11 +12,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="@color/colorPrimary"
|
android:endColor="@color/colorPrimary"
|
||||||
android:startColor="@color/colorPrimary" />
|
android:startColor="@color/colorPrimary" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<!-- 背景部分 -->
|
<!-- 背景部分 -->
|
||||||
@@ -31,11 +27,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="@color/colorPrimary"
|
android:endColor="@color/colorPrimary"
|
||||||
android:startColor="@color/colorPrimary" />
|
android:startColor="@color/colorPrimary" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<android.widget.Toolbar
|
<android.widget.Toolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -16,5 +16,5 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0"
|
android:layout_weight="1.0"
|
||||||
android:id="@+id/aboutviewroot_ll"/>
|
android:id="@+id/aboutviewroot_ll" android:background="@drawable/bg_container_border" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libappbase.GlobalCrashReportView
|
<cc.winboll.studio.libappbase.GlobalCrashReportView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libappbase.LogView
|
<cc.winboll.studio.libappbase.LogView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/et_sign_fingerprint"
|
android:id="@+id/et_sign_fingerprint"
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:gravity="end">
|
android:gravity="end" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<!-- 取消按钮 -->
|
<!-- 取消按钮 -->
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<ScrollView
|
<ScrollView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
android:paddingLeft="16dp"
|
android:paddingLeft="16dp"
|
||||||
android:paddingTop="16dp"
|
android:paddingTop="16dp"
|
||||||
android:paddingRight="16dp"
|
android:paddingRight="16dp"
|
||||||
android:paddingBottom="16dp">
|
android:paddingBottom="16dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libappbase.views.DebugSwitchImageView
|
<cc.winboll.studio.libappbase.views.DebugSwitchImageView
|
||||||
android:id="@+id/iv_app_icon"
|
android:id="@+id/iv_app_icon"
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
android:id="@+id/ll_function_container"
|
android:id="@+id/ll_function_container"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"/>
|
android:orientation="vertical" android:background="@drawable/bg_container_border" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:spacing="20dp">
|
android:spacing="20dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:layout_width="48dp"
|
android:layout_width="48dp"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:id="@+id/viewglobalcrashreportLinearLayout1">
|
android:id="@+id/viewglobalcrashreportLinearLayout1" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<android.widget.Toolbar
|
<android.widget.Toolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -15,11 +15,11 @@
|
|||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0">
|
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<HorizontalScrollView
|
<HorizontalScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -121,7 +121,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1.0"
|
android:layout_weight="1.0"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_below="@+id/viewlogLinearLayout1">
|
android:layout_below="@+id/viewlogLinearLayout1" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
|
<attr name="borderCornerRadius" format="dimension" />
|
||||||
<attr name="themeGlobalCrashActivity" format="reference"/>
|
<attr name="themeGlobalCrashActivity" format="reference"/>
|
||||||
|
|
||||||
<declare-styleable name="GlobalCrashActivity">
|
<declare-styleable name="GlobalCrashActivity">
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="#0F000000"
|
android:endColor="#0F000000"
|
||||||
android:startColor="#0F000000" />
|
android:startColor="#0F000000" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<item
|
<item
|
||||||
@@ -27,11 +23,10 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="#00000000"
|
android:endColor="#00000000"
|
||||||
android:startColor="#1AFFFFFF" />
|
android:startColor="#1AFFFFFF" />
|
||||||
<corners
|
<stroke
|
||||||
android:bottomLeftRadius="6dip"
|
android:width="1dp"
|
||||||
android:bottomRightRadius="6dip"
|
android:color="#FF666666" />
|
||||||
android:topLeftRadius="6dip"
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
||||||
|
<solid android:color="@android:color/transparent" />
|
||||||
|
<stroke android:width="1dp" android:color="#FFB0B0B0" />
|
||||||
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
|
</shape>
|
||||||
@@ -12,11 +12,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="#0F000000"
|
android:endColor="#0F000000"
|
||||||
android:startColor="#0F000000" />
|
android:startColor="#0F000000" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<!-- 背景部分 -->
|
<!-- 背景部分 -->
|
||||||
@@ -31,11 +27,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="#0FFFFFFF"
|
android:endColor="#0FFFFFFF"
|
||||||
android:startColor="#FFFFFFFF" />
|
android:startColor="#FFFFFFFF" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
@@ -12,11 +12,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="#0F000000"
|
android:endColor="#0F000000"
|
||||||
android:startColor="#0F000000" />
|
android:startColor="#0F000000" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<!-- 背景部分 -->
|
<!-- 背景部分 -->
|
||||||
@@ -31,11 +27,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="#AF000000"
|
android:endColor="#AF000000"
|
||||||
android:startColor="#AF000000" />
|
android:startColor="#AF000000" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
@@ -12,11 +12,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="#0FFFFFFF"
|
android:endColor="#0FFFFFFF"
|
||||||
android:startColor="#0FFFFFFF" />
|
android:startColor="#0FFFFFFF" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<!-- 背景部分 -->
|
<!-- 背景部分 -->
|
||||||
@@ -31,11 +27,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="#CFFFFFFF"
|
android:endColor="#CFFFFFFF"
|
||||||
android:startColor="#CFFFFFFF" />
|
android:startColor="#CFFFFFFF" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -16,6 +16,6 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0"
|
android:layout_weight="1.0"
|
||||||
android:id="@+id/aboutviewroot_ll"/>
|
android:id="@+id/aboutviewroot_ll" android:background="@drawable/bg_container_border" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.AToolbar
|
<cc.winboll.studio.libaes.views.AToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -15,13 +15,13 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0"
|
android:layout_weight="1.0"
|
||||||
android:padding="4dp">
|
android:padding="4dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:spacing="12dp">
|
android:spacing="12dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:layout_marginLeft="5dp">
|
android:layout_marginLeft="5dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:layout_marginLeft="5dp"
|
android:layout_marginLeft="5dp"
|
||||||
android:layout_marginRight="5dp">
|
android:layout_marginRight="5dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -210,7 +210,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:layout_marginLeft="5dp">
|
android:layout_marginLeft="5dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -267,7 +267,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:layout_marginLeft="5dp"
|
android:layout_marginLeft="5dp"
|
||||||
android:layout_marginRight="5dp">
|
android:layout_marginRight="5dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@@ -301,7 +301,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="right"
|
android:gravity="right"
|
||||||
android:layout_marginTop="10dp">
|
android:layout_marginTop="10dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.AToolbar
|
<cc.winboll.studio.libaes.views.AToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:id="@+id/activitycomposesmsRelativeLayout1">
|
android:id="@+id/activitycomposesmsRelativeLayout1" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_marginRight="10dp"
|
android:layout_marginRight="10dp"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="10dp"
|
||||||
android:layout_alignParentLeft="true">
|
android:layout_alignParentLeft="true" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_vertical">
|
android:gravity="center_vertical" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
android:layout_weight="1.0">
|
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<!-- 关键修改:添加 listSelector 属性,关联选中样式 -->
|
<!-- 关键修改:添加 listSelector 属性,关联选中样式 -->
|
||||||
<ListView
|
<ListView
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.mymessagemanager.views.ConfirmSwitchView
|
<cc.winboll.studio.mymessagemanager.views.ConfirmSwitchView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0">
|
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<com.baoyz.widget.PullRefreshLayout
|
<com.baoyz.widget.PullRefreshLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:id="@+id/activitymainScrollView1">
|
android:id="@+id/activitymainScrollView1" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.mymessagemanager.views.PhoneListViewForScrollView
|
<cc.winboll.studio.mymessagemanager.views.PhoneListViewForScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.AToolbar
|
<cc.winboll.studio.libaes.views.AToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0">
|
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.AToolbar
|
<cc.winboll.studio.libaes.views.AToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -14,13 +14,13 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0"
|
android:layout_weight="1.0"
|
||||||
android:id="@+id/activitysmsScrollView2">
|
android:id="@+id/activitysmsScrollView2" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:id="@+id/activitysmsLinearLayout1">
|
android:id="@+id/activitysmsLinearLayout1" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.mymessagemanager.views.BottomPositionFixedScrollView
|
<cc.winboll.studio.mymessagemanager.views.BottomPositionFixedScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0">
|
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:layout_above="@+id/activityttsplayruleLinearLayout2"
|
android:layout_above="@+id/activityttsplayruleLinearLayout2"
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="234dp"
|
android:layout_height="234dp"
|
||||||
android:id="@+id/activityttsplayruleLinearLayout1"/>
|
android:id="@+id/activityttsplayruleLinearLayout1" android:background="@drawable/bg_container_border" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
@@ -45,22 +45,22 @@
|
|||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal">
|
android:layout_gravity="center_horizontal" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal">
|
android:layout_gravity="center_horizontal" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -113,7 +113,7 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal">
|
android:layout_gravity="center_horizontal" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -134,7 +134,7 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center">
|
android:gravity="center" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -4,17 +4,17 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="10dp">
|
android:padding="10dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<!-- 新增:自定义ProtectModeTextView -->
|
<!-- 新增:自定义ProtectModeTextView -->
|
||||||
<cc.winboll.studio.mymessagemanager.views.ProtectModeTextView
|
<cc.winboll.studio.mymessagemanager.views.ProtectModeTextView
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="right">
|
android:gravity="right" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -13,12 +13,12 @@
|
|||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
android:layout_marginBottom="10dp"
|
android:layout_marginBottom="10dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:id="@+id/itemttsplayruleLinearLayout1">
|
android:id="@+id/itemttsplayruleLinearLayout1" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -13,12 +13,12 @@
|
|||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
android:layout_marginBottom="10dp"
|
android:layout_marginBottom="10dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:id="@+id/itemttsplayrulesimpleLinearLayout1">
|
android:id="@+id/itemttsplayrulesimpleLinearLayout1" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="16dp">
|
android:padding="16dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tv_content"
|
android:id="@+id/tv_content"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="32dp"
|
android:layout_width="32dp"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
android:layout_marginBottom="10dp"
|
android:layout_marginBottom="10dp"
|
||||||
android:gravity="right"
|
android:gravity="right"
|
||||||
android:id="@+id/listviewsmspart1LinearLayout1">
|
android:id="@+id/listviewsmspart1LinearLayout1" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.mymessagemanager.views.DateAgoTextView
|
<cc.winboll.studio.mymessagemanager.views.DateAgoTextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_vertical">
|
android:gravity="center_vertical" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="end">
|
android:gravity="end" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_centerVertical="true">
|
android:layout_centerVertical="true" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_vertical">
|
android:gravity="center_vertical" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="32dp"
|
android:layout_width="32dp"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:padding="5dp">
|
android:padding="5dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:padding="10dp">
|
android:padding="10dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.mymessagemanager.views.TTSRuleView
|
<cc.winboll.studio.mymessagemanager.views.TTSRuleView
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:id="@+id/remoteviewLinearLayout1">
|
android:id="@+id/remoteviewLinearLayout1" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="60dp"
|
android:layout_width="60dp"
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_vertical">
|
android:gravity="center_vertical" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="10dp">
|
android:padding="10dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
android:gravity="center_horizontal">
|
android:gravity="center_horizontal" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<style name="MyAppTheme" parent="AESTheme">
|
<style name="MyAppTheme" parent="AESTheme">
|
||||||
|
<item name="borderCornerRadius">6dp</item>
|
||||||
<item name="android:windowBackground">@color/window_background</item>
|
<item name="android:windowBackground">@color/window_background</item>
|
||||||
<item name="android:textColorPrimary">@color/text_color_primary_default</item>
|
<item name="android:textColorPrimary">@color/text_color_primary_default</item>
|
||||||
<item name="textColorPrimary">@color/text_color_primary_default</item>
|
<item name="textColorPrimary">@color/text_color_primary_default</item>
|
||||||
@@ -10,6 +11,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="MyDepthAESTheme" parent="DepthAESTheme">
|
<style name="MyDepthAESTheme" parent="DepthAESTheme">
|
||||||
|
<item name="borderCornerRadius">6dp</item>
|
||||||
<item name="android:windowBackground">@color/window_background</item>
|
<item name="android:windowBackground">@color/window_background</item>
|
||||||
<item name="android:textColorPrimary">@color/text_color_primary_depth</item>
|
<item name="android:textColorPrimary">@color/text_color_primary_depth</item>
|
||||||
<item name="textColorPrimary">@color/text_color_primary_depth</item>
|
<item name="textColorPrimary">@color/text_color_primary_depth</item>
|
||||||
@@ -18,6 +20,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="MySkyAESTheme" parent="SkyAESTheme">
|
<style name="MySkyAESTheme" parent="SkyAESTheme">
|
||||||
|
<item name="borderCornerRadius">6dp</item>
|
||||||
<item name="android:windowBackground">@color/window_background</item>
|
<item name="android:windowBackground">@color/window_background</item>
|
||||||
<item name="android:textColorPrimary">@color/text_color_primary_sky</item>
|
<item name="android:textColorPrimary">@color/text_color_primary_sky</item>
|
||||||
<item name="textColorPrimary">@color/text_color_primary_sky</item>
|
<item name="textColorPrimary">@color/text_color_primary_sky</item>
|
||||||
@@ -26,6 +29,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="MyGoldenAESTheme" parent="GoldenAESTheme">
|
<style name="MyGoldenAESTheme" parent="GoldenAESTheme">
|
||||||
|
<item name="borderCornerRadius">6dp</item>
|
||||||
<item name="android:windowBackground">@color/window_background</item>
|
<item name="android:windowBackground">@color/window_background</item>
|
||||||
<item name="android:textColorPrimary">@color/text_color_primary_golden</item>
|
<item name="android:textColorPrimary">@color/text_color_primary_golden</item>
|
||||||
<item name="textColorPrimary">@color/text_color_primary_golden</item>
|
<item name="textColorPrimary">@color/text_color_primary_golden</item>
|
||||||
@@ -34,6 +38,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="MyMemorAESTheme" parent="MemorAESTheme">
|
<style name="MyMemorAESTheme" parent="MemorAESTheme">
|
||||||
|
<item name="borderCornerRadius">6dp</item>
|
||||||
<item name="android:windowBackground">@color/window_background</item>
|
<item name="android:windowBackground">@color/window_background</item>
|
||||||
<item name="android:textColorPrimary">@color/text_color_primary_memor</item>
|
<item name="android:textColorPrimary">@color/text_color_primary_memor</item>
|
||||||
<item name="textColorPrimary">@color/text_color_primary_memor</item>
|
<item name="textColorPrimary">@color/text_color_primary_memor</item>
|
||||||
@@ -42,6 +47,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="MyTaoAESTheme" parent="TaoAESTheme">
|
<style name="MyTaoAESTheme" parent="TaoAESTheme">
|
||||||
|
<item name="borderCornerRadius">6dp</item>
|
||||||
<item name="android:windowBackground">@color/window_background</item>
|
<item name="android:windowBackground">@color/window_background</item>
|
||||||
<item name="android:textColorPrimary">@color/text_color_primary_tao</item>
|
<item name="android:textColorPrimary">@color/text_color_primary_tao</item>
|
||||||
<item name="textColorPrimary">@color/text_color_primary_tao</item>
|
<item name="textColorPrimary">@color/text_color_primary_tao</item>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<!--<attr name="appTheme" format="reference"/>-->
|
<!--<attr name="appTheme" format="reference"/>-->
|
||||||
|
<attr name="borderCornerRadius" format="dimension" />
|
||||||
<attr name="textColorPrimary" format="color" />
|
<attr name="textColorPrimary" format="color" />
|
||||||
<declare-styleable name="SMSView">
|
<declare-styleable name="SMSView">
|
||||||
<attr name="attrSMSType" format="string"/>
|
<attr name="attrSMSType" format="string"/>
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<style name="MyAppTheme" parent="AESTheme">
|
<style name="MyAppTheme" parent="AESTheme">
|
||||||
|
<item name="borderCornerRadius">6dp</item>
|
||||||
<item name="android:textSize">20sp</item>
|
<item name="android:textSize">20sp</item>
|
||||||
<item name="android:windowBackground">@color/window_background</item>
|
<item name="android:windowBackground">@color/window_background</item>
|
||||||
<item name="android:textColorPrimary">@color/text_color_primary_default</item>
|
<item name="android:textColorPrimary">@color/text_color_primary_default</item>
|
||||||
@@ -15,6 +16,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<style name="MyDepthAESTheme" parent="DepthAESTheme">
|
<style name="MyDepthAESTheme" parent="DepthAESTheme">
|
||||||
|
<item name="borderCornerRadius">6dp</item>
|
||||||
<item name="android:textSize">20sp</item>
|
<item name="android:textSize">20sp</item>
|
||||||
<item name="android:windowBackground">@color/window_background</item>
|
<item name="android:windowBackground">@color/window_background</item>
|
||||||
<item name="android:textColorPrimary">@color/text_color_primary_depth</item>
|
<item name="android:textColorPrimary">@color/text_color_primary_depth</item>
|
||||||
@@ -27,6 +29,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="MySkyAESTheme" parent="SkyAESTheme">
|
<style name="MySkyAESTheme" parent="SkyAESTheme">
|
||||||
|
<item name="borderCornerRadius">6dp</item>
|
||||||
<item name="android:textSize">20sp</item>
|
<item name="android:textSize">20sp</item>
|
||||||
<item name="android:windowBackground">@color/window_background</item>
|
<item name="android:windowBackground">@color/window_background</item>
|
||||||
<item name="android:textColorPrimary">@color/text_color_primary_sky</item>
|
<item name="android:textColorPrimary">@color/text_color_primary_sky</item>
|
||||||
@@ -39,6 +42,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="MyGoldenAESTheme" parent="GoldenAESTheme">
|
<style name="MyGoldenAESTheme" parent="GoldenAESTheme">
|
||||||
|
<item name="borderCornerRadius">6dp</item>
|
||||||
<item name="android:textSize">20sp</item>
|
<item name="android:textSize">20sp</item>
|
||||||
<item name="android:windowBackground">@color/window_background</item>
|
<item name="android:windowBackground">@color/window_background</item>
|
||||||
<item name="android:textColorPrimary">@color/text_color_primary_golden</item>
|
<item name="android:textColorPrimary">@color/text_color_primary_golden</item>
|
||||||
@@ -51,6 +55,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="MyMemorAESTheme" parent="MemorAESTheme">
|
<style name="MyMemorAESTheme" parent="MemorAESTheme">
|
||||||
|
<item name="borderCornerRadius">6dp</item>
|
||||||
<item name="android:textSize">20sp</item>
|
<item name="android:textSize">20sp</item>
|
||||||
<item name="android:windowBackground">@color/window_background</item>
|
<item name="android:windowBackground">@color/window_background</item>
|
||||||
<item name="android:textColorPrimary">@color/text_color_primary_memor</item>
|
<item name="android:textColorPrimary">@color/text_color_primary_memor</item>
|
||||||
@@ -63,6 +68,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="MyTaoAESTheme" parent="TaoAESTheme">
|
<style name="MyTaoAESTheme" parent="TaoAESTheme">
|
||||||
|
<item name="borderCornerRadius">6dp</item>
|
||||||
<item name="android:textSize">20sp</item>
|
<item name="android:textSize">20sp</item>
|
||||||
<item name="android:windowBackground">@color/window_background</item>
|
<item name="android:windowBackground">@color/window_background</item>
|
||||||
<item name="android:textColorPrimary">@color/text_color_primary_tao</item>
|
<item name="android:textColorPrimary">@color/text_color_primary_tao</item>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="16dp">
|
android:padding="16dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/btnSend"
|
android:id="@+id/btnSend"
|
||||||
|
|||||||
6
winboll/src/main/res/drawable/bg_container_border.xml
Normal file
6
winboll/src/main/res/drawable/bg_container_border.xml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
||||||
|
<solid android:color="@android:color/transparent" />
|
||||||
|
<stroke android:width="1dp" android:color="#FFB0B0B0" />
|
||||||
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
|
</shape>
|
||||||
@@ -12,11 +12,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="#0F000000"
|
android:endColor="#0F000000"
|
||||||
android:startColor="#0F000000" />
|
android:startColor="#0F000000" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<!-- 背景部分 -->
|
<!-- 背景部分 -->
|
||||||
@@ -31,11 +27,7 @@
|
|||||||
android:angle="270"
|
android:angle="270"
|
||||||
android:endColor="@color/colorAccent"
|
android:endColor="@color/colorAccent"
|
||||||
android:startColor="@color/colorAccent" />
|
android:startColor="@color/colorAccent" />
|
||||||
<corners
|
<corners android:radius="?attr/borderCornerRadius" />
|
||||||
android:bottomLeftRadius="6dip"
|
|
||||||
android:bottomRightRadius="6dip"
|
|
||||||
android:topLeftRadius="6dip"
|
|
||||||
android:topRightRadius="6dip" />
|
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
android:layout_gravity="right"
|
android:layout_gravity="right"
|
||||||
android:gravity="right"
|
android:gravity="right"
|
||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
android:id="@+id/ll_hostbar">
|
android:id="@+id/ll_hostbar" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="right">
|
android:gravity="right" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0">
|
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libappbase.LogView
|
<cc.winboll.studio.libappbase.LogView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -4,14 +4,14 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0"
|
android:layout_weight="1.0"
|
||||||
android:gravity="center_vertical|center_horizontal">
|
android:gravity="center_vertical|center_horizontal" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0">
|
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libappbase.LogView
|
<cc.winboll.studio.libappbase.LogView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="top">
|
android:gravity="top" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<androidx.appcompat.widget.Toolbar
|
<androidx.appcompat.widget.Toolbar
|
||||||
android:id="@+id/toolbar"
|
android:id="@+id/toolbar"
|
||||||
@@ -20,27 +20,27 @@
|
|||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0">
|
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<HorizontalScrollView
|
<HorizontalScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1.0">
|
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.winboll.views.TermuxButton
|
<cc.winboll.studio.winboll.views.TermuxButton
|
||||||
android:id="@+id/btn_termux"
|
android:id="@+id/btn_termux"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<androidx.appcompat.widget.Toolbar
|
<androidx.appcompat.widget.Toolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<androidx.appcompat.widget.Toolbar
|
<androidx.appcompat.widget.Toolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<androidx.core.widget.NestedScrollView
|
<androidx.core.widget.NestedScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="16dp">
|
android:padding="16dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -83,7 +83,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:weightSum="2">
|
android:weightSum="2" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/etTemperature"
|
android:id="@+id/etTemperature"
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -151,7 +151,7 @@
|
|||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/etAssistantMessage"
|
android:id="@+id/etAssistantMessage"
|
||||||
@@ -182,7 +182,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="48dp"
|
android:layout_marginBottom="48dp"
|
||||||
android:gravity="center">
|
android:gravity="center" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/btnSend"
|
android:id="@+id/btnSend"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<cc.winboll.studio.libaes.views.ASupportToolbar
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="right">
|
android:gravity="right" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:textAllCaps="false"
|
android:textAllCaps="false"
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0">
|
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="20dp"
|
android:padding="20dp"
|
||||||
android:gravity="center_horizontal">
|
android:gravity="center_horizontal" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/btn_init_sdk"
|
android:id="@+id/btn_init_sdk"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<android.widget.Toolbar
|
<android.widget.Toolbar
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -13,21 +13,21 @@
|
|||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0">
|
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:gravity="center">
|
android:gravity="center" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0"
|
android:layout_weight="1.0"
|
||||||
android:gravity="center_horizontal">
|
android:gravity="center_horizontal" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -41,13 +41,13 @@
|
|||||||
|
|
||||||
<HorizontalScrollView
|
<HorizontalScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="right|center_vertical"
|
android:gravity="right|center_vertical"
|
||||||
android:layout_width="wrap_content">
|
android:layout_width="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<CheckBox
|
<CheckBox
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -78,18 +78,18 @@
|
|||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="400dp">
|
android:layout_height="400dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="right">
|
android:gravity="right" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -109,12 +109,12 @@
|
|||||||
|
|
||||||
<HorizontalScrollView
|
<HorizontalScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -143,12 +143,12 @@
|
|||||||
|
|
||||||
<HorizontalScrollView
|
<HorizontalScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:gravity="center_horizontal"
|
android:gravity="center_horizontal"
|
||||||
android:padding="20dp">
|
android:padding="20dp" android:background="@drawable/bg_container_border">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user