Skip to content
项目
Groups
代码片段
帮助
正在加载...
Sign in / Register
Toggle navigation
W
workoffice
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图表
统计图
Create a new issue
作业
提交
议题看板
Open sidebar
冷广德
workoffice
Commits
799bdfbb
提交
799bdfbb
authored
3月 18, 2020
作者:
lgd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.我的主页面
2.//TODO erp用户激活,忘记密码测试,bat,mes,消息,我的,刷新token
上级
5c3b17ff
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
384 行增加
和
171 行删除
+384
-171
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+1
-1
MainActivity.java
...main/java/com/wd/workoffice/ui/activity/MainActivity.java
+5
-8
MyFragment.java
app/src/main/java/com/wd/workoffice/ui/fg/MyFragment.java
+61
-0
fg_home.xml
app/src/main/res/layout/fg_home.xml
+155
-144
fg_my.xml
app/src/main/res/layout/fg_my.xml
+154
-0
arrow_right_my.png
app/src/main/res/mipmap-xhdpi/arrow_right_my.png
+0
-0
my_info.png
app/src/main/res/mipmap-xhdpi/my_info.png
+0
-0
my_role.png
app/src/main/res/mipmap-xhdpi/my_role.png
+0
-0
my_setting.png
app/src/main/res/mipmap-xhdpi/my_setting.png
+0
-0
styles.xml
app/src/main/res/values/styles.xml
+8
-18
没有找到文件。
app/src/main/AndroidManifest.xml
浏览文件 @
799bdfbb
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
android:label=
"@string/app_name"
android:label=
"@string/app_name"
android:roundIcon=
"@mipmap/ic_launcher_round"
android:roundIcon=
"@mipmap/ic_launcher_round"
android:supportsRtl=
"true"
android:supportsRtl=
"true"
android:theme=
"@style/
FlexibleTheme
.Base"
android:theme=
"@style/
Work
.Base"
android:usesCleartextTraffic=
"true"
>
android:usesCleartextTraffic=
"true"
>
<activity
<activity
android:name=
".ui.activity.MainActivity"
android:name=
".ui.activity.MainActivity"
...
...
app/src/main/java/com/wd/workoffice/ui/activity/MainActivity.java
浏览文件 @
799bdfbb
...
@@ -12,11 +12,13 @@ import android.widget.RelativeLayout;
...
@@ -12,11 +12,13 @@ import android.widget.RelativeLayout;
import
com.ashokvarma.bottomnavigation.BottomNavigationBar
;
import
com.ashokvarma.bottomnavigation.BottomNavigationBar
;
import
com.ashokvarma.bottomnavigation.BottomNavigationItem
;
import
com.ashokvarma.bottomnavigation.BottomNavigationItem
;
import
com.ashokvarma.bottomnavigation.TextBadgeItem
;
import
com.ashokvarma.bottomnavigation.TextBadgeItem
;
import
com.qmuiteam.qmui.util.QMUIStatusBarHelper
;
import
com.wd.workoffice.R
;
import
com.wd.workoffice.R
;
import
com.wd.workoffice.app.WorkBaseActivity
;
import
com.wd.workoffice.app.WorkBaseActivity
;
import
com.wd.workoffice.ui.activity.login.LoginActivity
;
import
com.wd.workoffice.ui.activity.login.LoginActivity
;
import
com.wd.workoffice.ui.adapter.VpMainAdapter
;
import
com.wd.workoffice.ui.adapter.VpMainAdapter
;
import
com.wd.workoffice.ui.fg.MainFragment
;
import
com.wd.workoffice.ui.fg.MainFragment
;
import
com.wd.workoffice.ui.fg.MyFragment
;
import
com.wd.workoffice.util.UserKeeper
;
import
com.wd.workoffice.util.UserKeeper
;
import
org.greenrobot.eventbus.EventBus
;
import
org.greenrobot.eventbus.EventBus
;
...
@@ -55,13 +57,8 @@ public class MainActivity extends WorkBaseActivity implements BottomNavigationBa
...
@@ -55,13 +57,8 @@ public class MainActivity extends WorkBaseActivity implements BottomNavigationBa
return
;
return
;
}
}
ButterKnife
.
bind
(
this
);
ButterKnife
.
bind
(
this
);
// if (Build.VERSION.SDK_INT >= 21) {
QMUIStatusBarHelper
.
translucent
(
this
);
// View decorView = getWindow().getDecorView();
QMUIStatusBarHelper
.
setStatusBarLightMode
(
this
);
// int option = View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
// | View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR;
// decorView.setSystemUiVisibility(option);
// getWindow().setStatusBarColor(Color.TRANSPARENT);
// }
bnbMainBottomBar
.
setMode
(
BottomNavigationBar
.
MODE_FIXED
);
bnbMainBottomBar
.
setMode
(
BottomNavigationBar
.
MODE_FIXED
);
bnbMainBottomBar
.
setBackgroundStyle
(
BottomNavigationBar
.
BACKGROUND_STYLE_STATIC
);
bnbMainBottomBar
.
setBackgroundStyle
(
BottomNavigationBar
.
BACKGROUND_STYLE_STATIC
);
bnbMainBottomBar
.
setBackgroundColor
(
getResources
().
getColor
(
R
.
color
.
white
));
bnbMainBottomBar
.
setBackgroundColor
(
getResources
().
getColor
(
R
.
color
.
white
));
...
@@ -131,7 +128,7 @@ public class MainActivity extends WorkBaseActivity implements BottomNavigationBa
...
@@ -131,7 +128,7 @@ public class MainActivity extends WorkBaseActivity implements BottomNavigationBa
fragments
.
add
(
new
MainFragment
());
fragments
.
add
(
new
MainFragment
());
fragments
.
add
(
new
MainFragment
());
fragments
.
add
(
new
MainFragment
());
fragments
.
add
(
new
MainFragment
());
fragments
.
add
(
new
MainFragment
());
fragments
.
add
(
new
M
ain
Fragment
());
fragments
.
add
(
new
M
y
Fragment
());
return
fragments
;
return
fragments
;
}
}
...
...
app/src/main/java/com/wd/workoffice/ui/fg/MyFragment.java
0 → 100644
浏览文件 @
799bdfbb
package
com
.
wd
.
workoffice
.
ui
.
fg
;
import
android.view.View
;
import
android.widget.TextView
;
import
com.chad.library.adapter.base.BaseQuickAdapter
;
import
com.scwang.smartrefresh.layout.SmartRefreshLayout
;
import
com.wd.workoffice.R
;
import
com.wd.workoffice.app.BaseBean
;
import
com.wd.workoffice.app.WorkBaseFg
;
import
com.wd.workoffice.bean.vo.BatLayoutVo
;
import
com.wd.workoffice.retrofit.RtfUtils
;
import
com.wd.workoffice.retrofit.WorkObserver
;
import
com.wd.workoffice.ui.activity.bat.StoreCrucibleActivity
;
import
com.wd.workoffice.ui.activity.bat.StoreOutsourcingActivity
;
import
com.wd.workoffice.ui.activity.bat.StoreSaleActivity
;
import
com.wd.workoffice.ui.activity.bat.StoreSupplierActivity
;
import
com.wd.workoffice.ui.activity.bat.StoreTradingActivity
;
import
com.wd.workoffice.ui.adapter.BatLayoutAdapter
;
import
com.wd.workoffice.util.UserKeeper
;
import
java.util.ArrayList
;
import
java.util.List
;
import
androidx.recyclerview.widget.GridLayoutManager
;
import
androidx.recyclerview.widget.RecyclerView
;
import
butterknife.BindView
;
import
butterknife.ButterKnife
;
import
flexible.xd.android_base.network.rtfhttp.Transformer
;
import
io.reactivex.disposables.Disposable
;
/**
* author : flexible
* email : lgd19940421@163.com
* github: https://github.com/FlexibleXd
**/
public
class
MyFragment
extends
WorkBaseFg
{
@Override
protected
void
initView
()
{
}
@Override
protected
void
initData
()
{
}
@Override
protected
void
initEvent
()
{
}
@Override
protected
int
layoutId
()
{
return
R
.
layout
.
fg_my
;
}
}
app/src/main/res/layout/fg_home.xml
浏览文件 @
799bdfbb
...
@@ -3,175 +3,185 @@
...
@@ -3,175 +3,185 @@
android:id=
"@+id/srl_refresh"
android:id=
"@+id/srl_refresh"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
<LinearLayout
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"48mm"
android:layout_height=
"match_parent"
android:background=
"@color/white"
android:orientation=
"vertical"
>
android:gravity=
"center"
>
<ImageView
android:layout_width=
"45mm"
android:layout_height=
"20mm"
android:layout_centerHorizontal=
"true"
android:background=
"@mipmap/bat_icon"
/>
</LinearLayout>
<androidx.core.widget.NestedScrollView
<View
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"25mm"
android:background=
"@color/white"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"48mm"
android:orientation=
"vertical"
>
android:background=
"@color/white"
android:gravity=
"center"
>
<ImageView
<ImageView
android:layout_width=
"match_parent"
android:layout_width=
"45mm"
android:layout_height=
"180mm"
android:layout_height=
"20mm"
android:background=
"@mipmap/bat_bg"
/>
android:layout_centerHorizontal=
"true"
android:background=
"@mipmap/bat_icon"
/>
</LinearLayout>
<androidx.core.widget.NestedScrollView
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<
Relative
Layout
<
Linear
Layout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_cont
ent"
android:layout_height=
"
match_par
ent"
android:
padding=
"12mm
"
>
android:
orientation=
"vertical
"
>
<ImageView
<ImageView
android:layout_width=
"24mm"
android:layout_width=
"match_parent"
android:layout_height=
"24mm"
android:layout_height=
"180mm"
android:background=
"@mipmap/bat_notice"
/>
android:background=
"@mipmap/bat_bg"
/>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:padding=
"12mm"
>
<ImageView
android:layout_width=
"24mm"
android:layout_height=
"24mm"
android:background=
"@mipmap/bat_notice"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerVertical=
"true"
android:layout_marginLeft=
"30mm"
android:text=
"通知公告"
android:textSize=
"14sp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:layout_centerVertical=
"true"
android:layout_marginRight=
"24mm"
android:text=
"更多"
android:textColor=
"@color/flexible_text_sup"
android:textSize=
"12sp"
android:textStyle=
"bold"
/>
<ImageView
android:layout_width=
"12mm"
android:layout_height=
"12mm"
android:layout_alignParentRight=
"true"
android:layout_centerVertical=
"true"
android:layout_marginRight=
"10mm"
android:background=
"@mipmap/bat_arrow"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8mm"
>
<View
android:layout_width=
"6mm"
android:layout_height=
"6mm"
android:layout_centerVertical=
"true"
android:layout_marginLeft=
"20mm"
android:background=
"@drawable/shap_circle"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"36mm"
android:text=
"关于元旦假期安排的通知。"
android:textColor=
"#333333"
/>
</RelativeLayout>
<TextView
<TextView
android:layout_width=
"wrap_content"
android:id=
"@+id/tv_store"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerVertical=
"true"
android:paddingHorizontal=
"20mm"
android:layout_marginLeft=
"30mm"
android:paddingVertical=
"30mm"
android:text=
"通知公告"
android:text=
"商店"
android:textSize=
"14sp"
android:textColor=
"@color/mainTextColor"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/rv_store"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"20mm"
/>
<TextView
<TextView
android:layout_width=
"
wrap_cont
ent"
android:layout_width=
"
match_par
ent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:paddingHorizontal=
"20mm"
android:layout_centerVertical=
"true"
android:paddingVertical=
"30mm"
android:layout_marginRight=
"24mm"
android:text=
"销售部门"
android:text=
"更多"
android:textColor=
"@color/mainTextColor"
android:textColor=
"@color/flexible_text_sup"
android:textSize=
"20sp"
android:textSize=
"12sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
<ImageView
<androidx.recyclerview.widget.RecyclerView
android:layout_width=
"12mm"
android:id=
"@+id/rv_sale"
android:layout_height=
"12mm"
android:layout_width=
"match_parent"
android:layout_alignParentRight=
"true"
android:layout_height=
"wrap_content"
android:layout_centerVertical=
"true"
android:paddingHorizontal=
"20mm"
/>
android:layout_marginRight=
"10mm"
android:background=
"@mipmap/bat_arrow"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8mm"
>
<View
<TextView
android:layout_width=
"6mm"
android:layout_width=
"match_parent"
android:layout_height=
"6mm"
android:layout_height=
"wrap_content"
android:layout_centerVertical=
"true"
android:paddingHorizontal=
"20mm"
android:layout_marginLeft=
"20mm"
android:paddingVertical=
"30mm"
android:background=
"@drawable/shap_circle"
/>
android:text=
"生产部门"
android:textColor=
"@color/mainTextColor"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/rv_product"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"20mm"
/>
<TextView
<TextView
android:layout_width=
"
wrap_cont
ent"
android:layout_width=
"
match_par
ent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"36mm"
android:paddingHorizontal=
"20mm"
android:text=
"关于元旦假期安排的通知。"
android:paddingVertical=
"30mm"
android:textColor=
"#333333"
/>
android:text=
"审批"
</RelativeLayout>
android:textColor=
"@color/mainTextColor"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<TextView
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/tv_store"
android:id=
"@+id/rv_approval"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"20mm"
android:paddingHorizontal=
"20mm"
/>
android:paddingVertical=
"30mm"
android:text=
"商店"
<TextView
android:textColor=
"@color/mainTextColor"
android:layout_width=
"match_parent"
android:textSize=
"20sp"
android:layout_height=
"wrap_content"
android:textStyle=
"bold"
/>
android:paddingHorizontal=
"20mm"
android:paddingVertical=
"30mm"
<androidx.recyclerview.widget.RecyclerView
android:text=
"工作台"
android:id=
"@+id/rv_store"
android:textColor=
"@color/mainTextColor"
android:layout_width=
"match_parent"
android:textSize=
"20sp"
android:layout_height=
"wrap_content"
android:textStyle=
"bold"
/>
android:paddingHorizontal=
"20mm"
/>
<TextView
<androidx.recyclerview.widget.RecyclerView
android:layout_width=
"match_parent"
android:id=
"@+id/rv_work"
android:layout_height=
"wrap_content"
android:layout_width=
"match_parent"
android:paddingHorizontal=
"20mm"
android:layout_height=
"wrap_content"
android:paddingVertical=
"30mm"
android:paddingHorizontal=
"20mm"
/>
android:text=
"销售部门"
</LinearLayout>
android:textColor=
"@color/mainTextColor"
</androidx.core.widget.NestedScrollView>
android:textSize=
"20sp"
</LinearLayout>
android:textStyle=
"bold"
/>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/rv_sale"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"20mm"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"20mm"
android:paddingVertical=
"30mm"
android:text=
"生产部门"
android:textColor=
"@color/mainTextColor"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/rv_product"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"20mm"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"20mm"
android:paddingVertical=
"30mm"
android:text=
"审批"
android:textColor=
"@color/mainTextColor"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/rv_approval"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"20mm"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"20mm"
android:paddingVertical=
"30mm"
android:text=
"工作台"
android:textColor=
"@color/mainTextColor"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/rv_work"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"20mm"
/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</LinearLayout>
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
\ No newline at end of file
app/src/main/res/layout/fg_my.xml
0 → 100644
浏览文件 @
799bdfbb
<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"#526D83"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
android:paddingBottom=
"20mm"
>
<ImageView
android:id=
"@+id/my_image"
android:layout_width=
"70mm"
android:layout_height=
"70mm"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"76mm"
android:background=
"@mipmap/ic_launcher_round"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8mm"
android:text=
"李金逸"
android:textColor=
"@color/white"
android:textSize=
"18sp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"2mm"
android:text=
"销售一部门/管理员"
android:textColor=
"#ffdde2e6"
android:textSize=
"13sp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"2mm"
android:text=
"NO.YG0025644"
android:textColor=
"#ffdde2e6"
android:textSize=
"12sp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10mm"
android:background=
"@color/white"
android:orientation=
"vertical"
>
<LinearLayout
style=
"@style/llStyle"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
<ImageView
android:layout_width=
"24mm"
android:layout_height=
"24mm"
android:background=
"@mipmap/my_role"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_marginLeft=
"@dimen/dp_10"
android:layout_weight=
"3"
android:text=
"我的权限"
android:textSize=
"16sp"
/>
<ImageView
android:layout_width=
"20mm"
android:layout_height=
"20mm"
android:background=
"@mipmap/arrow_right_my"
/>
</LinearLayout>
<View
style=
"@style/dividerX"
android:layout_marginHorizontal=
"26mm"
/>
<LinearLayout
style=
"@style/llStyle"
android:gravity=
"center_vertical"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<ImageView
android:layout_width=
"24mm"
android:layout_height=
"24mm"
android:background=
"@mipmap/my_info"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_marginLeft=
"@dimen/dp_10"
android:layout_weight=
"3"
android:text=
"个人资料"
android:textSize=
"16sp"
/>
<ImageView
android:layout_width=
"20mm"
android:layout_height=
"20mm"
android:background=
"@mipmap/arrow_right_my"
/>
</LinearLayout>
<View
style=
"@style/dividerX"
android:layout_marginHorizontal=
"26mm"
/>
<LinearLayout
style=
"@style/llStyle"
android:gravity=
"center_vertical"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<ImageView
android:layout_width=
"24mm"
android:layout_height=
"24mm"
android:background=
"@mipmap/my_setting"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_marginLeft=
"@dimen/dp_10"
android:layout_weight=
"3"
android:text=
"系统设置"
android:textSize=
"16sp"
/>
<ImageView
android:layout_width=
"20mm"
android:layout_height=
"20mm"
android:background=
"@mipmap/arrow_right_my"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
\ No newline at end of file
app/src/main/res/mipmap-xhdpi/arrow_right_my.png
0 → 100644
浏览文件 @
799bdfbb
266 Bytes
app/src/main/res/mipmap-xhdpi/my_info.png
0 → 100644
浏览文件 @
799bdfbb
1.1 KB
app/src/main/res/mipmap-xhdpi/my_role.png
0 → 100644
浏览文件 @
799bdfbb
2.3 KB
app/src/main/res/mipmap-xhdpi/my_setting.png
0 → 100644
浏览文件 @
799bdfbb
1.8 KB
app/src/main/res/values/styles.xml
浏览文件 @
799bdfbb
...
@@ -73,6 +73,14 @@
...
@@ -73,6 +73,14 @@
<item
name=
"android:textSize"
>
14sp
</item>
<item
name=
"android:textSize"
>
14sp
</item>
<item
name=
"android:textColor"
>
@android:color/white
</item>
<item
name=
"android:textColor"
>
@android:color/white
</item>
</style>
</style>
<!-- 我的页面-->
<style
name=
"llStyle"
>
<item
name=
"android:textSize"
>
14sp
</item>
<item
name=
"android:background"
>
?android:attr/selectableItemBackground
</item>
<item
name=
"android:paddingVertical"
>
16mm
</item>
<item
name=
"android:paddingHorizontal"
>
26mm
</item>
</style>
<!-- 自定义下边框控件风格-->
<!-- 自定义下边框控件风格-->
<style
name=
"Custom"
/>
<style
name=
"Custom"
/>
...
@@ -89,24 +97,6 @@
...
@@ -89,24 +97,6 @@
<item
name=
"android:layout_marginBottom"
>
5mm
</item>
<item
name=
"android:layout_marginBottom"
>
5mm
</item>
<!--<item name="android:textColor">@drawable/tab_text_color_select</item>-->
<!--<item name="android:textColor">@drawable/tab_text_color_select</item>-->
</style>
</style>
<!-- Dialog样式-->
<style
name=
"DialogTheme"
parent=
"@android:style/Theme.Dialog"
>
<!-- 边框 -->
<item
name=
"android:windowFrame"
>
@null
</item>
<!-- 是否浮现在activity之上 -->
<item
name=
"android:windowIsFloating"
>
true
</item>
<!-- 半透明 -->
<item
name=
"android:windowIsTranslucent"
>
true
</item>
<!-- 无标题 -->
<item
name=
"android:windowNoTitle"
>
true
</item>
<item
name=
"android:background"
>
@android:color/transparent
</item>
<!-- 背景透明 -->
<item
name=
"android:windowBackground"
>
@android:color/transparent
</item>
<!-- 模糊 -->
<item
name=
"android:backgroundDimEnabled"
>
true
</item>
<!-- 遮罩层 -->
<item
name=
"android:backgroundDimAmount"
>
0.5
</item>
</style>
<!-- 改变MyEditText颜色 -->
<!-- 改变MyEditText颜色 -->
<!--<style name="MyEditText" parent="Theme.AppCompat.Light">-->
<!--<style name="MyEditText" parent="Theme.AppCompat.Light">-->
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论