mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-22 19:06:06 +08:00
添加安卓端基本功能
This commit is contained in:
85
android/app/src/main/res/layout/fragment_profile.xml
Normal file
85
android/app/src/main/res/layout/fragment_profile.xml
Normal file
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright (C) 2019 xuexiangjys(xuexiangjys@163.com)
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
~
|
||||
-->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.scwang.smartrefresh.layout.SmartRefreshLayout style="@style/PullDownStyle">
|
||||
|
||||
<androidx.core.widget.NestedScrollView style="@style/ScrollViewStyle">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="20dp">
|
||||
|
||||
<com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
||||
style="@style/InfoItem.Account"
|
||||
android:layout_height="60dp"
|
||||
app:sLeftTextString="头像">
|
||||
|
||||
<com.xuexiang.xui.widget.imageview.RadiusImageView
|
||||
android:id="@+id/riv_head_pic"
|
||||
style="@style/RadiusImageView.Circle"
|
||||
android:layout_width="38dp"
|
||||
android:layout_height="38dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toStartOf="@id/sRightImgId"
|
||||
app:srcCompat="@drawable/ic_default_head" />
|
||||
|
||||
</com.xuexiang.xui.widget.textview.supertextview.SuperTextView>
|
||||
|
||||
<com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
||||
style="@style/InfoItem.Account"
|
||||
app:sLeftTextString="账号" />
|
||||
|
||||
<com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
||||
android:id="@+id/menu_message"
|
||||
style="@style/InfoItem.Account"
|
||||
app:sLeftTextString="消息" />
|
||||
|
||||
<com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
||||
style="@style/InfoItem.Account"
|
||||
app:sDividerLineType="none"
|
||||
app:sLeftTextString="收藏" />
|
||||
|
||||
|
||||
<com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
||||
android:id="@+id/menu_feedback"
|
||||
style="@style/InfoItem.Account"
|
||||
android:layout_marginTop="20dp"
|
||||
app:sLeftTextString="意见反馈" />
|
||||
|
||||
<com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
||||
android:id="@+id/menu_settings"
|
||||
style="@style/InfoItem.Account"
|
||||
app:sLeftTextString="设置" />
|
||||
|
||||
<com.xuexiang.xui.widget.textview.supertextview.SuperTextView
|
||||
android:id="@+id/menu_about"
|
||||
style="@style/InfoItem.Account"
|
||||
app:sDividerLineType="none"
|
||||
app:sLeftTextString="关于" />
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user