推分推荐
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
android:id="@+id/key"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="key"/>
|
||||
android:hint="用户邮箱"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -53,11 +53,11 @@
|
||||
android:id="@+id/safecode"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="安全码"/>
|
||||
android:hint="2fa应用内的6位数字代码(注册不用填)"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.button.MaterialButton android:layout_width="match_parent"
|
||||
android:text="绑定qq机器人"
|
||||
android:text="登录/注册 账号"
|
||||
android:textColor="@android:color/white"
|
||||
|
||||
android:id="@+id/bangding"
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="踩" android:paddingLeft="16sp"
|
||||
android:layout_marginLeft="2mm"
|
||||
android:layout_marginLeft="1mm"
|
||||
android:layout_centerInParent="true"/>
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/list"
|
||||
@@ -166,7 +166,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="16sp"
|
||||
android:text="评论"
|
||||
android:layout_marginLeft="2mm"
|
||||
android:layout_marginLeft="1mm"
|
||||
android:layout_centerInParent="true"/>
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/move"
|
||||
@@ -174,7 +174,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="16sp"
|
||||
android:text="移动"
|
||||
android:layout_marginLeft="2mm"
|
||||
android:layout_marginLeft="1mm"
|
||||
android:layout_centerInParent="true"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout android:layout_width="match_parent" android:paddingLeft="16sp" android:layout_height="wrap_content" android:orientation="horizontal">
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="1.0"
|
||||
app:layout_constraintVertical_bias="0.0"/>
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/fab"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -26,4 +27,95 @@
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent">
|
||||
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
|
||||
android:id="@+id/bottom_sheet"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:minHeight="100dp"
|
||||
android:background="@android:color/white"
|
||||
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
|
||||
<LinearLayout
|
||||
android:id="@+id/bac"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="16dp"
|
||||
tools:ignore="MissingConstraints">
|
||||
|
||||
<!-- 用户头像 -->
|
||||
<ImageView
|
||||
android:id="@+id/useravatar"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginEnd="16dp" />
|
||||
|
||||
<!-- 用户名容器 -->
|
||||
<FrameLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="未绑定"
|
||||
android:textSize="20sp"
|
||||
android:textColor="@color/textcolorPrimary"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center_vertical|start"/> <!-- 距离顶部4dp -->
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
<com.google.android.material.button.MaterialButton android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/login"
|
||||
android:text="登录"
|
||||
android:textColor="@color/white"
|
||||
android:backgroundTint="@color/colorPrimary"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_gravity="center_horizontal"/>
|
||||
<TextView android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textColor="@color/textcolorPrimary"
|
||||
android:text="⭐推分建议⭐"
|
||||
android:padding="8dp"
|
||||
android:id="@+id/su"
|
||||
android:textSize="18sp"/>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/suggestion"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="300dp"
|
||||
app:layout_constraintTop_toTopOf="@id/su"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
android:id="@+id/openQQbot"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="#QQ机器人相关#"
|
||||
android:text="#账号#"
|
||||
android:textColor="@android:color/white"
|
||||
|
||||
android:backgroundTint="?attr/colorPrimary"
|
||||
|
||||
11
app/src/main/res/layout/fullscreen_webview_dialog.xml
Normal file
11
app/src/main/res/layout/fullscreen_webview_dialog.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<WebView
|
||||
android:id="@+id/webView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
58
app/src/main/res/layout/item_suggest_music_rating.xml
Normal file
58
app/src/main/res/layout/item_suggest_music_rating.xml
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView
|
||||
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="wrap_content"
|
||||
app:cardCornerRadius="8dp"
|
||||
app:cardElevation="4dp"
|
||||
android:layout_margin="2dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<!-- 图片部分 -->
|
||||
<ImageView
|
||||
android:id="@+id/backgroundLayout"
|
||||
android:layout_width="140dp"
|
||||
android:layout_height="140dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:layout_alignParentStart="true"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="8dp"
|
||||
android:layout_toEndOf="@id/backgroundLayout"
|
||||
android:layout_centerVertical="true">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/musicName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/level"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/ach"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/achievementImage"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:scaleType="centerInside" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
@@ -34,7 +34,7 @@
|
||||
<string name="navigation_drawer_close">Close navigation drawer</string>
|
||||
<string name="menu_home">主页</string>
|
||||
<string name="menu_gallery">地图</string>
|
||||
<string name="menu_music">歌曲成绩</string>
|
||||
<string name="menu_music">账号</string>
|
||||
<string name="menu_slideshow">设置</string>
|
||||
<string name="nav_header_title">FindMaimaiDX</string>
|
||||
<string name="nav_header_subtitle">Reisa</string>
|
||||
|
||||
Reference in New Issue
Block a user