|
|
@@ -126,99 +126,128 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/gc_game_app_discount_desc_btn"
|
|
|
+ android:background="@drawable/shape_btn_yellow_one_round"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_width="88dp"
|
|
|
+ android:layout_height="20dp">
|
|
|
+ <TextView
|
|
|
+ android:text="金丹玩法"
|
|
|
+ android:textSize="11sp"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:textColor="@color/black_333333"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="10dp"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:scaleType="centerInside"
|
|
|
+ android:src="@drawable/narrow_back_black"
|
|
|
+ android:tint="@color/black_333333"
|
|
|
+ android:rotation="180" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
<ImageView
|
|
|
android:id="@+id/gc_game_app_detail_icon"
|
|
|
- android:layout_width="106dp"
|
|
|
- android:layout_height="106dp"
|
|
|
+ android:layout_width="62dp"
|
|
|
+ android:layout_height="62dp"
|
|
|
android:layout_marginStart="16dp"
|
|
|
android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
android:src="@drawable/icon_lj"
|
|
|
- app:layout_constraintBottom_toTopOf="@id/gc_game_app_comment_score"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
-
|
|
|
- <android.support.v7.widget.AppCompatRatingBar
|
|
|
- android:id="@+id/gc_game_app_comment_score"
|
|
|
- style="@style/style_rating_bar"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- android:layout_marginBottom="20dp"
|
|
|
- android:isIndicator="true"
|
|
|
- android:numStars="5"
|
|
|
- android:rating="0"
|
|
|
- android:stepSize="0.5"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="@id/gc_game_app_detail_icon"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/gc_game_app_detail_icon" />
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/gc_game_app_detail_score_tv"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="7dp"
|
|
|
+ android:layout_marginRight="40dp"
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
android:textColor="#ffffd042"
|
|
|
- android:textSize="12sp"
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/gc_game_app_comment_score"
|
|
|
- app:layout_constraintStart_toEndOf="@id/gc_game_app_comment_score"
|
|
|
- app:layout_constraintTop_toTopOf="@id/gc_game_app_comment_score" />
|
|
|
+ android:textSize="15sp"
|
|
|
+ android:text="9.5"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/gc_game_app_detail_name"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="23dp"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
android:layout_marginEnd="16dp"
|
|
|
android:gravity="center_vertical"
|
|
|
android:textColor="#ff333333"
|
|
|
- android:textSize="18sp"
|
|
|
- app:layout_constraintBottom_toTopOf="@id/gc_game_app_detail_tag_list"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:textSize="15sp"
|
|
|
+ android:text="舞动乾坤"
|
|
|
app:layout_constraintStart_toEndOf="@id/gc_game_app_detail_icon"
|
|
|
app:layout_constraintTop_toTopOf="@id/gc_game_app_detail_icon" />
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/gc_game_app_hot_iv"
|
|
|
+ android:src="@mipmap/hot"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/gc_game_app_detail_name"
|
|
|
+ android:layout_marginTop="18dp"
|
|
|
+ android:layout_marginStart="3dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="10dp" />
|
|
|
+
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
android:id="@+id/gc_game_app_detail_tag_list"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- app:layout_constraintBottom_toTopOf="@id/gc_game_app_detail_info_tv"
|
|
|
- app:layout_constraintEnd_toEndOf="@id/gc_game_app_detail_name"
|
|
|
- app:layout_constraintStart_toStartOf="@id/gc_game_app_detail_name"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/gc_game_app_detail_name" />
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/gc_game_app_detail_name"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/gc_game_app_detail_name" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/gc_game_app_detail_info_tv"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:lineSpacingExtra="5dp"
|
|
|
+ android:text="1.8万人在玩 | 1.2G"
|
|
|
android:textColor="#ff999999"
|
|
|
android:textSize="12sp"
|
|
|
- app:layout_constraintBottom_toTopOf="@id/gc_game_app_detail_bt1"
|
|
|
- app:layout_constraintEnd_toEndOf="@id/gc_game_app_detail_name"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:layout_marginBottom="16dp"
|
|
|
+ app:layout_constraintEnd_toStartOf="@id/gc_game_app_detail_score_tv"
|
|
|
app:layout_constraintStart_toStartOf="@id/gc_game_app_detail_name"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@id/gc_game_app_detail_tag_list" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/gc_game_app_detail_bt1"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="30dp"
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
android:background="@drawable/selector_button_stroke_main"
|
|
|
android:gravity="center"
|
|
|
android:onClick="onClickFollowTv"
|
|
|
- android:paddingStart="24dp"
|
|
|
- android:paddingEnd="24dp"
|
|
|
+ android:layout_marginEnd="84dp"
|
|
|
android:text="关注"
|
|
|
android:textColor="@color/selector_color_stoke_main_btn"
|
|
|
- android:textSize="14sp"
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/gc_game_app_comment_score"
|
|
|
- app:layout_constraintStart_toStartOf="@id/gc_game_app_detail_name" />
|
|
|
+ android:textSize="13sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/gc_game_app_detail_icon"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/gc_game_app_detail_bt3"
|
|
|
style="@style/style_vip_td_tv"
|
|
|
+ android:textSize="13sp"
|
|
|
+ android:layout_width="66dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
android:visibility="gone"
|
|
|
- android:layout_marginStart="30dp"
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/gc_game_app_comment_score"
|
|
|
- app:layout_constraintStart_toEndOf="@id/gc_game_app_detail_bt1" />
|
|
|
+ android:layout_marginEnd="12dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/gc_game_app_detail_icon"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
@@ -229,7 +258,7 @@
|
|
|
|
|
|
<include
|
|
|
android:id="@+id/gc_game_app_detail_game_list"
|
|
|
- layout="@layout/item_gc_game_app_detail_list"/>
|
|
|
+ layout="@layout/item_gc_game_app_channel_list"/>
|
|
|
|
|
|
<android.support.design.widget.TabLayout
|
|
|
android:id="@+id/tabLayout"
|